@shuffl/api-contracts 0.5.6 → 0.5.8

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 CHANGED
@@ -3214,7 +3214,7 @@ export declare const contract: {
3214
3214
  create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3215
3215
  acknowledgeExternalAccess: z.ZodLiteral<true>;
3216
3216
  name: z.ZodString;
3217
- 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.automationChoices">, 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.introductions">, 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.previewAs">, 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">]>>;
3217
+ 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.automationChoices">, 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<"mentorship.checkIns.answer">, z.ZodLiteral<"mentorship.goals.remove">, z.ZodLiteral<"mentorship.goals.save">, z.ZodLiteral<"mentorship.join">, z.ZodLiteral<"mentorship.leave">, z.ZodLiteral<"mentorship.members.setStatus">, z.ZodLiteral<"mentorship.mine">, z.ZodLiteral<"mentorship.pairs.decide">, z.ZodLiteral<"mentorship.pairs.end">, z.ZodLiteral<"mentorship.pairs.setMine">, z.ZodLiteral<"mentorship.pairs.suggest">, z.ZodLiteral<"mentorship.programs.get">, z.ZodLiteral<"mentorship.programs.list">, z.ZodLiteral<"mentorship.programs.save">, z.ZodLiteral<"mentorship.programs.setStatus">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, 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.previewAs">, 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">]>>;
3218
3218
  confirm: z.ZodLiteral<"credentials.api.create">;
3219
3219
  requestKey: z.ZodString;
3220
3220
  }, z.core.$strict>, z.ZodObject<{
@@ -3271,8 +3271,8 @@ export declare const contract: {
3271
3271
  isActive: z.ZodBoolean;
3272
3272
  lastUsedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
3273
3273
  name: z.ZodString;
3274
- 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.automationChoices">, 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.introductions">, 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.previewAs">, 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">]>>;
3275
- 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">]>>;
3274
+ 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.automationChoices">, 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<"mentorship.checkIns.answer">, z.ZodLiteral<"mentorship.goals.remove">, z.ZodLiteral<"mentorship.goals.save">, z.ZodLiteral<"mentorship.join">, z.ZodLiteral<"mentorship.leave">, z.ZodLiteral<"mentorship.members.setStatus">, z.ZodLiteral<"mentorship.mine">, z.ZodLiteral<"mentorship.pairs.decide">, z.ZodLiteral<"mentorship.pairs.end">, z.ZodLiteral<"mentorship.pairs.setMine">, z.ZodLiteral<"mentorship.pairs.suggest">, z.ZodLiteral<"mentorship.programs.get">, z.ZodLiteral<"mentorship.programs.list">, z.ZodLiteral<"mentorship.programs.save">, z.ZodLiteral<"mentorship.programs.setStatus">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, 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.previewAs">, 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">]>>;
3275
+ 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<"mentorship:read">, z.ZodLiteral<"mentorship:write">, 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">]>>;
3276
3276
  }, z.core.$strict>>;
3277
3277
  permissionCatalog: z.ZodArray<z.ZodObject<{
3278
3278
  access: z.ZodUnion<readonly [z.ZodLiteral<"read">, z.ZodLiteral<"write">]>;
@@ -3280,9 +3280,9 @@ export declare const contract: {
3280
3280
  description: z.ZodString;
3281
3281
  grantable: z.ZodBoolean;
3282
3282
  granted: z.ZodBoolean;
3283
- 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.automationChoices">, 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.introductions">, 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.previewAs">, 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">]>;
3283
+ 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.automationChoices">, 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<"mentorship.checkIns.answer">, z.ZodLiteral<"mentorship.goals.remove">, z.ZodLiteral<"mentorship.goals.save">, z.ZodLiteral<"mentorship.join">, z.ZodLiteral<"mentorship.leave">, z.ZodLiteral<"mentorship.members.setStatus">, z.ZodLiteral<"mentorship.mine">, z.ZodLiteral<"mentorship.pairs.decide">, z.ZodLiteral<"mentorship.pairs.end">, z.ZodLiteral<"mentorship.pairs.setMine">, z.ZodLiteral<"mentorship.pairs.suggest">, z.ZodLiteral<"mentorship.programs.get">, z.ZodLiteral<"mentorship.programs.list">, z.ZodLiteral<"mentorship.programs.save">, z.ZodLiteral<"mentorship.programs.setStatus">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, 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.previewAs">, 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">]>;
3284
3284
  resource: z.ZodString;
3285
- 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">]>;
3285
+ 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<"mentorship:read">, z.ZodLiteral<"mentorship:write">, 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">]>;
3286
3286
  }, z.core.$strict>>;
3287
3287
  }, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
3288
3288
  BAD_REQUEST: {
@@ -4813,6 +4813,8 @@ export declare const contract: {
4813
4813
  badgeId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4814
4814
  body: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
4815
4815
  channel: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"preferred">, z.ZodLiteral<"slack">]>>>;
4816
+ channelId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4817
+ channelName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4816
4818
  communityId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4817
4819
  note: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4818
4820
  personId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4832,7 +4834,7 @@ export declare const contract: {
4832
4834
  }, z.core.$strict>;
4833
4835
  groupId: z.ZodString;
4834
4836
  id: z.ZodString;
4835
- kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
4837
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"slack_invite">, z.ZodLiteral<"slack_post">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
4836
4838
  lastRunAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
4837
4839
  runs: z.ZodNumber;
4838
4840
  state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"paused">]>;
