@shuffl/api-contracts 0.5.1 → 0.5.2
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/index.d.ts +90 -3
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +9 -1
- package/dist/management.generated.d.ts +88 -3
- package/dist/management.generated.js +95 -1
- package/dist/permissions.d.ts +2 -0
- package/openapi.json +1116 -287
- package/package.json +1 -1
|
@@ -2975,7 +2975,7 @@ export declare const managementContract: {
|
|
|
2975
2975
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2976
2976
|
acknowledgeExternalAccess: z.ZodLiteral<true>;
|
|
2977
2977
|
name: z.ZodString;
|
|
2978
|
-
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
2978
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
2979
2979
|
confirm: z.ZodLiteral<"credentials.api.create">;
|
|
2980
2980
|
requestKey: z.ZodString;
|
|
2981
2981
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3032,7 +3032,7 @@ export declare const managementContract: {
|
|
|
3032
3032
|
isActive: z.ZodBoolean;
|
|
3033
3033
|
lastUsedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3034
3034
|
name: z.ZodString;
|
|
3035
|
-
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
3035
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
3036
3036
|
scopes: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation:write">, z.ZodLiteral<"playbooks:read">, z.ZodLiteral<"playbooks:write">, z.ZodLiteral<"praise:read">, z.ZodLiteral<"praise:write">, z.ZodLiteral<"profile:write">, z.ZodLiteral<"programs:read">, z.ZodLiteral<"programs:write">, z.ZodLiteral<"pulse:read">, z.ZodLiteral<"pulse:write">, z.ZodLiteral<"reports:read">, z.ZodLiteral<"runs:read">, z.ZodLiteral<"runs:write">, z.ZodLiteral<"self:read">, z.ZodLiteral<"self:write">, z.ZodLiteral<"support:read">, z.ZodLiteral<"support:write">, z.ZodLiteral<"team:read">, z.ZodLiteral<"team:write">, z.ZodLiteral<"users:read">, z.ZodLiteral<"users:write">, z.ZodLiteral<"webhooks:read">, z.ZodLiteral<"webhooks:write">]>>;
|
|
3037
3037
|
}, z.core.$strict>>;
|
|
3038
3038
|
permissionCatalog: z.ZodArray<z.ZodObject<{
|
|
@@ -3041,7 +3041,7 @@ export declare const managementContract: {
|
|
|
3041
3041
|
description: z.ZodString;
|
|
3042
3042
|
grantable: z.ZodBoolean;
|
|
3043
3043
|
granted: z.ZodBoolean;
|
|
3044
|
-
id: z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>;
|
|
3044
|
+
id: z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>;
|
|
3045
3045
|
resource: z.ZodString;
|
|
3046
3046
|
scope: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation:write">, z.ZodLiteral<"playbooks:read">, z.ZodLiteral<"playbooks:write">, z.ZodLiteral<"praise:read">, z.ZodLiteral<"praise:write">, z.ZodLiteral<"profile:write">, z.ZodLiteral<"programs:read">, z.ZodLiteral<"programs:write">, z.ZodLiteral<"pulse:read">, z.ZodLiteral<"pulse:write">, z.ZodLiteral<"reports:read">, z.ZodLiteral<"runs:read">, z.ZodLiteral<"runs:write">, z.ZodLiteral<"self:read">, z.ZodLiteral<"self:write">, z.ZodLiteral<"support:read">, z.ZodLiteral<"support:write">, z.ZodLiteral<"team:read">, z.ZodLiteral<"team:write">, z.ZodLiteral<"users:read">, z.ZodLiteral<"users:write">, z.ZodLiteral<"webhooks:read">, z.ZodLiteral<"webhooks:write">]>;
|
|
3047
3047
|
}, z.core.$strict>>;
|
|
@@ -4058,6 +4058,7 @@ export declare const managementContract: {
|
|
|
4058
4058
|
playbook: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4059
4059
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4060
4060
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
4061
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4061
4062
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4062
4063
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
4063
4064
|
buddyInvitation: z.ZodString;
|
|
@@ -4595,6 +4596,36 @@ export declare const managementContract: {
|
|
|
4595
4596
|
trigger: z.ZodUnion<readonly [z.ZodLiteral<"entered">, z.ZodLiteral<"left">]>;
|
|
4596
4597
|
updatedAt: z.ZodISODateTime;
|
|
4597
4598
|
}, z.core.$strict>>;
|
|
4599
|
+
playbookStarts: z.ZodArray<z.ZodObject<{
|
|
4600
|
+
group: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4601
|
+
id: z.ZodString;
|
|
4602
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"dynamic">, z.ZodLiteral<"list">]>;
|
|
4603
|
+
members: z.ZodNumber;
|
|
4604
|
+
name: z.ZodString;
|
|
4605
|
+
}, z.core.$strict>]>;
|
|
4606
|
+
lastRunAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
4607
|
+
playbook: z.ZodObject<{
|
|
4608
|
+
id: z.ZodString;
|
|
4609
|
+
name: z.ZodString;
|
|
4610
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
4611
|
+
}, z.core.$strict>;
|
|
4612
|
+
runs: z.ZodNumber;
|
|
4613
|
+
runs30: z.ZodNumber;
|
|
4614
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"paused">]>;
|
|
4615
|
+
}, z.core.$strict>>;
|
|
4616
|
+
programRosters: z.ZodArray<z.ZodObject<{
|
|
4617
|
+
group: z.ZodObject<{
|
|
4618
|
+
id: z.ZodString;
|
|
4619
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"dynamic">, z.ZodLiteral<"list">]>;
|
|
4620
|
+
members: z.ZodNumber;
|
|
4621
|
+
name: z.ZodString;
|
|
4622
|
+
}, z.core.$strict>;
|
|
4623
|
+
program: z.ZodObject<{
|
|
4624
|
+
id: z.ZodString;
|
|
4625
|
+
name: z.ZodString;
|
|
4626
|
+
}, z.core.$strict>;
|
|
4627
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"paused">]>;
|
|
4628
|
+
}, z.core.$strict>>;
|
|
4598
4629
|
runs: z.ZodArray<z.ZodObject<{
|
|
4599
4630
|
at: z.ZodISODateTime;
|
|
4600
4631
|
automationId: z.ZodString;
|
|
@@ -5886,6 +5917,56 @@ export declare const managementContract: {
|
|
|
5886
5917
|
}>, {
|
|
5887
5918
|
scope: import("./base.ts").Scope | null;
|
|
5888
5919
|
} & Record<never, never>>;
|
|
5920
|
+
setPlaybookAutoStart: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
5921
|
+
groupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
5922
|
+
programId: z.ZodString;
|
|
5923
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"off">, z.ZodLiteral<"paused">]>;
|
|
5924
|
+
confirm: z.ZodLiteral<"groups.setPlaybookAutoStart">;
|
|
5925
|
+
requestKey: z.ZodString;
|
|
5926
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5927
|
+
receipt: z.ZodObject<{
|
|
5928
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
5929
|
+
createdAt: z.ZodISODateTime;
|
|
5930
|
+
id: z.ZodString;
|
|
5931
|
+
operation: z.ZodString;
|
|
5932
|
+
requestKey: z.ZodString;
|
|
5933
|
+
status: z.ZodEnum<{
|
|
5934
|
+
failed: "failed";
|
|
5935
|
+
running: "running";
|
|
5936
|
+
succeeded: "succeeded";
|
|
5937
|
+
unknown: "unknown";
|
|
5938
|
+
}>;
|
|
5939
|
+
}, z.core.$strip>;
|
|
5940
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
5941
|
+
changed: z.ZodBoolean;
|
|
5942
|
+
id: z.ZodString;
|
|
5943
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"off">, z.ZodLiteral<"paused">]>;
|
|
5944
|
+
}, z.core.$strict>>;
|
|
5945
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5946
|
+
BAD_REQUEST: {
|
|
5947
|
+
message: string;
|
|
5948
|
+
};
|
|
5949
|
+
CONFLICT: {
|
|
5950
|
+
message: string;
|
|
5951
|
+
};
|
|
5952
|
+
FORBIDDEN: {
|
|
5953
|
+
message: string;
|
|
5954
|
+
};
|
|
5955
|
+
NOT_FOUND: {
|
|
5956
|
+
message: string;
|
|
5957
|
+
};
|
|
5958
|
+
PRECONDITION_FAILED: {
|
|
5959
|
+
message: string;
|
|
5960
|
+
};
|
|
5961
|
+
TOO_MANY_REQUESTS: {
|
|
5962
|
+
message: string;
|
|
5963
|
+
};
|
|
5964
|
+
UNAUTHORIZED: {
|
|
5965
|
+
message: string;
|
|
5966
|
+
};
|
|
5967
|
+
}>, {
|
|
5968
|
+
scope: import("./base.ts").Scope | null;
|
|
5969
|
+
} & Record<never, never>>;
|
|
5889
5970
|
suggestions: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
5890
5971
|
count: z.ZodNumber;
|
|
5891
5972
|
criteria: z.ZodObject<{
|
|
@@ -11495,6 +11576,7 @@ export declare const managementContract: {
|
|
|
11495
11576
|
config: z.ZodObject<{
|
|
11496
11577
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
11497
11578
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
11579
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
11498
11580
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
11499
11581
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
11500
11582
|
buddyInvitation: z.ZodString;
|
|
@@ -12005,6 +12087,7 @@ export declare const managementContract: {
|
|
|
12005
12087
|
playbook: z.ZodObject<{
|
|
12006
12088
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
12007
12089
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
12090
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
12008
12091
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
12009
12092
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
12010
12093
|
buddyInvitation: z.ZodString;
|
|
@@ -12110,6 +12193,7 @@ export declare const managementContract: {
|
|
|
12110
12193
|
playbook: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12111
12194
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
12112
12195
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
12196
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
12113
12197
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
12114
12198
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
12115
12199
|
buddyInvitation: z.ZodString;
|
|
@@ -17009,6 +17093,7 @@ export declare const managementContract: {
|
|
|
17009
17093
|
playbook: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
17010
17094
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
17011
17095
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
17096
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
17012
17097
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
17013
17098
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
17014
17099
|
buddyInvitation: z.ZodString;
|
|
@@ -161,6 +161,7 @@ const credentials_api_createInput = z
|
|
|
161
161
|
z.literal('groups.sendMessage'),
|
|
162
162
|
z.literal('groups.setAutomation'),
|
|
163
163
|
z.literal('groups.setAutomationState'),
|
|
164
|
+
z.literal('groups.setPlaybookAutoStart'),
|
|
164
165
|
z.literal('groups.suggestions'),
|
|
165
166
|
z.literal('home.feed'),
|
|
166
167
|
z.literal('home.places'),
|
|
@@ -1046,6 +1047,10 @@ const exports_teamOutput = z.strictObject({
|
|
|
1046
1047
|
.union([z.null(), z.string()])
|
|
1047
1048
|
.optional()
|
|
1048
1049
|
.optional(),
|
|
1050
|
+
autoStartPaused: z
|
|
1051
|
+
.union([z.literal(false), z.literal(true)])
|
|
1052
|
+
.optional()
|
|
1053
|
+
.optional(),
|
|
1049
1054
|
buddy: z
|
|
1050
1055
|
.union([z.literal(false), z.literal(true)])
|
|
1051
1056
|
.optional()
|
|
@@ -2113,6 +2118,7 @@ const credentials_api_listOutput = z.strictObject({
|
|
|
2113
2118
|
z.literal('groups.sendMessage'),
|
|
2114
2119
|
z.literal('groups.setAutomation'),
|
|
2115
2120
|
z.literal('groups.setAutomationState'),
|
|
2121
|
+
z.literal('groups.setPlaybookAutoStart'),
|
|
2116
2122
|
z.literal('groups.suggestions'),
|
|
2117
2123
|
z.literal('home.feed'),
|
|
2118
2124
|
z.literal('home.places'),
|
|
@@ -2542,6 +2548,7 @@ const credentials_api_listOutput = z.strictObject({
|
|
|
2542
2548
|
z.literal('groups.sendMessage'),
|
|
2543
2549
|
z.literal('groups.setAutomation'),
|
|
2544
2550
|
z.literal('groups.setAutomationState'),
|
|
2551
|
+
z.literal('groups.setPlaybookAutoStart'),
|
|
2545
2552
|
z.literal('groups.suggestions'),
|
|
2546
2553
|
z.literal('home.feed'),
|
|
2547
2554
|
z.literal('home.places'),
|
|
@@ -5123,6 +5130,40 @@ const groups_allAutomationsOutput = z.strictObject({
|
|
|
5123
5130
|
trigger: z.union([z.literal('entered'), z.literal('left')]),
|
|
5124
5131
|
updatedAt: z.iso.datetime({ offset: true }),
|
|
5125
5132
|
})),
|
|
5133
|
+
playbookStarts: z.array(z.strictObject({
|
|
5134
|
+
group: z.union([
|
|
5135
|
+
z.null(),
|
|
5136
|
+
z.strictObject({
|
|
5137
|
+
id: z.string(),
|
|
5138
|
+
kind: z.union([z.literal('dynamic'), z.literal('list')]),
|
|
5139
|
+
members: z.number(),
|
|
5140
|
+
name: z.string(),
|
|
5141
|
+
}),
|
|
5142
|
+
]),
|
|
5143
|
+
lastRunAt: z.union([z.null(), z.iso.datetime({ offset: true })]),
|
|
5144
|
+
playbook: z.strictObject({
|
|
5145
|
+
id: z.string(),
|
|
5146
|
+
name: z.string(),
|
|
5147
|
+
status: z.union([
|
|
5148
|
+
z.literal('active'),
|
|
5149
|
+
z.literal('archived'),
|
|
5150
|
+
z.literal('paused'),
|
|
5151
|
+
]),
|
|
5152
|
+
}),
|
|
5153
|
+
runs: z.number(),
|
|
5154
|
+
runs30: z.number(),
|
|
5155
|
+
state: z.union([z.literal('active'), z.literal('paused')]),
|
|
5156
|
+
})),
|
|
5157
|
+
programRosters: z.array(z.strictObject({
|
|
5158
|
+
group: z.strictObject({
|
|
5159
|
+
id: z.string(),
|
|
5160
|
+
kind: z.union([z.literal('dynamic'), z.literal('list')]),
|
|
5161
|
+
members: z.number(),
|
|
5162
|
+
name: z.string(),
|
|
5163
|
+
}),
|
|
5164
|
+
program: z.strictObject({ id: z.string(), name: z.string() }),
|
|
5165
|
+
state: z.union([z.literal('active'), z.literal('paused')]),
|
|
5166
|
+
})),
|
|
5126
5167
|
runs: z.array(z.strictObject({
|
|
5127
5168
|
at: z.iso.datetime({ offset: true }),
|
|
5128
5169
|
automationId: z.string(),
|
|
@@ -5354,6 +5395,34 @@ const groups_setAutomationStateOutput = z.object({
|
|
|
5354
5395
|
})
|
|
5355
5396
|
.nullable(),
|
|
5356
5397
|
});
|
|
5398
|
+
const groups_setPlaybookAutoStartInput = z
|
|
5399
|
+
.strictObject({
|
|
5400
|
+
groupId: z.union([z.null(), z.string()]).optional().optional(),
|
|
5401
|
+
programId: z.string(),
|
|
5402
|
+
state: z.union([
|
|
5403
|
+
z.literal('active'),
|
|
5404
|
+
z.literal('off'),
|
|
5405
|
+
z.literal('paused'),
|
|
5406
|
+
]),
|
|
5407
|
+
})
|
|
5408
|
+
.extend({
|
|
5409
|
+
confirm: z.literal('groups.setPlaybookAutoStart'),
|
|
5410
|
+
requestKey: z.string().min(1).max(128),
|
|
5411
|
+
});
|
|
5412
|
+
const groups_setPlaybookAutoStartOutput = z.object({
|
|
5413
|
+
receipt: commandReceiptSchema,
|
|
5414
|
+
result: z
|
|
5415
|
+
.strictObject({
|
|
5416
|
+
changed: z.boolean(),
|
|
5417
|
+
id: z.string(),
|
|
5418
|
+
state: z.union([
|
|
5419
|
+
z.literal('active'),
|
|
5420
|
+
z.literal('off'),
|
|
5421
|
+
z.literal('paused'),
|
|
5422
|
+
]),
|
|
5423
|
+
})
|
|
5424
|
+
.nullable(),
|
|
5425
|
+
});
|
|
5357
5426
|
const groups_removeAutomationInput = z.strictObject({ id: z.string() }).extend({
|
|
5358
5427
|
confirm: z.literal('groups.removeAutomation'),
|
|
5359
5428
|
requestKey: z.string().min(1).max(128),
|
|
@@ -8937,6 +9006,10 @@ const reports_overviewOutput = z.strictObject({
|
|
|
8937
9006
|
.union([z.null(), z.string()])
|
|
8938
9007
|
.optional()
|
|
8939
9008
|
.optional(),
|
|
9009
|
+
autoStartPaused: z
|
|
9010
|
+
.union([z.literal(false), z.literal(true)])
|
|
9011
|
+
.optional()
|
|
9012
|
+
.optional(),
|
|
8940
9013
|
buddy: z
|
|
8941
9014
|
.union([z.literal(false), z.literal(true)])
|
|
8942
9015
|
.optional()
|
|
@@ -9490,6 +9563,10 @@ const playbooks_programOutput = z.strictObject({
|
|
|
9490
9563
|
.optional()
|
|
9491
9564
|
.optional(),
|
|
9492
9565
|
autoStartGroupId: z.union([z.null(), z.string()]).optional().optional(),
|
|
9566
|
+
autoStartPaused: z
|
|
9567
|
+
.union([z.literal(false), z.literal(true)])
|
|
9568
|
+
.optional()
|
|
9569
|
+
.optional(),
|
|
9493
9570
|
buddy: z
|
|
9494
9571
|
.union([z.literal(false), z.literal(true)])
|
|
9495
9572
|
.optional()
|
|
@@ -9801,6 +9878,10 @@ const playbooks_saveProgramInput = z
|
|
|
9801
9878
|
.optional()
|
|
9802
9879
|
.optional(),
|
|
9803
9880
|
autoStartGroupId: z.union([z.null(), z.string()]).optional().optional(),
|
|
9881
|
+
autoStartPaused: z
|
|
9882
|
+
.union([z.literal(false), z.literal(true)])
|
|
9883
|
+
.optional()
|
|
9884
|
+
.optional(),
|
|
9804
9885
|
buddy: z
|
|
9805
9886
|
.union([z.literal(false), z.literal(true)])
|
|
9806
9887
|
.optional()
|
|
@@ -10000,6 +10081,10 @@ const playbooks_saveProgramOutput = z.object({
|
|
|
10000
10081
|
.union([z.null(), z.string()])
|
|
10001
10082
|
.optional()
|
|
10002
10083
|
.optional(),
|
|
10084
|
+
autoStartPaused: z
|
|
10085
|
+
.union([z.literal(false), z.literal(true)])
|
|
10086
|
+
.optional()
|
|
10087
|
+
.optional(),
|
|
10003
10088
|
buddy: z
|
|
10004
10089
|
.union([z.literal(false), z.literal(true)])
|
|
10005
10090
|
.optional()
|
|
@@ -17255,7 +17340,7 @@ export const managementContract = {
|
|
|
17255
17340
|
.route({
|
|
17256
17341
|
method: 'POST',
|
|
17257
17342
|
path: '/manage/groups/allAutomations',
|
|
17258
|
-
summary: 'Every
|
|
17343
|
+
summary: 'Every join and leave rule in the workspace: group automations with their group and last runs, playbooks that start on each start date and Connections programs whose people are a group; or only those that start one playbook, program or community',
|
|
17259
17344
|
})
|
|
17260
17345
|
.input(groups_allAutomationsInput)
|
|
17261
17346
|
.output(groups_allAutomationsOutput),
|
|
@@ -17457,6 +17542,15 @@ export const managementContract = {
|
|
|
17457
17542
|
})
|
|
17458
17543
|
.input(groups_setAutomationStateInput)
|
|
17459
17544
|
.output(groups_setAutomationStateOutput),
|
|
17545
|
+
setPlaybookAutoStart: base
|
|
17546
|
+
.meta({ scope: 'users:write' })
|
|
17547
|
+
.route({
|
|
17548
|
+
method: 'POST',
|
|
17549
|
+
path: '/manage/groups/setPlaybookAutoStart',
|
|
17550
|
+
summary: 'Turn on, pause or remove a playbook’s rule that starts it on each new hire’s start date, for everyone or one group',
|
|
17551
|
+
})
|
|
17552
|
+
.input(groups_setPlaybookAutoStartInput)
|
|
17553
|
+
.output(groups_setPlaybookAutoStartOutput),
|
|
17460
17554
|
suggestions: base
|
|
17461
17555
|
.meta({ scope: 'users:read' })
|
|
17462
17556
|
.route({
|
package/dist/permissions.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export declare const permissionSchema: z.ZodEnum<{
|
|
|
120
120
|
"groups.sendMessage": "groups.sendMessage";
|
|
121
121
|
"groups.setAutomation": "groups.setAutomation";
|
|
122
122
|
"groups.setAutomationState": "groups.setAutomationState";
|
|
123
|
+
"groups.setPlaybookAutoStart": "groups.setPlaybookAutoStart";
|
|
123
124
|
"groups.suggestions": "groups.suggestions";
|
|
124
125
|
"home.feed": "home.feed";
|
|
125
126
|
"home.places": "home.places";
|
|
@@ -501,6 +502,7 @@ export declare const permissionDefinitionSchema: z.ZodObject<{
|
|
|
501
502
|
"groups.sendMessage": "groups.sendMessage";
|
|
502
503
|
"groups.setAutomation": "groups.setAutomation";
|
|
503
504
|
"groups.setAutomationState": "groups.setAutomationState";
|
|
505
|
+
"groups.setPlaybookAutoStart": "groups.setPlaybookAutoStart";
|
|
504
506
|
"groups.suggestions": "groups.suggestions";
|
|
505
507
|
"home.feed": "home.feed";
|
|
506
508
|
"home.places": "home.places";
|