@shuffl/api-contracts 0.5.0 → 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 +166 -3
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +16 -1
- package/dist/management.generated.d.ts +162 -3
- package/dist/management.generated.js +166 -1
- package/dist/permissions.d.ts +4 -0
- package/openapi.json +1989 -411
- 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.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.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.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<{
|
|
@@ -11205,6 +11286,55 @@ export declare const managementContract: {
|
|
|
11205
11286
|
}>, {
|
|
11206
11287
|
scope: import("./base.ts").Scope | null;
|
|
11207
11288
|
} & Record<never, never>>;
|
|
11289
|
+
nudge: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
11290
|
+
enrollmentId: z.ZodString;
|
|
11291
|
+
ownerPersonId: z.ZodString;
|
|
11292
|
+
confirm: z.ZodLiteral<"playbooks.nudge">;
|
|
11293
|
+
requestKey: z.ZodString;
|
|
11294
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11295
|
+
receipt: z.ZodObject<{
|
|
11296
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
11297
|
+
createdAt: z.ZodISODateTime;
|
|
11298
|
+
id: z.ZodString;
|
|
11299
|
+
operation: z.ZodString;
|
|
11300
|
+
requestKey: z.ZodString;
|
|
11301
|
+
status: z.ZodEnum<{
|
|
11302
|
+
failed: "failed";
|
|
11303
|
+
running: "running";
|
|
11304
|
+
succeeded: "succeeded";
|
|
11305
|
+
unknown: "unknown";
|
|
11306
|
+
}>;
|
|
11307
|
+
}, z.core.$strip>;
|
|
11308
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
11309
|
+
nudgedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
11310
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"failed">, z.ZodLiteral<"no_slack">, z.ZodLiteral<"nothing_overdue">, z.ZodLiteral<"off">, z.ZodLiteral<"recent">, z.ZodLiteral<"sent">]>;
|
|
11311
|
+
todos: z.ZodNumber;
|
|
11312
|
+
}, z.core.$strict>>;
|
|
11313
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
11314
|
+
BAD_REQUEST: {
|
|
11315
|
+
message: string;
|
|
11316
|
+
};
|
|
11317
|
+
CONFLICT: {
|
|
11318
|
+
message: string;
|
|
11319
|
+
};
|
|
11320
|
+
FORBIDDEN: {
|
|
11321
|
+
message: string;
|
|
11322
|
+
};
|
|
11323
|
+
NOT_FOUND: {
|
|
11324
|
+
message: string;
|
|
11325
|
+
};
|
|
11326
|
+
PRECONDITION_FAILED: {
|
|
11327
|
+
message: string;
|
|
11328
|
+
};
|
|
11329
|
+
TOO_MANY_REQUESTS: {
|
|
11330
|
+
message: string;
|
|
11331
|
+
};
|
|
11332
|
+
UNAUTHORIZED: {
|
|
11333
|
+
message: string;
|
|
11334
|
+
};
|
|
11335
|
+
}>, {
|
|
11336
|
+
scope: import("./base.ts").Scope | null;
|
|
11337
|
+
} & Record<never, never>>;
|
|
11208
11338
|
person: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
11209
11339
|
personId: z.ZodString;
|
|
11210
11340
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -11446,6 +11576,7 @@ export declare const managementContract: {
|
|
|
11446
11576
|
config: z.ZodObject<{
|
|
11447
11577
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
11448
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>]>>>;
|
|
11449
11580
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
11450
11581
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
11451
11582
|
buddyInvitation: z.ZodString;
|
|
@@ -11499,6 +11630,12 @@ export declare const managementContract: {
|
|
|
11499
11630
|
}, z.core.$strict>>>>;
|
|
11500
11631
|
timezone: z.ZodString;
|
|
11501
11632
|
}, z.core.$strict>;
|
|
11633
|
+
hires: z.ZodObject<{
|
|
11634
|
+
active: z.ZodNumber;
|
|
11635
|
+
askedForHelp: z.ZodNumber;
|
|
11636
|
+
onTime: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
11637
|
+
overdue: z.ZodNumber;
|
|
11638
|
+
}, z.core.$strict>;
|
|
11502
11639
|
intro: z.ZodString;
|
|
11503
11640
|
program: z.ZodObject<{
|
|
11504
11641
|
id: z.ZodString;
|
|
@@ -11539,6 +11676,25 @@ export declare const managementContract: {
|
|
|
11539
11676
|
state: z.ZodLiteral<"none">;
|
|
11540
11677
|
total: z.ZodNumber;
|
|
11541
11678
|
}, z.core.$strict>]>;
|
|
11679
|
+
progress: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
11680
|
+
day: z.ZodNumber;
|
|
11681
|
+
done: z.ZodNumber;
|
|
11682
|
+
help: z.ZodBoolean;
|
|
11683
|
+
next: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
11684
|
+
at: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
11685
|
+
title: z.ZodString;
|
|
11686
|
+
}, z.core.$strict>]>;
|
|
11687
|
+
overdue: z.ZodArray<z.ZodObject<{
|
|
11688
|
+
count: z.ZodNumber;
|
|
11689
|
+
nudgedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
11690
|
+
ownerId: z.ZodString;
|
|
11691
|
+
ownerName: z.ZodString;
|
|
11692
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"manager">, z.ZodLiteral<"other">]>;
|
|
11693
|
+
since: z.ZodISODateTime;
|
|
11694
|
+
}, z.core.$strict>>;
|
|
11695
|
+
total: z.ZodNumber;
|
|
11696
|
+
unconfirmed: z.ZodNumber;
|
|
11697
|
+
}, z.core.$strict>]>;
|
|
11542
11698
|
removalReason: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"access_suspended">, z.ZodLiteral<"administrator">, z.ZodLiteral<"employment_ended">, z.ZodLiteral<"leaving_cancelled">]>;
|
|
11543
11699
|
revision: z.ZodNumber;
|
|
11544
11700
|
startDate: z.ZodString;
|
|
@@ -11931,6 +12087,7 @@ export declare const managementContract: {
|
|
|
11931
12087
|
playbook: z.ZodObject<{
|
|
11932
12088
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
11933
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>]>>>;
|
|
11934
12091
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
11935
12092
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
11936
12093
|
buddyInvitation: z.ZodString;
|
|
@@ -12036,6 +12193,7 @@ export declare const managementContract: {
|
|
|
12036
12193
|
playbook: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12037
12194
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
12038
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>]>>>;
|
|
12039
12197
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
12040
12198
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
12041
12199
|
buddyInvitation: z.ZodString;
|
|
@@ -16935,6 +17093,7 @@ export declare const managementContract: {
|
|
|
16935
17093
|
playbook: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
16936
17094
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
16937
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>]>>>;
|
|
16938
17097
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
16939
17098
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
16940
17099
|
buddyInvitation: z.ZodString;
|