@@ -4883,7 +4885,7 @@ export declare const contract: {
4883
4885
  groupId: z.ZodString;
4884
4886
  groupName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
4885
4887
  id: z.ZodString;
4886
- kind: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
4888
+ kind: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"slack_invite">, z.ZodLiteral<"slack_post">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
4887
4889
  name: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
4888
4890
  outcome: z.ZodUnion<readonly [z.ZodLiteral<"done">, z.ZodLiteral<"failed">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"skipped">]>;
4889
4891
  personId: z.ZodString;
@@ -4976,6 +4978,8 @@ export declare const contract: {
4976
4978
  badgeId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4977
4979
  body: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
4978
4980
  channel: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"preferred">, z.ZodLiteral<"slack">]>>>;
4981
+ channelId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4982
+ channelName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4979
4983
  communityId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4980
4984
  note: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4981
4985
  personId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -4989,7 +4993,7 @@ export declare const contract: {
4989
4993
  delayDays: z.ZodNumber;
4990
4994
  groupId: z.ZodString;
4991
4995
  id: z.ZodString;
4992
- kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
4996
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"slack_invite">, z.ZodLiteral<"slack_post">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
4993
4997
  lastRunAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
4994
4998
  runs: z.ZodNumber;
4995
4999
  state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"paused">]>;
@@ -5009,7 +5013,7 @@ export declare const contract: {
5009
5013
  code: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
5010
5014
  dueAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
5011
5015
  id: z.ZodString;
5012
- kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
5016
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"slack_invite">, z.ZodLiteral<"slack_post">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
5013
5017
  name: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
5014
5018
  outcome: z.ZodUnion<readonly [z.ZodLiteral<"done">, z.ZodLiteral<"failed">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"skipped">]>;
5015
5019
  personId: z.ZodString;
@@ -6087,6 +6091,7 @@ export declare const contract: {
6087
6091
  badgeId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6088
6092
  body: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
6089
6093
  channel: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"preferred">, z.ZodLiteral<"slack">]>>>;
6094
+ channelId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6090
6095
  communityId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6091
6096
  note: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6092
6097
  personId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6098,7 +6103,7 @@ export declare const contract: {
6098
6103
  delayDays: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
6099
6104
  groupId: z.ZodString;
6100
6105
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6101
- kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
6106
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"slack_invite">, z.ZodLiteral<"slack_post">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
6102
6107
  trigger: z.ZodUnion<readonly [z.ZodLiteral<"entered">, z.ZodLiteral<"left">]>;
6103
6108
  confirm: z.ZodLiteral<"groups.setAutomation">;
6104
6109
  requestKey: z.ZodString;
@@ -6126,6 +6131,8 @@ export declare const contract: {
6126
6131
  badgeId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6127
6132
  body: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
6128
6133
  channel: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"preferred">, z.ZodLiteral<"slack">]>>>;
6134
+ channelId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6135
+ channelName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6129
6136
  communityId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6130
6137
  note: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6131
6138
  personId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -6139,7 +6146,7 @@ export declare const contract: {
6139
6146
  delayDays: z.ZodNumber;
6140
6147
  groupId: z.ZodString;
6141
6148
  id: z.ZodString;
6142
- kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
6149
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"slack_invite">, z.ZodLiteral<"slack_post">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
6143
6150
  lastRunAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
6144
6151
  runs: z.ZodNumber;
6145
6152
  state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"paused">]>;
@@ -6527,7 +6534,7 @@ export declare const contract: {
6527
6534
  } & Record<never, never>>;
6528
6535
  places: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
6529
6536
  places: z.ZodArray<z.ZodObject<{
6530
- id: z.ZodUnion<readonly [z.ZodLiteral<"badges">, z.ZodLiteral<"celebrations">, z.ZodLiteral<"chats">, z.ZodLiteral<"communities">, z.ZodLiteral<"connections">, z.ZodLiteral<"knowledge">, z.ZodLiteral<"playbook">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
6537
+ id: z.ZodUnion<readonly [z.ZodLiteral<"badges">, z.ZodLiteral<"celebrations">, z.ZodLiteral<"chats">, z.ZodLiteral<"communities">, z.ZodLiteral<"connections">, z.ZodLiteral<"knowledge">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
6531
6538
  waiting: z.ZodBoolean;
6532
6539
  }, z.core.$strict>>;
6533
6540
  }, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
@@ -8051,6 +8058,821 @@ export declare const contract: {
8051
8058
  scope: import("./base.ts").Scope | null;
8052
8059
  } & Record<never, never>>;
8053
8060
  };
8061
+ mentorship: {
8062
+ checkIns: {
8063
+ answer: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8064
+ answer: z.ZodUnion<readonly [z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
8065
+ checkInId: z.ZodString;
8066
+ confirm: z.ZodLiteral<"mentorship.checkIns.answer">;
8067
+ requestKey: z.ZodString;
8068
+ }, z.core.$strict>, z.ZodObject<{
8069
+ receipt: z.ZodObject<{
8070
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8071
+ createdAt: z.ZodISODateTime;
8072
+ id: z.ZodString;
8073
+ operation: z.ZodString;
8074
+ requestKey: z.ZodString;
8075
+ status: z.ZodEnum<{
8076
+ failed: "failed";
8077
+ running: "running";
8078
+ succeeded: "succeeded";
8079
+ unknown: "unknown";
8080
+ }>;
8081
+ }, z.core.$strip>;
8082
+ result: z.ZodNullable<z.ZodObject<{
8083
+ answer: z.ZodUnion<readonly [z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
8084
+ changed: z.ZodBoolean;
8085
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"final">]>;
8086
+ role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8087
+ }, z.core.$strict>>;
8088
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8089
+ BAD_REQUEST: {
8090
+ message: string;
8091
+ };
8092
+ CONFLICT: {
8093
+ message: string;
8094
+ };
8095
+ FORBIDDEN: {
8096
+ message: string;
8097
+ };
8098
+ NOT_FOUND: {
8099
+ message: string;
8100
+ };
8101
+ PRECONDITION_FAILED: {
8102
+ message: string;
8103
+ };
8104
+ TOO_MANY_REQUESTS: {
8105
+ message: string;
8106
+ };
8107
+ UNAUTHORIZED: {
8108
+ message: string;
8109
+ };
8110
+ }>, {
8111
+ scope: import("./base.ts").Scope | null;
8112
+ } & Record<never, never>>;
8113
+ };
8114
+ goals: {
8115
+ remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8116
+ goalId: z.ZodString;
8117
+ pairId: z.ZodString;
8118
+ confirm: z.ZodLiteral<"mentorship.goals.remove">;
8119
+ requestKey: z.ZodString;
8120
+ }, z.core.$strict>, z.ZodObject<{
8121
+ receipt: z.ZodObject<{
8122
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8123
+ createdAt: z.ZodISODateTime;
8124
+ id: z.ZodString;
8125
+ operation: z.ZodString;
8126
+ requestKey: z.ZodString;
8127
+ status: z.ZodEnum<{
8128
+ failed: "failed";
8129
+ running: "running";
8130
+ succeeded: "succeeded";
8131
+ unknown: "unknown";
8132
+ }>;
8133
+ }, z.core.$strip>;
8134
+ result: z.ZodNullable<z.ZodObject<{
8135
+ removed: z.ZodBoolean;
8136
+ }, z.core.$strict>>;
8137
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8138
+ BAD_REQUEST: {
8139
+ message: string;
8140
+ };
8141
+ CONFLICT: {
8142
+ message: string;
8143
+ };
8144
+ FORBIDDEN: {
8145
+ message: string;
8146
+ };
8147
+ NOT_FOUND: {
8148
+ message: string;
8149
+ };
8150
+ PRECONDITION_FAILED: {
8151
+ message: string;
8152
+ };
8153
+ TOO_MANY_REQUESTS: {
8154
+ message: string;
8155
+ };
8156
+ UNAUTHORIZED: {
8157
+ message: string;
8158
+ };
8159
+ }>, {
8160
+ scope: import("./base.ts").Scope | null;
8161
+ } & Record<never, never>>;
8162
+ save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8163
+ done: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
8164
+ goalId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8165
+ pairId: z.ZodString;
8166
+ title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8167
+ confirm: z.ZodLiteral<"mentorship.goals.save">;
8168
+ requestKey: z.ZodString;
8169
+ }, z.core.$strict>, z.ZodObject<{
8170
+ receipt: z.ZodObject<{
8171
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8172
+ createdAt: z.ZodISODateTime;
8173
+ id: z.ZodString;
8174
+ operation: z.ZodString;
8175
+ requestKey: z.ZodString;
8176
+ status: z.ZodEnum<{
8177
+ failed: "failed";
8178
+ running: "running";
8179
+ succeeded: "succeeded";
8180
+ unknown: "unknown";
8181
+ }>;
8182
+ }, z.core.$strip>;
8183
+ result: z.ZodNullable<z.ZodObject<{
8184
+ added: z.ZodBoolean;
8185
+ done: z.ZodBoolean;
8186
+ goalId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8187
+ }, z.core.$strict>>;
8188
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8189
+ BAD_REQUEST: {
8190
+ message: string;
8191
+ };
8192
+ CONFLICT: {
8193
+ message: string;
8194
+ };
8195
+ FORBIDDEN: {
8196
+ message: string;
8197
+ };
8198
+ NOT_FOUND: {
8199
+ message: string;
8200
+ };
8201
+ PRECONDITION_FAILED: {
8202
+ message: string;
8203
+ };
8204
+ TOO_MANY_REQUESTS: {
8205
+ message: string;
8206
+ };
8207
+ UNAUTHORIZED: {
8208
+ message: string;
8209
+ };
8210
+ }>, {
8211
+ scope: import("./base.ts").Scope | null;
8212
+ } & Record<never, never>>;
8213
+ };
8214
+ join: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8215
+ programId: z.ZodString;
8216
+ role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8217
+ topics: z.ZodString;
8218
+ confirm: z.ZodLiteral<"mentorship.join">;
8219
+ requestKey: z.ZodString;
8220
+ }, z.core.$strict>, z.ZodObject<{
8221
+ receipt: z.ZodObject<{
8222
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8223
+ createdAt: z.ZodISODateTime;
8224
+ id: z.ZodString;
8225
+ operation: z.ZodString;
8226
+ requestKey: z.ZodString;
8227
+ status: z.ZodEnum<{
8228
+ failed: "failed";
8229
+ running: "running";
8230
+ succeeded: "succeeded";
8231
+ unknown: "unknown";
8232
+ }>;
8233
+ }, z.core.$strip>;
8234
+ result: z.ZodNullable<z.ZodObject<{
8235
+ joined: z.ZodBoolean;
8236
+ role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8237
+ topics: z.ZodBoolean;
8238
+ }, z.core.$strict>>;
8239
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8240
+ BAD_REQUEST: {
8241
+ message: string;
8242
+ };
8243
+ CONFLICT: {
8244
+ message: string;
8245
+ };
8246
+ FORBIDDEN: {
8247
+ message: string;
8248
+ };
8249
+ NOT_FOUND: {
8250
+ message: string;
8251
+ };
8252
+ PRECONDITION_FAILED: {
8253
+ message: string;
8254
+ };
8255
+ TOO_MANY_REQUESTS: {
8256
+ message: string;
8257
+ };
8258
+ UNAUTHORIZED: {
8259
+ message: string;
8260
+ };
8261
+ }>, {
8262
+ scope: import("./base.ts").Scope | null;
8263
+ } & Record<never, never>>;
8264
+ leave: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8265
+ programId: z.ZodString;
8266
+ role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8267
+ confirm: z.ZodLiteral<"mentorship.leave">;
8268
+ requestKey: z.ZodString;
8269
+ }, z.core.$strict>, z.ZodObject<{
8270
+ receipt: z.ZodObject<{
8271
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8272
+ createdAt: z.ZodISODateTime;
8273
+ id: z.ZodString;
8274
+ operation: z.ZodString;
8275
+ requestKey: z.ZodString;
8276
+ status: z.ZodEnum<{
8277
+ failed: "failed";
8278
+ running: "running";
8279
+ succeeded: "succeeded";
8280
+ unknown: "unknown";
8281
+ }>;
8282
+ }, z.core.$strip>;
8283
+ result: z.ZodNullable<z.ZodObject<{
8284
+ changed: z.ZodBoolean;
8285
+ role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8286
+ }, z.core.$strict>>;
8287
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8288
+ BAD_REQUEST: {
8289
+ message: string;
8290
+ };
8291
+ CONFLICT: {
8292
+ message: string;
8293
+ };
8294
+ FORBIDDEN: {
8295
+ message: string;
8296
+ };
8297
+ NOT_FOUND: {
8298
+ message: string;
8299
+ };
8300
+ PRECONDITION_FAILED: {
8301
+ message: string;
8302
+ };
8303
+ TOO_MANY_REQUESTS: {
8304
+ message: string;
8305
+ };
8306
+ UNAUTHORIZED: {
8307
+ message: string;
8308
+ };
8309
+ }>, {
8310
+ scope: import("./base.ts").Scope | null;
8311
+ } & Record<never, never>>;
8312
+ members: {
8313
+ setStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8314
+ personId: z.ZodString;
8315
+ programId: z.ZodString;
8316
+ role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8317
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"removed">]>;
8318
+ confirm: z.ZodLiteral<"mentorship.members.setStatus">;
8319
+ requestKey: z.ZodString;
8320
+ }, z.core.$strict>, z.ZodObject<{
8321
+ receipt: z.ZodObject<{
8322
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8323
+ createdAt: z.ZodISODateTime;
8324
+ id: z.ZodString;
8325
+ operation: z.ZodString;
8326
+ requestKey: z.ZodString;
8327
+ status: z.ZodEnum<{
8328
+ failed: "failed";
8329
+ running: "running";
8330
+ succeeded: "succeeded";
8331
+ unknown: "unknown";
8332
+ }>;
8333
+ }, z.core.$strip>;
8334
+ result: z.ZodNullable<z.ZodObject<{
8335
+ changed: z.ZodBoolean;
8336
+ }, z.core.$strict>>;
8337
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8338
+ BAD_REQUEST: {
8339
+ message: string;
8340
+ };
8341
+ CONFLICT: {
8342
+ message: string;
8343
+ };
8344
+ FORBIDDEN: {
8345
+ message: string;
8346
+ };
8347
+ NOT_FOUND: {
8348
+ message: string;
8349
+ };
8350
+ PRECONDITION_FAILED: {
8351
+ message: string;
8352
+ };
8353
+ TOO_MANY_REQUESTS: {
8354
+ message: string;
8355
+ };
8356
+ UNAUTHORIZED: {
8357
+ message: string;
8358
+ };
8359
+ }>, {
8360
+ scope: import("./base.ts").Scope | null;
8361
+ } & Record<never, never>>;
8362
+ };
8363
+ mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
8364
+ pairs: z.ZodArray<z.ZodObject<{
8365
+ checkIns: z.ZodArray<z.ZodObject<{
8366
+ answer: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
8367
+ dueOn: z.ZodString;
8368
+ id: z.ZodString;
8369
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"final">]>;
8370
+ }, z.core.$strict>>;
8371
+ endedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8372
+ endsOn: z.ZodString;
8373
+ goals: z.ZodArray<z.ZodObject<{
8374
+ done: z.ZodBoolean;
8375
+ id: z.ZodString;
8376
+ title: z.ZodString;
8377
+ }, z.core.$strict>>;
8378
+ id: z.ZodString;
8379
+ nextCheckInOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8380
+ other: z.ZodObject<{
8381
+ id: z.ZodString;
8382
+ name: z.ZodString;
8383
+ photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8384
+ slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8385
+ title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8386
+ userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8387
+ }, z.core.$strict>;
8388
+ otherTopics: z.ZodString;
8389
+ program: z.ZodString;
8390
+ role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8391
+ startedAt: z.ZodString;
8392
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
8393
+ }, z.core.$strict>>;
8394
+ programs: z.ZodArray<z.ZodObject<{
8395
+ audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8396
+ description: z.ZodString;
8397
+ id: z.ZodString;
8398
+ mentee: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
8399
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
8400
+ topics: z.ZodString;
8401
+ }, z.core.$strict>]>;
8402
+ mentor: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
8403
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
8404
+ topics: z.ZodString;
8405
+ }, z.core.$strict>]>;
8406
+ name: z.ZodString;
8407
+ terms: z.ZodString;
8408
+ waiting: z.ZodBoolean;
8409
+ }, z.core.$strict>>;
8410
+ }, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8411
+ BAD_REQUEST: {
8412
+ message: string;
8413
+ };
8414
+ CONFLICT: {
8415
+ message: string;
8416
+ };
8417
+ FORBIDDEN: {
8418
+ message: string;
8419
+ };
8420
+ NOT_FOUND: {
8421
+ message: string;
8422
+ };
8423
+ PRECONDITION_FAILED: {
8424
+ message: string;
8425
+ };
8426
+ TOO_MANY_REQUESTS: {
8427
+ message: string;
8428
+ };
8429
+ UNAUTHORIZED: {
8430
+ message: string;
8431
+ };
8432
+ }>, {
8433
+ scope: import("./base.ts").Scope | null;
8434
+ } & Record<never, never>>;
8435
+ pairs: {
8436
+ decide: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8437
+ decision: z.ZodUnion<readonly [z.ZodLiteral<"approve">, z.ZodLiteral<"skip">]>;
8438
+ pairId: z.ZodString;
8439
+ confirm: z.ZodLiteral<"mentorship.pairs.decide">;
8440
+ requestKey: z.ZodString;
8441
+ }, z.core.$strict>, z.ZodObject<{
8442
+ receipt: z.ZodObject<{
8443
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8444
+ createdAt: z.ZodISODateTime;
8445
+ id: z.ZodString;
8446
+ operation: z.ZodString;
8447
+ requestKey: z.ZodString;
8448
+ status: z.ZodEnum<{
8449
+ failed: "failed";
8450
+ running: "running";
8451
+ succeeded: "succeeded";
8452
+ unknown: "unknown";
8453
+ }>;
8454
+ }, z.core.$strip>;
8455
+ result: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
8456
+ decision: z.ZodLiteral<"skip">;
8457
+ endsOn: z.ZodOptional<z.ZodUndefined>;
8458
+ reached: z.ZodNumber;
8459
+ status: z.ZodLiteral<"skipped">;
8460
+ }, z.core.$strict>, z.ZodObject<{
8461
+ decision: z.ZodLiteral<"approve">;
8462
+ endsOn: z.ZodString;
8463
+ reached: z.ZodNumber;
8464
+ status: z.ZodLiteral<"active">;
8465
+ }, z.core.$strict>]>>;
8466
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8467
+ BAD_REQUEST: {
8468
+ message: string;
8469
+ };
8470
+ CONFLICT: {
8471
+ message: string;
8472
+ };
8473
+ FORBIDDEN: {
8474
+ message: string;
8475
+ };
8476
+ NOT_FOUND: {
8477
+ message: string;
8478
+ };
8479
+ PRECONDITION_FAILED: {
8480
+ message: string;
8481
+ };
8482
+ TOO_MANY_REQUESTS: {
8483
+ message: string;
8484
+ };
8485
+ UNAUTHORIZED: {
8486
+ message: string;
8487
+ };
8488
+ }>, {
8489
+ scope: import("./base.ts").Scope | null;
8490
+ } & Record<never, never>>;
8491
+ end: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8492
+ pairId: z.ZodString;
8493
+ confirm: z.ZodLiteral<"mentorship.pairs.end">;
8494
+ requestKey: z.ZodString;
8495
+ }, z.core.$strict>, z.ZodObject<{
8496
+ receipt: z.ZodObject<{
8497
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8498
+ createdAt: z.ZodISODateTime;
8499
+ id: z.ZodString;
8500
+ operation: z.ZodString;
8501
+ requestKey: z.ZodString;
8502
+ status: z.ZodEnum<{
8503
+ failed: "failed";
8504
+ running: "running";
8505
+ succeeded: "succeeded";
8506
+ unknown: "unknown";
8507
+ }>;
8508
+ }, z.core.$strip>;
8509
+ result: z.ZodNullable<z.ZodObject<{
8510
+ changed: z.ZodBoolean;
8511
+ }, z.core.$strict>>;
8512
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8513
+ BAD_REQUEST: {
8514
+ message: string;
8515
+ };
8516
+ CONFLICT: {
8517
+ message: string;
8518
+ };
8519
+ FORBIDDEN: {
8520
+ message: string;
8521
+ };
8522
+ NOT_FOUND: {
8523
+ message: string;
8524
+ };
8525
+ PRECONDITION_FAILED: {
8526
+ message: string;
8527
+ };
8528
+ TOO_MANY_REQUESTS: {
8529
+ message: string;
8530
+ };
8531
+ UNAUTHORIZED: {
8532
+ message: string;
8533
+ };
8534
+ }>, {
8535
+ scope: import("./base.ts").Scope | null;
8536
+ } & Record<never, never>>;
8537
+ setMine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8538
+ pairId: z.ZodString;
8539
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
8540
+ confirm: z.ZodLiteral<"mentorship.pairs.setMine">;
8541
+ requestKey: z.ZodString;
8542
+ }, z.core.$strict>, z.ZodObject<{
8543
+ receipt: z.ZodObject<{
8544
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8545
+ createdAt: z.ZodISODateTime;
8546
+ id: z.ZodString;
8547
+ operation: z.ZodString;
8548
+ requestKey: z.ZodString;
8549
+ status: z.ZodEnum<{
8550
+ failed: "failed";
8551
+ running: "running";
8552
+ succeeded: "succeeded";
8553
+ unknown: "unknown";
8554
+ }>;
8555
+ }, z.core.$strip>;
8556
+ result: z.ZodNullable<z.ZodObject<{
8557
+ changed: z.ZodBoolean;
8558
+ role: z.ZodString;
8559
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
8560
+ }, z.core.$strict>>;
8561
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8562
+ BAD_REQUEST: {
8563
+ message: string;
8564
+ };
8565
+ CONFLICT: {
8566
+ message: string;
8567
+ };
8568
+ FORBIDDEN: {
8569
+ message: string;
8570
+ };
8571
+ NOT_FOUND: {
8572
+ message: string;
8573
+ };
8574
+ PRECONDITION_FAILED: {
8575
+ message: string;
8576
+ };
8577
+ TOO_MANY_REQUESTS: {
8578
+ message: string;
8579
+ };
8580
+ UNAUTHORIZED: {
8581
+ message: string;
8582
+ };
8583
+ }>, {
8584
+ scope: import("./base.ts").Scope | null;
8585
+ } & Record<never, never>>;
8586
+ suggest: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8587
+ programId: z.ZodString;
8588
+ confirm: z.ZodLiteral<"mentorship.pairs.suggest">;
8589
+ requestKey: z.ZodString;
8590
+ }, z.core.$strict>, z.ZodObject<{
8591
+ receipt: z.ZodObject<{
8592
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8593
+ createdAt: z.ZodISODateTime;
8594
+ id: z.ZodString;
8595
+ operation: z.ZodString;
8596
+ requestKey: z.ZodString;
8597
+ status: z.ZodEnum<{
8598
+ failed: "failed";
8599
+ running: "running";
8600
+ succeeded: "succeeded";
8601
+ unknown: "unknown";
8602
+ }>;
8603
+ }, z.core.$strip>;
8604
+ result: z.ZodNullable<z.ZodObject<{
8605
+ suggested: z.ZodNumber;
8606
+ waiting: z.ZodNumber;
8607
+ }, z.core.$strict>>;
8608
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8609
+ BAD_REQUEST: {
8610
+ message: string;
8611
+ };
8612
+ CONFLICT: {
8613
+ message: string;
8614
+ };
8615
+ FORBIDDEN: {
8616
+ message: string;
8617
+ };
8618
+ NOT_FOUND: {
8619
+ message: string;
8620
+ };
8621
+ PRECONDITION_FAILED: {
8622
+ message: string;
8623
+ };
8624
+ TOO_MANY_REQUESTS: {
8625
+ message: string;
8626
+ };
8627
+ UNAUTHORIZED: {
8628
+ message: string;
8629
+ };
8630
+ }>, {
8631
+ scope: import("./base.ts").Scope | null;
8632
+ } & Record<never, never>>;
8633
+ };
8634
+ programs: {
8635
+ get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8636
+ programId: z.ZodString;
8637
+ }, z.core.$strict>, z.ZodObject<{
8638
+ members: z.ZodArray<z.ZodObject<{
8639
+ id: z.ZodString;
8640
+ joinedAt: z.ZodString;
8641
+ name: z.ZodString;
8642
+ pairs: z.ZodNumber;
8643
+ photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8644
+ role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8645
+ slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8646
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
8647
+ title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8648
+ topics: z.ZodString;
8649
+ userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8650
+ }, z.core.$strict>>;
8651
+ pairs: z.ZodArray<z.ZodObject<{
8652
+ checkIns: z.ZodObject<{
8653
+ answered: z.ZodNumber;
8654
+ asked: z.ZodNumber;
8655
+ met: z.ZodNumber;
8656
+ }, z.core.$strict>;
8657
+ endedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8658
+ endReason: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"completed">, z.ZodLiteral<"hr">, z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
8659
+ endsOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8660
+ final: z.ZodObject<{
8661
+ mentee: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
8662
+ mentor: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
8663
+ }, z.core.$strict>;
8664
+ id: z.ZodString;
8665
+ mentee: z.ZodObject<{
8666
+ id: z.ZodString;
8667
+ name: z.ZodString;
8668
+ photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8669
+ slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8670
+ title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8671
+ userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8672
+ }, z.core.$strict>;
8673
+ mentor: z.ZodObject<{
8674
+ id: z.ZodString;
8675
+ name: z.ZodString;
8676
+ photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8677
+ slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8678
+ title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8679
+ userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8680
+ }, z.core.$strict>;
8681
+ nextCheckInOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8682
+ reasons: z.ZodArray<z.ZodString>;
8683
+ startedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8684
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">, z.ZodLiteral<"skipped">, z.ZodLiteral<"suggested">]>;
8685
+ suggestedAt: z.ZodString;
8686
+ }, z.core.$strict>>;
8687
+ program: z.ZodObject<{
8688
+ activePairs: z.ZodNumber;
8689
+ audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8690
+ checkInWeeks: z.ZodNumber;
8691
+ createdAt: z.ZodString;
8692
+ description: z.ZodString;
8693
+ groupId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8694
+ id: z.ZodString;
8695
+ mentees: z.ZodNumber;
8696
+ mentorCapacity: z.ZodNumber;
8697
+ mentors: z.ZodNumber;
8698
+ name: z.ZodString;
8699
+ pairingWeeks: z.ZodNumber;
8700
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
8701
+ suggested: z.ZodNumber;
8702
+ waiting: z.ZodNumber;
8703
+ }, z.core.$strict>;
8704
+ }, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8705
+ BAD_REQUEST: {
8706
+ message: string;
8707
+ };
8708
+ CONFLICT: {
8709
+ message: string;
8710
+ };
8711
+ FORBIDDEN: {
8712
+ message: string;
8713
+ };
8714
+ NOT_FOUND: {
8715
+ message: string;
8716
+ };
8717
+ PRECONDITION_FAILED: {
8718
+ message: string;
8719
+ };
8720
+ TOO_MANY_REQUESTS: {
8721
+ message: string;
8722
+ };
8723
+ UNAUTHORIZED: {
8724
+ message: string;
8725
+ };
8726
+ }>, {
8727
+ scope: import("./base.ts").Scope | null;
8728
+ } & Record<never, never>>;
8729
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
8730
+ programs: z.ZodArray<z.ZodObject<{
8731
+ activePairs: z.ZodNumber;
8732
+ audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8733
+ checkInWeeks: z.ZodNumber;
8734
+ createdAt: z.ZodString;
8735
+ description: z.ZodString;
8736
+ groupId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
8737
+ id: z.ZodString;
8738
+ mentees: z.ZodNumber;
8739
+ mentorCapacity: z.ZodNumber;
8740
+ mentors: z.ZodNumber;
8741
+ name: z.ZodString;
8742
+ pairingWeeks: z.ZodNumber;
8743
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
8744
+ suggested: z.ZodNumber;
8745
+ waiting: z.ZodNumber;
8746
+ }, z.core.$strict>>;
8747
+ }, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8748
+ BAD_REQUEST: {
8749
+ message: string;
8750
+ };
8751
+ CONFLICT: {
8752
+ message: string;
8753
+ };
8754
+ FORBIDDEN: {
8755
+ message: string;
8756
+ };
8757
+ NOT_FOUND: {
8758
+ message: string;
8759
+ };
8760
+ PRECONDITION_FAILED: {
8761
+ message: string;
8762
+ };
8763
+ TOO_MANY_REQUESTS: {
8764
+ message: string;
8765
+ };
8766
+ UNAUTHORIZED: {
8767
+ message: string;
8768
+ };
8769
+ }>, {
8770
+ scope: import("./base.ts").Scope | null;
8771
+ } & Record<never, never>>;
8772
+ save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8773
+ checkInWeeks: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
8774
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8775
+ groupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
8776
+ id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8777
+ mentorCapacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
8778
+ name: z.ZodString;
8779
+ pairingWeeks: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
8780
+ confirm: z.ZodLiteral<"mentorship.programs.save">;
8781
+ requestKey: z.ZodString;
8782
+ }, z.core.$strict>, z.ZodObject<{
8783
+ receipt: z.ZodObject<{
8784
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8785
+ createdAt: z.ZodISODateTime;
8786
+ id: z.ZodString;
8787
+ operation: z.ZodString;
8788
+ requestKey: z.ZodString;
8789
+ status: z.ZodEnum<{
8790
+ failed: "failed";
8791
+ running: "running";
8792
+ succeeded: "succeeded";
8793
+ unknown: "unknown";
8794
+ }>;
8795
+ }, z.core.$strip>;
8796
+ result: z.ZodNullable<z.ZodObject<{
8797
+ created: z.ZodBoolean;
8798
+ grouped: z.ZodBoolean;
8799
+ id: z.ZodString;
8800
+ }, z.core.$strict>>;
8801
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8802
+ BAD_REQUEST: {
8803
+ message: string;
8804
+ };
8805
+ CONFLICT: {
8806
+ message: string;
8807
+ };
8808
+ FORBIDDEN: {
8809
+ message: string;
8810
+ };
8811
+ NOT_FOUND: {
8812
+ message: string;
8813
+ };
8814
+ PRECONDITION_FAILED: {
8815
+ message: string;
8816
+ };
8817
+ TOO_MANY_REQUESTS: {
8818
+ message: string;
8819
+ };
8820
+ UNAUTHORIZED: {
8821
+ message: string;
8822
+ };
8823
+ }>, {
8824
+ scope: import("./base.ts").Scope | null;
8825
+ } & Record<never, never>>;
8826
+ setStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8827
+ programId: z.ZodString;
8828
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
8829
+ confirm: z.ZodLiteral<"mentorship.programs.setStatus">;
8830
+ requestKey: z.ZodString;
8831
+ }, z.core.$strict>, z.ZodObject<{
8832
+ receipt: z.ZodObject<{
8833
+ completedAt: z.ZodNullable<z.ZodISODateTime>;
8834
+ createdAt: z.ZodISODateTime;
8835
+ id: z.ZodString;
8836
+ operation: z.ZodString;
8837
+ requestKey: z.ZodString;
8838
+ status: z.ZodEnum<{
8839
+ failed: "failed";
8840
+ running: "running";
8841
+ succeeded: "succeeded";
8842
+ unknown: "unknown";
8843
+ }>;
8844
+ }, z.core.$strip>;
8845
+ result: z.ZodNullable<z.ZodObject<{
8846
+ changed: z.ZodBoolean;
8847
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
8848
+ }, z.core.$strict>>;
8849
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
8850
+ BAD_REQUEST: {
8851
+ message: string;
8852
+ };
8853
+ CONFLICT: {
8854
+ message: string;
8855
+ };
8856
+ FORBIDDEN: {
8857
+ message: string;
8858
+ };
8859
+ NOT_FOUND: {
8860
+ message: string;
8861
+ };
8862
+ PRECONDITION_FAILED: {
8863
+ message: string;
8864
+ };
8865
+ TOO_MANY_REQUESTS: {
8866
+ message: string;
8867
+ };
8868
+ UNAUTHORIZED: {
8869
+ message: string;
8870
+ };
8871
+ }>, {
8872
+ scope: import("./base.ts").Scope | null;
8873
+ } & Record<never, never>>;
8874
+ };
8875
+ };
8054
8876
  network: {
8055
8877
  claim: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8056
8878
  kind: z.ZodUnion<readonly [z.ZodLiteral<"knows">, z.ZodLiteral<"wants_to_meet">]>;
@@ -8439,13 +9261,13 @@ export declare const contract: {
8439
9261
  preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
8440
9262
  groups: z.ZodArray<z.ZodObject<{
8441
9263
  id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
8442
- kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
9264
+ kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
8443
9265
  title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
8444
9266
  }, z.core.$strict>>;
8445
9267
  preferences: z.ZodArray<z.ZodObject<{
8446
9268
  channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
8447
9269
  email: z.ZodBoolean;
8448
- kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
9270
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
8449
9271
  slack: z.ZodBoolean;
8450
9272
  teams: z.ZodBoolean;
8451
9273
  }, z.core.$strict>>;
@@ -8478,7 +9300,7 @@ export declare const contract: {
8478
9300
  save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
8479
9301
  channel: z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>;
8480
9302
  enabled: z.ZodBoolean;
8481
- kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
9303
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
8482
9304
  requestKey: z.ZodString;
8483
9305
  }, z.core.$strict>, z.ZodObject<{
8484
9306
  receipt: z.ZodObject<{
@@ -8497,13 +9319,13 @@ export declare const contract: {
8497
9319
  result: z.ZodNullable<z.ZodObject<{
8498
9320
  groups: z.ZodArray<z.ZodObject<{
8499
9321
  id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
8500
- kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
9322
+ kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
8501
9323
  title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
8502
9324
  }, z.core.$strict>>;
8503
9325
  preferences: z.ZodArray<z.ZodObject<{
8504
9326
  channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
8505
9327
  email: z.ZodBoolean;
8506
- kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
9328
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
8507
9329
  slack: z.ZodBoolean;
8508
9330
  teams: z.ZodBoolean;
8509
9331
  }, z.core.$strict>>;
@@ -19590,6 +20412,21 @@ export declare const contract: {
19590
20412
  "knowledge.uploads.retry": "knowledge.uploads.retry";
19591
20413
  "manager.current": "manager.current";
19592
20414
  "mcp.knowledge": "mcp.knowledge";
20415
+ "mentorship.checkIns.answer": "mentorship.checkIns.answer";
20416
+ "mentorship.goals.remove": "mentorship.goals.remove";
20417
+ "mentorship.goals.save": "mentorship.goals.save";
20418
+ "mentorship.join": "mentorship.join";
20419
+ "mentorship.leave": "mentorship.leave";
20420
+ "mentorship.members.setStatus": "mentorship.members.setStatus";
20421
+ "mentorship.mine": "mentorship.mine";
20422
+ "mentorship.pairs.decide": "mentorship.pairs.decide";
20423
+ "mentorship.pairs.end": "mentorship.pairs.end";
20424
+ "mentorship.pairs.setMine": "mentorship.pairs.setMine";
20425
+ "mentorship.pairs.suggest": "mentorship.pairs.suggest";
20426
+ "mentorship.programs.get": "mentorship.programs.get";
20427
+ "mentorship.programs.list": "mentorship.programs.list";
20428
+ "mentorship.programs.save": "mentorship.programs.save";
20429
+ "mentorship.programs.setStatus": "mentorship.programs.setStatus";
19593
20430
  "network.claim": "network.claim";
19594
20431
  "network.introductions": "network.introductions";
19595
20432
  "network.mine": "network.mine";
@@ -19811,6 +20648,8 @@ export declare const contract: {
19811
20648
  "knowledge:read": "knowledge:read";
19812
20649
  "knowledge:write": "knowledge:write";
19813
20650
  "manager:read": "manager:read";
20651
+ "mentorship:read": "mentorship:read";
20652
+ "mentorship:write": "mentorship:write";
19814
20653
  "operations:read": "operations:read";
19815
20654
  "operations:write": "operations:write";
19816
20655
  "operator:read": "operator:read";
@@ -20020,6 +20859,21 @@ export declare const contract: {
20020
20859
  "knowledge.uploads.retry": "knowledge.uploads.retry";
20021
20860
  "manager.current": "manager.current";
20022
20861
  "mcp.knowledge": "mcp.knowledge";
20862
+ "mentorship.checkIns.answer": "mentorship.checkIns.answer";
20863
+ "mentorship.goals.remove": "mentorship.goals.remove";
20864
+ "mentorship.goals.save": "mentorship.goals.save";
20865
+ "mentorship.join": "mentorship.join";
20866
+ "mentorship.leave": "mentorship.leave";
20867
+ "mentorship.members.setStatus": "mentorship.members.setStatus";
20868
+ "mentorship.mine": "mentorship.mine";
20869
+ "mentorship.pairs.decide": "mentorship.pairs.decide";
20870
+ "mentorship.pairs.end": "mentorship.pairs.end";
20871
+ "mentorship.pairs.setMine": "mentorship.pairs.setMine";
20872
+ "mentorship.pairs.suggest": "mentorship.pairs.suggest";
20873
+ "mentorship.programs.get": "mentorship.programs.get";
20874
+ "mentorship.programs.list": "mentorship.programs.list";
20875
+ "mentorship.programs.save": "mentorship.programs.save";
20876
+ "mentorship.programs.setStatus": "mentorship.programs.setStatus";
20023
20877
  "network.claim": "network.claim";
20024
20878
  "network.introductions": "network.introductions";
20025
20879
  "network.mine": "network.mine";
@@ -23362,7 +24216,7 @@ export declare const contract: {
23362
24216
  }, z.core.$strict>]>;
23363
24217
  }, z.core.$strict>, z.ZodObject<{
23364
24218
  at: z.ZodISODateTime;
23365
- automation: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
24219
+ automation: z.ZodUnion<readonly [z.ZodLiteral<"add_to_group">, z.ZodLiteral<"add_to_program">, z.ZodLiteral<"ask_pulse">, z.ZodLiteral<"give_badge">, z.ZodLiteral<"invite_community">, z.ZodLiteral<"remove_from_group">, z.ZodLiteral<"send_message">, z.ZodLiteral<"slack_invite">, z.ZodLiteral<"slack_post">, z.ZodLiteral<"start_playbook">, z.ZodLiteral<"tell_hr">, z.ZodLiteral<"tell_manager">, z.ZodLiteral<"tell_person">]>;
23366
24220
  group: z.ZodObject<{
23367
24221
  id: z.ZodString;
23368
24222
  name: z.ZodString;