@shuffl/api-contracts 0.1.0 → 0.2.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.
- package/dist/base.d.ts +3 -5
- package/dist/base.js +6 -10
- package/dist/index.d.ts +9264 -3761
- package/dist/index.js +15 -15
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +600 -92
- package/dist/management.generated.d.ts +11091 -6140
- package/dist/management.generated.js +5823 -1020
- package/dist/permissions.d.ts +199 -51
- package/dist/permissions.js +177 -2
- package/dist/schemas.d.ts +164 -3
- package/dist/schemas.js +68 -3
- package/openapi.json +95657 -40070
- package/package.json +1 -1
package/dist/permissions.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { type Scope } from './base.ts';
|
|
3
3
|
import { managementOperations } from './management-operations.ts';
|
|
4
|
-
declare const foundation: readonly [readonly ['channels.list', 'programs:read', 'read', 'List available Slack channels'], readonly ['commands.get', null, 'read', 'Read your own command receipt'], readonly ['knowledge.context', 'knowledge:read', 'read', 'Read nearby approved passages'], readonly ['knowledge.search', 'knowledge:read', 'read', 'Search approved knowledge'], readonly ['manager.current', 'manager:read', 'read', 'Read your own manager context'], readonly ['permissions.list', null, 'read', 'Discover available and granted permissions'], readonly ['programs.archive', 'programs:write', 'write', 'Archive a program'], readonly ['programs.create', 'programs:write', 'write', 'Create a program'], readonly ['programs.get', 'programs:read', 'read', 'Read a program'], readonly ['programs.list', 'programs:read', 'read', 'List programs'], readonly ['programs.options', 'programs:read', 'read', 'List program setting choices'], readonly ['programs.pause', 'programs:write', 'write', 'Pause a program'], readonly ['programs.preview', 'programs:read', 'read', 'Preview matches without sending'], readonly ['programs.resume', 'programs:write', 'write', 'Activate a program and schedule'], readonly ['programs.syncRoster', 'programs:write', 'write', 'Refresh channel membership'], readonly ['programs.update', 'programs:write', 'write', 'Update a program'], readonly ['runs.get', 'runs:read', 'read', 'Read a run status'], readonly ['runs.request', 'runs:write', 'write', 'Request introductions from a preview'], readonly ['users.get', 'users:read', 'read', 'Read a person'], readonly ['users.list', 'users:read', 'read', 'List people'], readonly ['
|
|
4
|
+
declare const foundation: readonly [readonly ['channels.list', 'programs:read', 'read', 'List available Slack channels'], readonly ['commands.get', null, 'read', 'Read your own command receipt'], readonly ['knowledge.context', 'knowledge:read', 'read', 'Read nearby approved passages'], readonly ['knowledge.search', 'knowledge:read', 'read', 'Search approved knowledge'], readonly ['manager.current', 'manager:read', 'read', 'Read your own manager context'], readonly ['permissions.list', null, 'read', 'Discover available and granted permissions'], readonly ['programs.archive', 'programs:write', 'write', 'Archive a program'], readonly ['programs.create', 'programs:write', 'write', 'Create a program'], readonly ['programs.get', 'programs:read', 'read', 'Read a program'], readonly ['programs.list', 'programs:read', 'read', 'List programs'], readonly ['programs.options', 'programs:read', 'read', 'List program setting choices'], readonly ['programs.pause', 'programs:write', 'write', 'Pause a program'], readonly ['programs.preview', 'programs:read', 'read', 'Preview matches without sending'], readonly ['programs.resume', 'programs:write', 'write', 'Activate a program and schedule'], readonly ['programs.syncRoster', 'programs:write', 'write', 'Refresh channel membership'], readonly ['programs.update', 'programs:write', 'write', 'Update a program'], readonly ['runs.get', 'runs:read', 'read', 'Read a run status'], readonly ['runs.request', 'runs:write', 'write', 'Request introductions from a preview'], readonly ['users.get', 'users:read', 'read', 'Read a person'], readonly ['users.list', 'users:read', 'read', 'List people'], readonly ['teams.current', null, 'read', 'Read this token’s team']];
|
|
5
5
|
declare const protocols: readonly [readonly ['mcp.knowledge', 'knowledge:read', 'read', 'Connect an agent over MCP']];
|
|
6
6
|
export declare const protocolPermissionIds: "mcp.knowledge"[];
|
|
7
7
|
export type Permission = (typeof foundation)[number][0] | (typeof protocols)[number][0] | (typeof managementOperations)[number][0];
|
|
@@ -30,56 +30,84 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
30
30
|
"badges.award": "badges.award";
|
|
31
31
|
"badges.claim": "badges.claim";
|
|
32
32
|
"badges.decideRequest": "badges.decideRequest";
|
|
33
|
+
"badges.generatePicture": "badges.generatePicture";
|
|
33
34
|
"badges.hideOwn": "badges.hideOwn";
|
|
35
|
+
"badges.holders": "badges.holders";
|
|
34
36
|
"badges.list": "badges.list";
|
|
35
37
|
"badges.ofPerson": "badges.ofPerson";
|
|
36
38
|
"badges.request": "badges.request";
|
|
37
39
|
"badges.revoke": "badges.revoke";
|
|
38
40
|
"badges.save": "badges.save";
|
|
41
|
+
"badges.saveSettings": "badges.saveSettings";
|
|
39
42
|
"badges.setHidden": "badges.setHidden";
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"billing.initialize": "billing.initialize";
|
|
45
|
-
"billing.legacy": "billing.legacy";
|
|
46
|
-
"billing.legacyPortal": "billing.legacyPortal";
|
|
47
|
-
"billing.portal": "billing.portal";
|
|
48
|
-
"billing.refresh": "billing.refresh";
|
|
43
|
+
"badges.settings": "badges.settings";
|
|
44
|
+
"badges.uploadPicture": "badges.uploadPicture";
|
|
45
|
+
"celebrations.card": "celebrations.card";
|
|
46
|
+
"celebrations.cards": "celebrations.cards";
|
|
49
47
|
"celebrations.deliveries": "celebrations.deliveries";
|
|
50
48
|
"celebrations.mine": "celebrations.mine";
|
|
51
49
|
"celebrations.preferences": "celebrations.preferences";
|
|
52
50
|
"celebrations.preview": "celebrations.preview";
|
|
53
51
|
"celebrations.program": "celebrations.program";
|
|
54
52
|
"celebrations.refresh": "celebrations.refresh";
|
|
53
|
+
"celebrations.removeCardNote": "celebrations.removeCardNote";
|
|
55
54
|
"celebrations.review": "celebrations.review";
|
|
56
55
|
"celebrations.save": "celebrations.save";
|
|
57
56
|
"celebrations.savePreferences": "celebrations.savePreferences";
|
|
57
|
+
"celebrations.signCard": "celebrations.signCard";
|
|
58
58
|
"channels.list": "channels.list";
|
|
59
59
|
"commands.get": "commands.get";
|
|
60
60
|
"communities.archive": "communities.archive";
|
|
61
|
+
"communities.channelSuggestions": "communities.channelSuggestions";
|
|
62
|
+
"communities.createCapabilities": "communities.createCapabilities";
|
|
63
|
+
"communities.createSlackChannel": "communities.createSlackChannel";
|
|
64
|
+
"communities.fromChannels": "communities.fromChannels";
|
|
65
|
+
"communities.generateCover": "communities.generateCover";
|
|
66
|
+
"communities.invite": "communities.invite";
|
|
61
67
|
"communities.join": "communities.join";
|
|
62
68
|
"communities.leave": "communities.leave";
|
|
63
69
|
"communities.list": "communities.list";
|
|
64
70
|
"communities.members": "communities.members";
|
|
65
71
|
"communities.ofPerson": "communities.ofPerson";
|
|
66
72
|
"communities.removeMember": "communities.removeMember";
|
|
73
|
+
"communities.revokeInvitation": "communities.revokeInvitation";
|
|
67
74
|
"communities.save": "communities.save";
|
|
68
75
|
"communities.setVisibility": "communities.setVisibility";
|
|
69
76
|
"communities.sync": "communities.sync";
|
|
77
|
+
"communities.uploadCover": "communities.uploadCover";
|
|
70
78
|
"credentials.api.create": "credentials.api.create";
|
|
71
79
|
"credentials.api.list": "credentials.api.list";
|
|
72
80
|
"credentials.api.revoke": "credentials.api.revoke";
|
|
73
|
-
"
|
|
81
|
+
"digest.actOnNudge": "digest.actOnNudge";
|
|
82
|
+
"digest.dismissNudge": "digest.dismissNudge";
|
|
83
|
+
"digest.nudge": "digest.nudge";
|
|
84
|
+
"digest.nudges": "digest.nudges";
|
|
85
|
+
"digest.preview": "digest.preview";
|
|
86
|
+
"digest.saveSettings": "digest.saveSettings";
|
|
87
|
+
"digest.settings": "digest.settings";
|
|
88
|
+
"exports.team": "exports.team";
|
|
89
|
+
"getStarted.celebrate": "getStarted.celebrate";
|
|
90
|
+
"getStarted.celebration": "getStarted.celebration";
|
|
91
|
+
"getStarted.dismiss": "getStarted.dismiss";
|
|
92
|
+
"getStarted.draftIntro": "getStarted.draftIntro";
|
|
93
|
+
"getStarted.get": "getStarted.get";
|
|
94
|
+
"getStarted.intro": "getStarted.intro";
|
|
95
|
+
"getStarted.wizard": "getStarted.wizard";
|
|
74
96
|
"home.feed": "home.feed";
|
|
97
|
+
"home.preferences": "home.preferences";
|
|
98
|
+
"home.react": "home.react";
|
|
99
|
+
"home.story": "home.story";
|
|
100
|
+
"hr.categories": "hr.categories";
|
|
75
101
|
"hr.command": "hr.command";
|
|
76
102
|
"hr.configure": "hr.configure";
|
|
77
103
|
"hr.deliver": "hr.deliver";
|
|
78
104
|
"hr.get": "hr.get";
|
|
79
105
|
"hr.list": "hr.list";
|
|
80
106
|
"hr.readiness": "hr.readiness";
|
|
107
|
+
"hr.rebuildCategories": "hr.rebuildCategories";
|
|
81
108
|
"hr.renameTeam": "hr.renameTeam";
|
|
82
109
|
"hr.retryDelivery": "hr.retryDelivery";
|
|
110
|
+
"hr.saveCategories": "hr.saveCategories";
|
|
83
111
|
"hr.settings": "hr.settings";
|
|
84
112
|
"hr.share": "hr.share";
|
|
85
113
|
"hr.shareSources": "hr.shareSources";
|
|
@@ -91,7 +119,10 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
91
119
|
"identities.webAccounts": "identities.webAccounts";
|
|
92
120
|
"integrations.authorize": "integrations.authorize";
|
|
93
121
|
"invitations.cancel": "invitations.cancel";
|
|
122
|
+
"invitations.candidates": "invitations.candidates";
|
|
94
123
|
"invitations.create": "invitations.create";
|
|
124
|
+
"invitations.createMany": "invitations.createMany";
|
|
125
|
+
"invitations.inviteDirectory": "invitations.inviteDirectory";
|
|
95
126
|
"invitations.list": "invitations.list";
|
|
96
127
|
"knowledge.connections.browse": "knowledge.connections.browse";
|
|
97
128
|
"knowledge.connections.connect": "knowledge.connections.connect";
|
|
@@ -115,6 +146,7 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
115
146
|
"knowledge.sources.save": "knowledge.sources.save";
|
|
116
147
|
"knowledge.sources.search": "knowledge.sources.search";
|
|
117
148
|
"knowledge.sources.withdraw": "knowledge.sources.withdraw";
|
|
149
|
+
"knowledge.sources.write": "knowledge.sources.write";
|
|
118
150
|
"knowledge.uploads.appendPart": "knowledge.uploads.appendPart";
|
|
119
151
|
"knowledge.uploads.complete": "knowledge.uploads.complete";
|
|
120
152
|
"knowledge.uploads.create": "knowledge.uploads.create";
|
|
@@ -128,7 +160,9 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
128
160
|
"network.orgChart": "network.orgChart";
|
|
129
161
|
"notifications.preferences": "notifications.preferences";
|
|
130
162
|
"notifications.save": "notifications.save";
|
|
163
|
+
"onboarding.answerBuddyAsk": "onboarding.answerBuddyAsk";
|
|
131
164
|
"onboarding.answerCheckIn": "onboarding.answerCheckIn";
|
|
165
|
+
"onboarding.answerFirstDaysCheckIn": "onboarding.answerFirstDaysCheckIn";
|
|
132
166
|
"onboarding.approve": "onboarding.approve";
|
|
133
167
|
"onboarding.askBuddy": "onboarding.askBuddy";
|
|
134
168
|
"onboarding.assignBuddy": "onboarding.assignBuddy";
|
|
@@ -136,6 +170,8 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
136
170
|
"onboarding.candidates": "onboarding.candidates";
|
|
137
171
|
"onboarding.enroll": "onboarding.enroll";
|
|
138
172
|
"onboarding.enrollmentPreview": "onboarding.enrollmentPreview";
|
|
173
|
+
"onboarding.firstDaysCheckIns": "onboarding.firstDaysCheckIns";
|
|
174
|
+
"onboarding.firstDaysResults": "onboarding.firstDaysResults";
|
|
139
175
|
"onboarding.mine": "onboarding.mine";
|
|
140
176
|
"onboarding.person": "onboarding.person";
|
|
141
177
|
"onboarding.previewEnrollment": "onboarding.previewEnrollment";
|
|
@@ -151,12 +187,14 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
151
187
|
"operations.status": "operations.status";
|
|
152
188
|
"permissions.list": "permissions.list";
|
|
153
189
|
"praise.addChannel": "praise.addChannel";
|
|
190
|
+
"praise.composer": "praise.composer";
|
|
154
191
|
"praise.feed": "praise.feed";
|
|
155
192
|
"praise.insights": "praise.insights";
|
|
156
193
|
"praise.mine": "praise.mine";
|
|
157
194
|
"praise.ofPerson": "praise.ofPerson";
|
|
158
195
|
"praise.removeChannel": "praise.removeChannel";
|
|
159
196
|
"praise.saveSettings": "praise.saveSettings";
|
|
197
|
+
"praise.send": "praise.send";
|
|
160
198
|
"praise.setDigest": "praise.setDigest";
|
|
161
199
|
"praise.setHidden": "praise.setHidden";
|
|
162
200
|
"praise.settings": "praise.settings";
|
|
@@ -169,6 +207,7 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
169
207
|
"profiles.positions.save": "profiles.positions.save";
|
|
170
208
|
"profiles.save": "profiles.save";
|
|
171
209
|
"profiles.settings": "profiles.settings";
|
|
210
|
+
"profiles.whoKnows": "profiles.whoKnows";
|
|
172
211
|
"programs.archive": "programs.archive";
|
|
173
212
|
"programs.create": "programs.create";
|
|
174
213
|
"programs.get": "programs.get";
|
|
@@ -182,21 +221,40 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
182
221
|
"programs.schedulePreview": "programs.schedulePreview";
|
|
183
222
|
"programs.syncRoster": "programs.syncRoster";
|
|
184
223
|
"programs.update": "programs.update";
|
|
185
|
-
"
|
|
186
|
-
"provisioning.current": "provisioning.current";
|
|
224
|
+
"pulse.actions": "pulse.actions";
|
|
187
225
|
"pulse.addQuestion": "pulse.addQuestion";
|
|
188
226
|
"pulse.addTemplate": "pulse.addTemplate";
|
|
227
|
+
"pulse.answer": "pulse.answer";
|
|
189
228
|
"pulse.asked": "pulse.asked";
|
|
229
|
+
"pulse.audienceOptions": "pulse.audienceOptions";
|
|
230
|
+
"pulse.createAction": "pulse.createAction";
|
|
231
|
+
"pulse.decideProposal": "pulse.decideProposal";
|
|
232
|
+
"pulse.editProposal": "pulse.editProposal";
|
|
190
233
|
"pulse.insights": "pulse.insights";
|
|
234
|
+
"pulse.latestRead": "pulse.latestRead";
|
|
235
|
+
"pulse.mine": "pulse.mine";
|
|
191
236
|
"pulse.program": "pulse.program";
|
|
237
|
+
"pulse.proposals": "pulse.proposals";
|
|
238
|
+
"pulse.proposeQuestions": "pulse.proposeQuestions";
|
|
239
|
+
"pulse.questionDetail": "pulse.questionDetail";
|
|
192
240
|
"pulse.questions": "pulse.questions";
|
|
241
|
+
"pulse.requestProposals": "pulse.requestProposals";
|
|
193
242
|
"pulse.saveProgram": "pulse.saveProgram";
|
|
243
|
+
"pulse.setQuestionAudience": "pulse.setQuestionAudience";
|
|
194
244
|
"pulse.setQuestionStatus": "pulse.setQuestionStatus";
|
|
245
|
+
"pulse.skip": "pulse.skip";
|
|
195
246
|
"pulse.today": "pulse.today";
|
|
247
|
+
"pulse.updateAction": "pulse.updateAction";
|
|
248
|
+
"reminders.mine": "reminders.mine";
|
|
249
|
+
"reminders.saveMine": "reminders.saveMine";
|
|
250
|
+
"reminders.saveSetting": "reminders.saveSetting";
|
|
251
|
+
"reminders.settings": "reminders.settings";
|
|
196
252
|
"reports.answerFeedback": "reports.answerFeedback";
|
|
197
253
|
"reports.connections": "reports.connections";
|
|
198
254
|
"reports.knowledge": "reports.knowledge";
|
|
199
255
|
"reports.knowledgeSource": "reports.knowledgeSource";
|
|
256
|
+
"reports.melloTrial": "reports.melloTrial";
|
|
257
|
+
"reports.melloValue": "reports.melloValue";
|
|
200
258
|
"reports.needsYou": "reports.needsYou";
|
|
201
259
|
"reports.onboarding": "reports.onboarding";
|
|
202
260
|
"reports.overview": "reports.overview";
|
|
@@ -204,9 +262,12 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
204
262
|
"runs.details": "runs.details";
|
|
205
263
|
"runs.dispatch": "runs.dispatch";
|
|
206
264
|
"runs.get": "runs.get";
|
|
265
|
+
"runs.history.get": "runs.history.get";
|
|
266
|
+
"runs.history.list": "runs.history.list";
|
|
207
267
|
"runs.list": "runs.list";
|
|
208
268
|
"runs.request": "runs.request";
|
|
209
269
|
"runs.retry": "runs.retry";
|
|
270
|
+
"runs.stopKnownFailures": "runs.stopKnownFailures";
|
|
210
271
|
"support.assign": "support.assign";
|
|
211
272
|
"support.close": "support.close";
|
|
212
273
|
"support.create": "support.create";
|
|
@@ -218,11 +279,32 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
218
279
|
"sync.disconnect": "sync.disconnect";
|
|
219
280
|
"sync.request": "sync.request";
|
|
220
281
|
"sync.run": "sync.run";
|
|
282
|
+
"team.answerMinutes": "team.answerMinutes";
|
|
283
|
+
"team.dismissLaunchPost": "team.dismissLaunchPost";
|
|
284
|
+
"team.launchPost": "team.launchPost";
|
|
285
|
+
"teams.connectionPermissions": "teams.connectionPermissions";
|
|
286
|
+
"teams.current": "teams.current";
|
|
287
|
+
"teams.discardPairHistory": "teams.discardPairHistory";
|
|
288
|
+
"teams.initialize": "teams.initialize";
|
|
289
|
+
"teams.moveSlackChannels": "teams.moveSlackChannels";
|
|
290
|
+
"teams.rename": "teams.rename";
|
|
291
|
+
"teams.resendSlackWelcome": "teams.resendSlackWelcome";
|
|
292
|
+
"teams.saveAgentSetup": "teams.saveAgentSetup";
|
|
293
|
+
"teams.saveSlackJoinAccess": "teams.saveSlackJoinAccess";
|
|
294
|
+
"teams.saveSlackProfileLink": "teams.saveSlackProfileLink";
|
|
295
|
+
"teams.setup": "teams.setup";
|
|
296
|
+
"teams.slackChannels": "teams.slackChannels";
|
|
297
|
+
"teams.slackJoinAccess": "teams.slackJoinAccess";
|
|
298
|
+
"teams.slackProfileLink": "teams.slackProfileLink";
|
|
299
|
+
"teams.status": "teams.status";
|
|
300
|
+
"teams.syncSlackProfileLinks": "teams.syncSlackProfileLinks";
|
|
301
|
+
"teams.uploadPairHistory": "teams.uploadPairHistory";
|
|
221
302
|
"timeOff.balances": "timeOff.balances";
|
|
222
303
|
"units.archive": "units.archive";
|
|
223
304
|
"units.list": "units.list";
|
|
224
305
|
"units.save": "units.save";
|
|
225
306
|
"users.activity": "users.activity";
|
|
307
|
+
"users.assignManagers": "users.assignManagers";
|
|
226
308
|
"users.blockPair": "users.blockPair";
|
|
227
309
|
"users.blockedPairs": "users.blockedPairs";
|
|
228
310
|
"users.details": "users.details";
|
|
@@ -235,18 +317,10 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
235
317
|
"users.participants": "users.participants";
|
|
236
318
|
"users.participation": "users.participation";
|
|
237
319
|
"users.profile": "users.profile";
|
|
320
|
+
"users.proposeReportingLines": "users.proposeReportingLines";
|
|
321
|
+
"users.reportingLineProposal": "users.reportingLineProposal";
|
|
322
|
+
"users.reviewReportingLines": "users.reviewReportingLines";
|
|
238
323
|
"users.save": "users.save";
|
|
239
|
-
"workspaces.current": "workspaces.current";
|
|
240
|
-
"workspaces.initialize": "workspaces.initialize";
|
|
241
|
-
"workspaces.resendSlackWelcome": "workspaces.resendSlackWelcome";
|
|
242
|
-
"workspaces.saveAgentSetup": "workspaces.saveAgentSetup";
|
|
243
|
-
"workspaces.saveSlackJoinAccess": "workspaces.saveSlackJoinAccess";
|
|
244
|
-
"workspaces.saveSlackProfileLink": "workspaces.saveSlackProfileLink";
|
|
245
|
-
"workspaces.setup": "workspaces.setup";
|
|
246
|
-
"workspaces.slackJoinAccess": "workspaces.slackJoinAccess";
|
|
247
|
-
"workspaces.slackProfileLink": "workspaces.slackProfileLink";
|
|
248
|
-
"workspaces.status": "workspaces.status";
|
|
249
|
-
"workspaces.syncSlackProfileLinks": "workspaces.syncSlackProfileLinks";
|
|
250
324
|
}>;
|
|
251
325
|
export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
252
326
|
access: z.ZodEnum<{
|
|
@@ -269,56 +343,84 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
269
343
|
"badges.award": "badges.award";
|
|
270
344
|
"badges.claim": "badges.claim";
|
|
271
345
|
"badges.decideRequest": "badges.decideRequest";
|
|
346
|
+
"badges.generatePicture": "badges.generatePicture";
|
|
272
347
|
"badges.hideOwn": "badges.hideOwn";
|
|
348
|
+
"badges.holders": "badges.holders";
|
|
273
349
|
"badges.list": "badges.list";
|
|
274
350
|
"badges.ofPerson": "badges.ofPerson";
|
|
275
351
|
"badges.request": "badges.request";
|
|
276
352
|
"badges.revoke": "badges.revoke";
|
|
277
353
|
"badges.save": "badges.save";
|
|
354
|
+
"badges.saveSettings": "badges.saveSettings";
|
|
278
355
|
"badges.setHidden": "badges.setHidden";
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"billing.initialize": "billing.initialize";
|
|
284
|
-
"billing.legacy": "billing.legacy";
|
|
285
|
-
"billing.legacyPortal": "billing.legacyPortal";
|
|
286
|
-
"billing.portal": "billing.portal";
|
|
287
|
-
"billing.refresh": "billing.refresh";
|
|
356
|
+
"badges.settings": "badges.settings";
|
|
357
|
+
"badges.uploadPicture": "badges.uploadPicture";
|
|
358
|
+
"celebrations.card": "celebrations.card";
|
|
359
|
+
"celebrations.cards": "celebrations.cards";
|
|
288
360
|
"celebrations.deliveries": "celebrations.deliveries";
|
|
289
361
|
"celebrations.mine": "celebrations.mine";
|
|
290
362
|
"celebrations.preferences": "celebrations.preferences";
|
|
291
363
|
"celebrations.preview": "celebrations.preview";
|
|
292
364
|
"celebrations.program": "celebrations.program";
|
|
293
365
|
"celebrations.refresh": "celebrations.refresh";
|
|
366
|
+
"celebrations.removeCardNote": "celebrations.removeCardNote";
|
|
294
367
|
"celebrations.review": "celebrations.review";
|
|
295
368
|
"celebrations.save": "celebrations.save";
|
|
296
369
|
"celebrations.savePreferences": "celebrations.savePreferences";
|
|
370
|
+
"celebrations.signCard": "celebrations.signCard";
|
|
297
371
|
"channels.list": "channels.list";
|
|
298
372
|
"commands.get": "commands.get";
|
|
299
373
|
"communities.archive": "communities.archive";
|
|
374
|
+
"communities.channelSuggestions": "communities.channelSuggestions";
|
|
375
|
+
"communities.createCapabilities": "communities.createCapabilities";
|
|
376
|
+
"communities.createSlackChannel": "communities.createSlackChannel";
|
|
377
|
+
"communities.fromChannels": "communities.fromChannels";
|
|
378
|
+
"communities.generateCover": "communities.generateCover";
|
|
379
|
+
"communities.invite": "communities.invite";
|
|
300
380
|
"communities.join": "communities.join";
|
|
301
381
|
"communities.leave": "communities.leave";
|
|
302
382
|
"communities.list": "communities.list";
|
|
303
383
|
"communities.members": "communities.members";
|
|
304
384
|
"communities.ofPerson": "communities.ofPerson";
|
|
305
385
|
"communities.removeMember": "communities.removeMember";
|
|
386
|
+
"communities.revokeInvitation": "communities.revokeInvitation";
|
|
306
387
|
"communities.save": "communities.save";
|
|
307
388
|
"communities.setVisibility": "communities.setVisibility";
|
|
308
389
|
"communities.sync": "communities.sync";
|
|
390
|
+
"communities.uploadCover": "communities.uploadCover";
|
|
309
391
|
"credentials.api.create": "credentials.api.create";
|
|
310
392
|
"credentials.api.list": "credentials.api.list";
|
|
311
393
|
"credentials.api.revoke": "credentials.api.revoke";
|
|
312
|
-
"
|
|
394
|
+
"digest.actOnNudge": "digest.actOnNudge";
|
|
395
|
+
"digest.dismissNudge": "digest.dismissNudge";
|
|
396
|
+
"digest.nudge": "digest.nudge";
|
|
397
|
+
"digest.nudges": "digest.nudges";
|
|
398
|
+
"digest.preview": "digest.preview";
|
|
399
|
+
"digest.saveSettings": "digest.saveSettings";
|
|
400
|
+
"digest.settings": "digest.settings";
|
|
401
|
+
"exports.team": "exports.team";
|
|
402
|
+
"getStarted.celebrate": "getStarted.celebrate";
|
|
403
|
+
"getStarted.celebration": "getStarted.celebration";
|
|
404
|
+
"getStarted.dismiss": "getStarted.dismiss";
|
|
405
|
+
"getStarted.draftIntro": "getStarted.draftIntro";
|
|
406
|
+
"getStarted.get": "getStarted.get";
|
|
407
|
+
"getStarted.intro": "getStarted.intro";
|
|
408
|
+
"getStarted.wizard": "getStarted.wizard";
|
|
313
409
|
"home.feed": "home.feed";
|
|
410
|
+
"home.preferences": "home.preferences";
|
|
411
|
+
"home.react": "home.react";
|
|
412
|
+
"home.story": "home.story";
|
|
413
|
+
"hr.categories": "hr.categories";
|
|
314
414
|
"hr.command": "hr.command";
|
|
315
415
|
"hr.configure": "hr.configure";
|
|
316
416
|
"hr.deliver": "hr.deliver";
|
|
317
417
|
"hr.get": "hr.get";
|
|
318
418
|
"hr.list": "hr.list";
|
|
319
419
|
"hr.readiness": "hr.readiness";
|
|
420
|
+
"hr.rebuildCategories": "hr.rebuildCategories";
|
|
320
421
|
"hr.renameTeam": "hr.renameTeam";
|
|
321
422
|
"hr.retryDelivery": "hr.retryDelivery";
|
|
423
|
+
"hr.saveCategories": "hr.saveCategories";
|
|
322
424
|
"hr.settings": "hr.settings";
|
|
323
425
|
"hr.share": "hr.share";
|
|
324
426
|
"hr.shareSources": "hr.shareSources";
|
|
@@ -330,7 +432,10 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
330
432
|
"identities.webAccounts": "identities.webAccounts";
|
|
331
433
|
"integrations.authorize": "integrations.authorize";
|
|
332
434
|
"invitations.cancel": "invitations.cancel";
|
|
435
|
+
"invitations.candidates": "invitations.candidates";
|
|
333
436
|
"invitations.create": "invitations.create";
|
|
437
|
+
"invitations.createMany": "invitations.createMany";
|
|
438
|
+
"invitations.inviteDirectory": "invitations.inviteDirectory";
|
|
334
439
|
"invitations.list": "invitations.list";
|
|
335
440
|
"knowledge.connections.browse": "knowledge.connections.browse";
|
|
336
441
|
"knowledge.connections.connect": "knowledge.connections.connect";
|
|
@@ -354,6 +459,7 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
354
459
|
"knowledge.sources.save": "knowledge.sources.save";
|
|
355
460
|
"knowledge.sources.search": "knowledge.sources.search";
|
|
356
461
|
"knowledge.sources.withdraw": "knowledge.sources.withdraw";
|
|
462
|
+
"knowledge.sources.write": "knowledge.sources.write";
|
|
357
463
|
"knowledge.uploads.appendPart": "knowledge.uploads.appendPart";
|
|
358
464
|
"knowledge.uploads.complete": "knowledge.uploads.complete";
|
|
359
465
|
"knowledge.uploads.create": "knowledge.uploads.create";
|
|
@@ -367,7 +473,9 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
367
473
|
"network.orgChart": "network.orgChart";
|
|
368
474
|
"notifications.preferences": "notifications.preferences";
|
|
369
475
|
"notifications.save": "notifications.save";
|
|
476
|
+
"onboarding.answerBuddyAsk": "onboarding.answerBuddyAsk";
|
|
370
477
|
"onboarding.answerCheckIn": "onboarding.answerCheckIn";
|
|
478
|
+
"onboarding.answerFirstDaysCheckIn": "onboarding.answerFirstDaysCheckIn";
|
|
371
479
|
"onboarding.approve": "onboarding.approve";
|
|
372
480
|
"onboarding.askBuddy": "onboarding.askBuddy";
|
|
373
481
|
"onboarding.assignBuddy": "onboarding.assignBuddy";
|
|
@@ -375,6 +483,8 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
375
483
|
"onboarding.candidates": "onboarding.candidates";
|
|
376
484
|
"onboarding.enroll": "onboarding.enroll";
|
|
377
485
|
"onboarding.enrollmentPreview": "onboarding.enrollmentPreview";
|
|
486
|
+
"onboarding.firstDaysCheckIns": "onboarding.firstDaysCheckIns";
|
|
487
|
+
"onboarding.firstDaysResults": "onboarding.firstDaysResults";
|
|
378
488
|
"onboarding.mine": "onboarding.mine";
|
|
379
489
|
"onboarding.person": "onboarding.person";
|
|
380
490
|
"onboarding.previewEnrollment": "onboarding.previewEnrollment";
|
|
@@ -390,12 +500,14 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
390
500
|
"operations.status": "operations.status";
|
|
391
501
|
"permissions.list": "permissions.list";
|
|
392
502
|
"praise.addChannel": "praise.addChannel";
|
|
503
|
+
"praise.composer": "praise.composer";
|
|
393
504
|
"praise.feed": "praise.feed";
|
|
394
505
|
"praise.insights": "praise.insights";
|
|
395
506
|
"praise.mine": "praise.mine";
|
|
396
507
|
"praise.ofPerson": "praise.ofPerson";
|
|
397
508
|
"praise.removeChannel": "praise.removeChannel";
|
|
398
509
|
"praise.saveSettings": "praise.saveSettings";
|
|
510
|
+
"praise.send": "praise.send";
|
|
399
511
|
"praise.setDigest": "praise.setDigest";
|
|
400
512
|
"praise.setHidden": "praise.setHidden";
|
|
401
513
|
"praise.settings": "praise.settings";
|
|
@@ -408,6 +520,7 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
408
520
|
"profiles.positions.save": "profiles.positions.save";
|
|
409
521
|
"profiles.save": "profiles.save";
|
|
410
522
|
"profiles.settings": "profiles.settings";
|
|
523
|
+
"profiles.whoKnows": "profiles.whoKnows";
|
|
411
524
|
"programs.archive": "programs.archive";
|
|
412
525
|
"programs.create": "programs.create";
|
|
413
526
|
"programs.get": "programs.get";
|
|
@@ -421,21 +534,40 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
421
534
|
"programs.schedulePreview": "programs.schedulePreview";
|
|
422
535
|
"programs.syncRoster": "programs.syncRoster";
|
|
423
536
|
"programs.update": "programs.update";
|
|
424
|
-
"
|
|
425
|
-
"provisioning.current": "provisioning.current";
|
|
537
|
+
"pulse.actions": "pulse.actions";
|
|
426
538
|
"pulse.addQuestion": "pulse.addQuestion";
|
|
427
539
|
"pulse.addTemplate": "pulse.addTemplate";
|
|
540
|
+
"pulse.answer": "pulse.answer";
|
|
428
541
|
"pulse.asked": "pulse.asked";
|
|
542
|
+
"pulse.audienceOptions": "pulse.audienceOptions";
|
|
543
|
+
"pulse.createAction": "pulse.createAction";
|
|
544
|
+
"pulse.decideProposal": "pulse.decideProposal";
|
|
545
|
+
"pulse.editProposal": "pulse.editProposal";
|
|
429
546
|
"pulse.insights": "pulse.insights";
|
|
547
|
+
"pulse.latestRead": "pulse.latestRead";
|
|
548
|
+
"pulse.mine": "pulse.mine";
|
|
430
549
|
"pulse.program": "pulse.program";
|
|
550
|
+
"pulse.proposals": "pulse.proposals";
|
|
551
|
+
"pulse.proposeQuestions": "pulse.proposeQuestions";
|
|
552
|
+
"pulse.questionDetail": "pulse.questionDetail";
|
|
431
553
|
"pulse.questions": "pulse.questions";
|
|
554
|
+
"pulse.requestProposals": "pulse.requestProposals";
|
|
432
555
|
"pulse.saveProgram": "pulse.saveProgram";
|
|
556
|
+
"pulse.setQuestionAudience": "pulse.setQuestionAudience";
|
|
433
557
|
"pulse.setQuestionStatus": "pulse.setQuestionStatus";
|
|
558
|
+
"pulse.skip": "pulse.skip";
|
|
434
559
|
"pulse.today": "pulse.today";
|
|
560
|
+
"pulse.updateAction": "pulse.updateAction";
|
|
561
|
+
"reminders.mine": "reminders.mine";
|
|
562
|
+
"reminders.saveMine": "reminders.saveMine";
|
|
563
|
+
"reminders.saveSetting": "reminders.saveSetting";
|
|
564
|
+
"reminders.settings": "reminders.settings";
|
|
435
565
|
"reports.answerFeedback": "reports.answerFeedback";
|
|
436
566
|
"reports.connections": "reports.connections";
|
|
437
567
|
"reports.knowledge": "reports.knowledge";
|
|
438
568
|
"reports.knowledgeSource": "reports.knowledgeSource";
|
|
569
|
+
"reports.melloTrial": "reports.melloTrial";
|
|
570
|
+
"reports.melloValue": "reports.melloValue";
|
|
439
571
|
"reports.needsYou": "reports.needsYou";
|
|
440
572
|
"reports.onboarding": "reports.onboarding";
|
|
441
573
|
"reports.overview": "reports.overview";
|
|
@@ -443,9 +575,12 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
443
575
|
"runs.details": "runs.details";
|
|
444
576
|
"runs.dispatch": "runs.dispatch";
|
|
445
577
|
"runs.get": "runs.get";
|
|
578
|
+
"runs.history.get": "runs.history.get";
|
|
579
|
+
"runs.history.list": "runs.history.list";
|
|
446
580
|
"runs.list": "runs.list";
|
|
447
581
|
"runs.request": "runs.request";
|
|
448
582
|
"runs.retry": "runs.retry";
|
|
583
|
+
"runs.stopKnownFailures": "runs.stopKnownFailures";
|
|
449
584
|
"support.assign": "support.assign";
|
|
450
585
|
"support.close": "support.close";
|
|
451
586
|
"support.create": "support.create";
|
|
@@ -457,11 +592,32 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
457
592
|
"sync.disconnect": "sync.disconnect";
|
|
458
593
|
"sync.request": "sync.request";
|
|
459
594
|
"sync.run": "sync.run";
|
|
595
|
+
"team.answerMinutes": "team.answerMinutes";
|
|
596
|
+
"team.dismissLaunchPost": "team.dismissLaunchPost";
|
|
597
|
+
"team.launchPost": "team.launchPost";
|
|
598
|
+
"teams.connectionPermissions": "teams.connectionPermissions";
|
|
599
|
+
"teams.current": "teams.current";
|
|
600
|
+
"teams.discardPairHistory": "teams.discardPairHistory";
|
|
601
|
+
"teams.initialize": "teams.initialize";
|
|
602
|
+
"teams.moveSlackChannels": "teams.moveSlackChannels";
|
|
603
|
+
"teams.rename": "teams.rename";
|
|
604
|
+
"teams.resendSlackWelcome": "teams.resendSlackWelcome";
|
|
605
|
+
"teams.saveAgentSetup": "teams.saveAgentSetup";
|
|
606
|
+
"teams.saveSlackJoinAccess": "teams.saveSlackJoinAccess";
|
|
607
|
+
"teams.saveSlackProfileLink": "teams.saveSlackProfileLink";
|
|
608
|
+
"teams.setup": "teams.setup";
|
|
609
|
+
"teams.slackChannels": "teams.slackChannels";
|
|
610
|
+
"teams.slackJoinAccess": "teams.slackJoinAccess";
|
|
611
|
+
"teams.slackProfileLink": "teams.slackProfileLink";
|
|
612
|
+
"teams.status": "teams.status";
|
|
613
|
+
"teams.syncSlackProfileLinks": "teams.syncSlackProfileLinks";
|
|
614
|
+
"teams.uploadPairHistory": "teams.uploadPairHistory";
|
|
460
615
|
"timeOff.balances": "timeOff.balances";
|
|
461
616
|
"units.archive": "units.archive";
|
|
462
617
|
"units.list": "units.list";
|
|
463
618
|
"units.save": "units.save";
|
|
464
619
|
"users.activity": "users.activity";
|
|
620
|
+
"users.assignManagers": "users.assignManagers";
|
|
465
621
|
"users.blockPair": "users.blockPair";
|
|
466
622
|
"users.blockedPairs": "users.blockedPairs";
|
|
467
623
|
"users.details": "users.details";
|
|
@@ -474,18 +630,10 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
474
630
|
"users.participants": "users.participants";
|
|
475
631
|
"users.participation": "users.participation";
|
|
476
632
|
"users.profile": "users.profile";
|
|
633
|
+
"users.proposeReportingLines": "users.proposeReportingLines";
|
|
634
|
+
"users.reportingLineProposal": "users.reportingLineProposal";
|
|
635
|
+
"users.reviewReportingLines": "users.reviewReportingLines";
|
|
477
636
|
"users.save": "users.save";
|
|
478
|
-
"workspaces.current": "workspaces.current";
|
|
479
|
-
"workspaces.initialize": "workspaces.initialize";
|
|
480
|
-
"workspaces.resendSlackWelcome": "workspaces.resendSlackWelcome";
|
|
481
|
-
"workspaces.saveAgentSetup": "workspaces.saveAgentSetup";
|
|
482
|
-
"workspaces.saveSlackJoinAccess": "workspaces.saveSlackJoinAccess";
|
|
483
|
-
"workspaces.saveSlackProfileLink": "workspaces.saveSlackProfileLink";
|
|
484
|
-
"workspaces.setup": "workspaces.setup";
|
|
485
|
-
"workspaces.slackJoinAccess": "workspaces.slackJoinAccess";
|
|
486
|
-
"workspaces.slackProfileLink": "workspaces.slackProfileLink";
|
|
487
|
-
"workspaces.status": "workspaces.status";
|
|
488
|
-
"workspaces.syncSlackProfileLinks": "workspaces.syncSlackProfileLinks";
|
|
489
637
|
}>;
|
|
490
638
|
resource: z.ZodString;
|
|
491
639
|
scope: z.ZodNullable<z.ZodEnum<{
|
|
@@ -493,8 +641,6 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
493
641
|
"access:write": "access:write";
|
|
494
642
|
"assistant:read": "assistant:read";
|
|
495
643
|
"assistant:write": "assistant:write";
|
|
496
|
-
"billing:read": "billing:read";
|
|
497
|
-
"billing:write": "billing:write";
|
|
498
644
|
"celebrations:read": "celebrations:read";
|
|
499
645
|
"celebrations:write": "celebrations:write";
|
|
500
646
|
"credentials:read": "credentials:read";
|
|
@@ -531,13 +677,15 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
531
677
|
"self:write": "self:write";
|
|
532
678
|
"support:read": "support:read";
|
|
533
679
|
"support:write": "support:write";
|
|
680
|
+
"team:read": "team:read";
|
|
681
|
+
"team:write": "team:write";
|
|
534
682
|
"users:read": "users:read";
|
|
535
683
|
"users:write": "users:write";
|
|
536
|
-
"workspace:read": "workspace:read";
|
|
537
|
-
"workspace:write": "workspace:write";
|
|
538
684
|
}>>;
|
|
539
685
|
}, z.core.$strip>;
|
|
540
686
|
export declare const permissionById: Map<Permission, PermissionDefinition>;
|
|
687
|
+
export declare const teamSetupPermissions: readonly ["teams.setup", "teams.saveAgentSetup", "teams.slackChannels", "teams.moveSlackChannels", "knowledge.uploads.create", "knowledge.uploads.appendPart", "knowledge.uploads.complete", "knowledge.uploads.get", "knowledge.sources.importWebsite", "knowledge.sources.list", "knowledge.sources.get", "knowledge.sources.write", "knowledge.sources.publish", "assistant.send", "invitations.create", "invitations.list", "pulse.program", "pulse.saveProgram", "channels.list", "programs.options", "programs.create", "onboarding.program", "onboarding.saveProgram", "celebrations.program", "celebrations.preview", "celebrations.save"];
|
|
688
|
+
export declare const destructiveOperation: RegExp;
|
|
541
689
|
export declare function scopesForPermissions(permissions: readonly Permission[]): Scope[];
|
|
542
690
|
export declare function grantedPermissions(grant: {
|
|
543
691
|
permissions?: readonly Permission[];
|