@shuffl/api-contracts 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.d.ts +3 -1
- package/dist/base.js +5 -0
- package/dist/index.d.ts +858 -11
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +105 -0
- package/dist/management.generated.d.ts +826 -11
- package/dist/management.generated.js +639 -0
- package/dist/permissions.d.ts +33 -1
- package/dist/permissions.js +6 -1
- package/openapi.json +9393 -108
- package/package.json +1 -1
|
@@ -2975,7 +2975,7 @@ export declare const managementContract: {
|
|
|
2975
2975
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2976
2976
|
acknowledgeExternalAccess: z.ZodLiteral<true>;
|
|
2977
2977
|
name: z.ZodString;
|
|
2978
|
-
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.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">]>>;
|
|
2978
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.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">]>>;
|
|
2979
2979
|
confirm: z.ZodLiteral<"credentials.api.create">;
|
|
2980
2980
|
requestKey: z.ZodString;
|
|
2981
2981
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3032,8 +3032,8 @@ export declare const managementContract: {
|
|
|
3032
3032
|
isActive: z.ZodBoolean;
|
|
3033
3033
|
lastUsedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3034
3034
|
name: z.ZodString;
|
|
3035
|
-
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.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">]>>;
|
|
3036
|
-
scopes: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation:write">, z.ZodLiteral<"playbooks:read">, z.ZodLiteral<"playbooks:write">, z.ZodLiteral<"praise:read">, z.ZodLiteral<"praise:write">, z.ZodLiteral<"profile:write">, z.ZodLiteral<"programs:read">, z.ZodLiteral<"programs:write">, z.ZodLiteral<"pulse:read">, z.ZodLiteral<"pulse:write">, z.ZodLiteral<"reports:read">, z.ZodLiteral<"runs:read">, z.ZodLiteral<"runs:write">, z.ZodLiteral<"self:read">, z.ZodLiteral<"self:write">, z.ZodLiteral<"support:read">, z.ZodLiteral<"support:write">, z.ZodLiteral<"team:read">, z.ZodLiteral<"team:write">, z.ZodLiteral<"users:read">, z.ZodLiteral<"users:write">, z.ZodLiteral<"webhooks:read">, z.ZodLiteral<"webhooks:write">]>>;
|
|
3035
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.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">]>>;
|
|
3036
|
+
scopes: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"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">]>>;
|
|
3037
3037
|
}, z.core.$strict>>;
|
|
3038
3038
|
permissionCatalog: z.ZodArray<z.ZodObject<{
|
|
3039
3039
|
access: z.ZodUnion<readonly [z.ZodLiteral<"read">, z.ZodLiteral<"write">]>;
|
|
@@ -3041,9 +3041,9 @@ export declare const managementContract: {
|
|
|
3041
3041
|
description: z.ZodString;
|
|
3042
3042
|
grantable: z.ZodBoolean;
|
|
3043
3043
|
granted: z.ZodBoolean;
|
|
3044
|
-
id: z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.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">]>;
|
|
3044
|
+
id: z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.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">]>;
|
|
3045
3045
|
resource: z.ZodString;
|
|
3046
|
-
scope: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation:write">, z.ZodLiteral<"playbooks:read">, z.ZodLiteral<"playbooks:write">, z.ZodLiteral<"praise:read">, z.ZodLiteral<"praise:write">, z.ZodLiteral<"profile:write">, z.ZodLiteral<"programs:read">, z.ZodLiteral<"programs:write">, z.ZodLiteral<"pulse:read">, z.ZodLiteral<"pulse:write">, z.ZodLiteral<"reports:read">, z.ZodLiteral<"runs:read">, z.ZodLiteral<"runs:write">, z.ZodLiteral<"self:read">, z.ZodLiteral<"self:write">, z.ZodLiteral<"support:read">, z.ZodLiteral<"support:write">, z.ZodLiteral<"team:read">, z.ZodLiteral<"team:write">, z.ZodLiteral<"users:read">, z.ZodLiteral<"users:write">, z.ZodLiteral<"webhooks:read">, z.ZodLiteral<"webhooks:write">]>;
|
|
3046
|
+
scope: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"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">]>;
|
|
3047
3047
|
}, z.core.$strict>>;
|
|
3048
3048
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3049
3049
|
BAD_REQUEST: {
|
|
@@ -6288,7 +6288,7 @@ export declare const managementContract: {
|
|
|
6288
6288
|
} & Record<never, never>>;
|
|
6289
6289
|
places: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
6290
6290
|
places: z.ZodArray<z.ZodObject<{
|
|
6291
|
-
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">]>;
|
|
6291
|
+
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">]>;
|
|
6292
6292
|
waiting: z.ZodBoolean;
|
|
6293
6293
|
}, z.core.$strict>>;
|
|
6294
6294
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -9789,6 +9789,821 @@ export declare const managementContract: {
|
|
|
9789
9789
|
} & Record<never, never>>;
|
|
9790
9790
|
};
|
|
9791
9791
|
};
|
|
9792
|
+
mentorship: {
|
|
9793
|
+
checkIns: {
|
|
9794
|
+
answer: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9795
|
+
answer: z.ZodUnion<readonly [z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
9796
|
+
checkInId: z.ZodString;
|
|
9797
|
+
confirm: z.ZodLiteral<"mentorship.checkIns.answer">;
|
|
9798
|
+
requestKey: z.ZodString;
|
|
9799
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9800
|
+
receipt: z.ZodObject<{
|
|
9801
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
9802
|
+
createdAt: z.ZodISODateTime;
|
|
9803
|
+
id: z.ZodString;
|
|
9804
|
+
operation: z.ZodString;
|
|
9805
|
+
requestKey: z.ZodString;
|
|
9806
|
+
status: z.ZodEnum<{
|
|
9807
|
+
failed: "failed";
|
|
9808
|
+
running: "running";
|
|
9809
|
+
succeeded: "succeeded";
|
|
9810
|
+
unknown: "unknown";
|
|
9811
|
+
}>;
|
|
9812
|
+
}, z.core.$strip>;
|
|
9813
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
9814
|
+
answer: z.ZodUnion<readonly [z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
9815
|
+
changed: z.ZodBoolean;
|
|
9816
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"final">]>;
|
|
9817
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
9818
|
+
}, z.core.$strict>>;
|
|
9819
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
9820
|
+
BAD_REQUEST: {
|
|
9821
|
+
message: string;
|
|
9822
|
+
};
|
|
9823
|
+
CONFLICT: {
|
|
9824
|
+
message: string;
|
|
9825
|
+
};
|
|
9826
|
+
FORBIDDEN: {
|
|
9827
|
+
message: string;
|
|
9828
|
+
};
|
|
9829
|
+
NOT_FOUND: {
|
|
9830
|
+
message: string;
|
|
9831
|
+
};
|
|
9832
|
+
PRECONDITION_FAILED: {
|
|
9833
|
+
message: string;
|
|
9834
|
+
};
|
|
9835
|
+
TOO_MANY_REQUESTS: {
|
|
9836
|
+
message: string;
|
|
9837
|
+
};
|
|
9838
|
+
UNAUTHORIZED: {
|
|
9839
|
+
message: string;
|
|
9840
|
+
};
|
|
9841
|
+
}>, {
|
|
9842
|
+
scope: import("./base.ts").Scope | null;
|
|
9843
|
+
} & Record<never, never>>;
|
|
9844
|
+
};
|
|
9845
|
+
goals: {
|
|
9846
|
+
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9847
|
+
goalId: z.ZodString;
|
|
9848
|
+
pairId: z.ZodString;
|
|
9849
|
+
confirm: z.ZodLiteral<"mentorship.goals.remove">;
|
|
9850
|
+
requestKey: z.ZodString;
|
|
9851
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9852
|
+
receipt: z.ZodObject<{
|
|
9853
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
9854
|
+
createdAt: z.ZodISODateTime;
|
|
9855
|
+
id: z.ZodString;
|
|
9856
|
+
operation: z.ZodString;
|
|
9857
|
+
requestKey: z.ZodString;
|
|
9858
|
+
status: z.ZodEnum<{
|
|
9859
|
+
failed: "failed";
|
|
9860
|
+
running: "running";
|
|
9861
|
+
succeeded: "succeeded";
|
|
9862
|
+
unknown: "unknown";
|
|
9863
|
+
}>;
|
|
9864
|
+
}, z.core.$strip>;
|
|
9865
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
9866
|
+
removed: z.ZodBoolean;
|
|
9867
|
+
}, z.core.$strict>>;
|
|
9868
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
9869
|
+
BAD_REQUEST: {
|
|
9870
|
+
message: string;
|
|
9871
|
+
};
|
|
9872
|
+
CONFLICT: {
|
|
9873
|
+
message: string;
|
|
9874
|
+
};
|
|
9875
|
+
FORBIDDEN: {
|
|
9876
|
+
message: string;
|
|
9877
|
+
};
|
|
9878
|
+
NOT_FOUND: {
|
|
9879
|
+
message: string;
|
|
9880
|
+
};
|
|
9881
|
+
PRECONDITION_FAILED: {
|
|
9882
|
+
message: string;
|
|
9883
|
+
};
|
|
9884
|
+
TOO_MANY_REQUESTS: {
|
|
9885
|
+
message: string;
|
|
9886
|
+
};
|
|
9887
|
+
UNAUTHORIZED: {
|
|
9888
|
+
message: string;
|
|
9889
|
+
};
|
|
9890
|
+
}>, {
|
|
9891
|
+
scope: import("./base.ts").Scope | null;
|
|
9892
|
+
} & Record<never, never>>;
|
|
9893
|
+
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9894
|
+
done: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
9895
|
+
goalId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9896
|
+
pairId: z.ZodString;
|
|
9897
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9898
|
+
confirm: z.ZodLiteral<"mentorship.goals.save">;
|
|
9899
|
+
requestKey: z.ZodString;
|
|
9900
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9901
|
+
receipt: z.ZodObject<{
|
|
9902
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
9903
|
+
createdAt: z.ZodISODateTime;
|
|
9904
|
+
id: z.ZodString;
|
|
9905
|
+
operation: z.ZodString;
|
|
9906
|
+
requestKey: z.ZodString;
|
|
9907
|
+
status: z.ZodEnum<{
|
|
9908
|
+
failed: "failed";
|
|
9909
|
+
running: "running";
|
|
9910
|
+
succeeded: "succeeded";
|
|
9911
|
+
unknown: "unknown";
|
|
9912
|
+
}>;
|
|
9913
|
+
}, z.core.$strip>;
|
|
9914
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
9915
|
+
added: z.ZodBoolean;
|
|
9916
|
+
done: z.ZodBoolean;
|
|
9917
|
+
goalId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
9918
|
+
}, z.core.$strict>>;
|
|
9919
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
9920
|
+
BAD_REQUEST: {
|
|
9921
|
+
message: string;
|
|
9922
|
+
};
|
|
9923
|
+
CONFLICT: {
|
|
9924
|
+
message: string;
|
|
9925
|
+
};
|
|
9926
|
+
FORBIDDEN: {
|
|
9927
|
+
message: string;
|
|
9928
|
+
};
|
|
9929
|
+
NOT_FOUND: {
|
|
9930
|
+
message: string;
|
|
9931
|
+
};
|
|
9932
|
+
PRECONDITION_FAILED: {
|
|
9933
|
+
message: string;
|
|
9934
|
+
};
|
|
9935
|
+
TOO_MANY_REQUESTS: {
|
|
9936
|
+
message: string;
|
|
9937
|
+
};
|
|
9938
|
+
UNAUTHORIZED: {
|
|
9939
|
+
message: string;
|
|
9940
|
+
};
|
|
9941
|
+
}>, {
|
|
9942
|
+
scope: import("./base.ts").Scope | null;
|
|
9943
|
+
} & Record<never, never>>;
|
|
9944
|
+
};
|
|
9945
|
+
join: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9946
|
+
programId: z.ZodString;
|
|
9947
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
9948
|
+
topics: z.ZodString;
|
|
9949
|
+
confirm: z.ZodLiteral<"mentorship.join">;
|
|
9950
|
+
requestKey: z.ZodString;
|
|
9951
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9952
|
+
receipt: z.ZodObject<{
|
|
9953
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
9954
|
+
createdAt: z.ZodISODateTime;
|
|
9955
|
+
id: z.ZodString;
|
|
9956
|
+
operation: z.ZodString;
|
|
9957
|
+
requestKey: z.ZodString;
|
|
9958
|
+
status: z.ZodEnum<{
|
|
9959
|
+
failed: "failed";
|
|
9960
|
+
running: "running";
|
|
9961
|
+
succeeded: "succeeded";
|
|
9962
|
+
unknown: "unknown";
|
|
9963
|
+
}>;
|
|
9964
|
+
}, z.core.$strip>;
|
|
9965
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
9966
|
+
joined: z.ZodBoolean;
|
|
9967
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
9968
|
+
topics: z.ZodBoolean;
|
|
9969
|
+
}, z.core.$strict>>;
|
|
9970
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
9971
|
+
BAD_REQUEST: {
|
|
9972
|
+
message: string;
|
|
9973
|
+
};
|
|
9974
|
+
CONFLICT: {
|
|
9975
|
+
message: string;
|
|
9976
|
+
};
|
|
9977
|
+
FORBIDDEN: {
|
|
9978
|
+
message: string;
|
|
9979
|
+
};
|
|
9980
|
+
NOT_FOUND: {
|
|
9981
|
+
message: string;
|
|
9982
|
+
};
|
|
9983
|
+
PRECONDITION_FAILED: {
|
|
9984
|
+
message: string;
|
|
9985
|
+
};
|
|
9986
|
+
TOO_MANY_REQUESTS: {
|
|
9987
|
+
message: string;
|
|
9988
|
+
};
|
|
9989
|
+
UNAUTHORIZED: {
|
|
9990
|
+
message: string;
|
|
9991
|
+
};
|
|
9992
|
+
}>, {
|
|
9993
|
+
scope: import("./base.ts").Scope | null;
|
|
9994
|
+
} & Record<never, never>>;
|
|
9995
|
+
leave: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9996
|
+
programId: z.ZodString;
|
|
9997
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
9998
|
+
confirm: z.ZodLiteral<"mentorship.leave">;
|
|
9999
|
+
requestKey: z.ZodString;
|
|
10000
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10001
|
+
receipt: z.ZodObject<{
|
|
10002
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
10003
|
+
createdAt: z.ZodISODateTime;
|
|
10004
|
+
id: z.ZodString;
|
|
10005
|
+
operation: z.ZodString;
|
|
10006
|
+
requestKey: z.ZodString;
|
|
10007
|
+
status: z.ZodEnum<{
|
|
10008
|
+
failed: "failed";
|
|
10009
|
+
running: "running";
|
|
10010
|
+
succeeded: "succeeded";
|
|
10011
|
+
unknown: "unknown";
|
|
10012
|
+
}>;
|
|
10013
|
+
}, z.core.$strip>;
|
|
10014
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10015
|
+
changed: z.ZodBoolean;
|
|
10016
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
10017
|
+
}, z.core.$strict>>;
|
|
10018
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10019
|
+
BAD_REQUEST: {
|
|
10020
|
+
message: string;
|
|
10021
|
+
};
|
|
10022
|
+
CONFLICT: {
|
|
10023
|
+
message: string;
|
|
10024
|
+
};
|
|
10025
|
+
FORBIDDEN: {
|
|
10026
|
+
message: string;
|
|
10027
|
+
};
|
|
10028
|
+
NOT_FOUND: {
|
|
10029
|
+
message: string;
|
|
10030
|
+
};
|
|
10031
|
+
PRECONDITION_FAILED: {
|
|
10032
|
+
message: string;
|
|
10033
|
+
};
|
|
10034
|
+
TOO_MANY_REQUESTS: {
|
|
10035
|
+
message: string;
|
|
10036
|
+
};
|
|
10037
|
+
UNAUTHORIZED: {
|
|
10038
|
+
message: string;
|
|
10039
|
+
};
|
|
10040
|
+
}>, {
|
|
10041
|
+
scope: import("./base.ts").Scope | null;
|
|
10042
|
+
} & Record<never, never>>;
|
|
10043
|
+
members: {
|
|
10044
|
+
setStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10045
|
+
personId: z.ZodString;
|
|
10046
|
+
programId: z.ZodString;
|
|
10047
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
10048
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"removed">]>;
|
|
10049
|
+
confirm: z.ZodLiteral<"mentorship.members.setStatus">;
|
|
10050
|
+
requestKey: z.ZodString;
|
|
10051
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10052
|
+
receipt: z.ZodObject<{
|
|
10053
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
10054
|
+
createdAt: z.ZodISODateTime;
|
|
10055
|
+
id: z.ZodString;
|
|
10056
|
+
operation: z.ZodString;
|
|
10057
|
+
requestKey: z.ZodString;
|
|
10058
|
+
status: z.ZodEnum<{
|
|
10059
|
+
failed: "failed";
|
|
10060
|
+
running: "running";
|
|
10061
|
+
succeeded: "succeeded";
|
|
10062
|
+
unknown: "unknown";
|
|
10063
|
+
}>;
|
|
10064
|
+
}, z.core.$strip>;
|
|
10065
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10066
|
+
changed: z.ZodBoolean;
|
|
10067
|
+
}, z.core.$strict>>;
|
|
10068
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10069
|
+
BAD_REQUEST: {
|
|
10070
|
+
message: string;
|
|
10071
|
+
};
|
|
10072
|
+
CONFLICT: {
|
|
10073
|
+
message: string;
|
|
10074
|
+
};
|
|
10075
|
+
FORBIDDEN: {
|
|
10076
|
+
message: string;
|
|
10077
|
+
};
|
|
10078
|
+
NOT_FOUND: {
|
|
10079
|
+
message: string;
|
|
10080
|
+
};
|
|
10081
|
+
PRECONDITION_FAILED: {
|
|
10082
|
+
message: string;
|
|
10083
|
+
};
|
|
10084
|
+
TOO_MANY_REQUESTS: {
|
|
10085
|
+
message: string;
|
|
10086
|
+
};
|
|
10087
|
+
UNAUTHORIZED: {
|
|
10088
|
+
message: string;
|
|
10089
|
+
};
|
|
10090
|
+
}>, {
|
|
10091
|
+
scope: import("./base.ts").Scope | null;
|
|
10092
|
+
} & Record<never, never>>;
|
|
10093
|
+
};
|
|
10094
|
+
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
10095
|
+
pairs: z.ZodArray<z.ZodObject<{
|
|
10096
|
+
checkIns: z.ZodArray<z.ZodObject<{
|
|
10097
|
+
answer: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
10098
|
+
dueOn: z.ZodString;
|
|
10099
|
+
id: z.ZodString;
|
|
10100
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"final">]>;
|
|
10101
|
+
}, z.core.$strict>>;
|
|
10102
|
+
endedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10103
|
+
endsOn: z.ZodString;
|
|
10104
|
+
goals: z.ZodArray<z.ZodObject<{
|
|
10105
|
+
done: z.ZodBoolean;
|
|
10106
|
+
id: z.ZodString;
|
|
10107
|
+
title: z.ZodString;
|
|
10108
|
+
}, z.core.$strict>>;
|
|
10109
|
+
id: z.ZodString;
|
|
10110
|
+
nextCheckInOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10111
|
+
other: z.ZodObject<{
|
|
10112
|
+
id: z.ZodString;
|
|
10113
|
+
name: z.ZodString;
|
|
10114
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10115
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10116
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10117
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10118
|
+
}, z.core.$strict>;
|
|
10119
|
+
otherTopics: z.ZodString;
|
|
10120
|
+
program: z.ZodString;
|
|
10121
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
10122
|
+
startedAt: z.ZodString;
|
|
10123
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
|
|
10124
|
+
}, z.core.$strict>>;
|
|
10125
|
+
programs: z.ZodArray<z.ZodObject<{
|
|
10126
|
+
audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10127
|
+
description: z.ZodString;
|
|
10128
|
+
id: z.ZodString;
|
|
10129
|
+
mentee: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
10130
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
|
|
10131
|
+
topics: z.ZodString;
|
|
10132
|
+
}, z.core.$strict>]>;
|
|
10133
|
+
mentor: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
10134
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
|
|
10135
|
+
topics: z.ZodString;
|
|
10136
|
+
}, z.core.$strict>]>;
|
|
10137
|
+
name: z.ZodString;
|
|
10138
|
+
terms: z.ZodString;
|
|
10139
|
+
waiting: z.ZodBoolean;
|
|
10140
|
+
}, z.core.$strict>>;
|
|
10141
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10142
|
+
BAD_REQUEST: {
|
|
10143
|
+
message: string;
|
|
10144
|
+
};
|
|
10145
|
+
CONFLICT: {
|
|
10146
|
+
message: string;
|
|
10147
|
+
};
|
|
10148
|
+
FORBIDDEN: {
|
|
10149
|
+
message: string;
|
|
10150
|
+
};
|
|
10151
|
+
NOT_FOUND: {
|
|
10152
|
+
message: string;
|
|
10153
|
+
};
|
|
10154
|
+
PRECONDITION_FAILED: {
|
|
10155
|
+
message: string;
|
|
10156
|
+
};
|
|
10157
|
+
TOO_MANY_REQUESTS: {
|
|
10158
|
+
message: string;
|
|
10159
|
+
};
|
|
10160
|
+
UNAUTHORIZED: {
|
|
10161
|
+
message: string;
|
|
10162
|
+
};
|
|
10163
|
+
}>, {
|
|
10164
|
+
scope: import("./base.ts").Scope | null;
|
|
10165
|
+
} & Record<never, never>>;
|
|
10166
|
+
pairs: {
|
|
10167
|
+
decide: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10168
|
+
decision: z.ZodUnion<readonly [z.ZodLiteral<"approve">, z.ZodLiteral<"skip">]>;
|
|
10169
|
+
pairId: z.ZodString;
|
|
10170
|
+
confirm: z.ZodLiteral<"mentorship.pairs.decide">;
|
|
10171
|
+
requestKey: z.ZodString;
|
|
10172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10173
|
+
receipt: z.ZodObject<{
|
|
10174
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
10175
|
+
createdAt: z.ZodISODateTime;
|
|
10176
|
+
id: z.ZodString;
|
|
10177
|
+
operation: z.ZodString;
|
|
10178
|
+
requestKey: z.ZodString;
|
|
10179
|
+
status: z.ZodEnum<{
|
|
10180
|
+
failed: "failed";
|
|
10181
|
+
running: "running";
|
|
10182
|
+
succeeded: "succeeded";
|
|
10183
|
+
unknown: "unknown";
|
|
10184
|
+
}>;
|
|
10185
|
+
}, z.core.$strip>;
|
|
10186
|
+
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
10187
|
+
decision: z.ZodLiteral<"skip">;
|
|
10188
|
+
endsOn: z.ZodOptional<z.ZodUndefined>;
|
|
10189
|
+
reached: z.ZodNumber;
|
|
10190
|
+
status: z.ZodLiteral<"skipped">;
|
|
10191
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10192
|
+
decision: z.ZodLiteral<"approve">;
|
|
10193
|
+
endsOn: z.ZodString;
|
|
10194
|
+
reached: z.ZodNumber;
|
|
10195
|
+
status: z.ZodLiteral<"active">;
|
|
10196
|
+
}, z.core.$strict>]>>;
|
|
10197
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10198
|
+
BAD_REQUEST: {
|
|
10199
|
+
message: string;
|
|
10200
|
+
};
|
|
10201
|
+
CONFLICT: {
|
|
10202
|
+
message: string;
|
|
10203
|
+
};
|
|
10204
|
+
FORBIDDEN: {
|
|
10205
|
+
message: string;
|
|
10206
|
+
};
|
|
10207
|
+
NOT_FOUND: {
|
|
10208
|
+
message: string;
|
|
10209
|
+
};
|
|
10210
|
+
PRECONDITION_FAILED: {
|
|
10211
|
+
message: string;
|
|
10212
|
+
};
|
|
10213
|
+
TOO_MANY_REQUESTS: {
|
|
10214
|
+
message: string;
|
|
10215
|
+
};
|
|
10216
|
+
UNAUTHORIZED: {
|
|
10217
|
+
message: string;
|
|
10218
|
+
};
|
|
10219
|
+
}>, {
|
|
10220
|
+
scope: import("./base.ts").Scope | null;
|
|
10221
|
+
} & Record<never, never>>;
|
|
10222
|
+
end: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10223
|
+
pairId: z.ZodString;
|
|
10224
|
+
confirm: z.ZodLiteral<"mentorship.pairs.end">;
|
|
10225
|
+
requestKey: z.ZodString;
|
|
10226
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10227
|
+
receipt: z.ZodObject<{
|
|
10228
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
10229
|
+
createdAt: z.ZodISODateTime;
|
|
10230
|
+
id: z.ZodString;
|
|
10231
|
+
operation: z.ZodString;
|
|
10232
|
+
requestKey: z.ZodString;
|
|
10233
|
+
status: z.ZodEnum<{
|
|
10234
|
+
failed: "failed";
|
|
10235
|
+
running: "running";
|
|
10236
|
+
succeeded: "succeeded";
|
|
10237
|
+
unknown: "unknown";
|
|
10238
|
+
}>;
|
|
10239
|
+
}, z.core.$strip>;
|
|
10240
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10241
|
+
changed: z.ZodBoolean;
|
|
10242
|
+
}, z.core.$strict>>;
|
|
10243
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10244
|
+
BAD_REQUEST: {
|
|
10245
|
+
message: string;
|
|
10246
|
+
};
|
|
10247
|
+
CONFLICT: {
|
|
10248
|
+
message: string;
|
|
10249
|
+
};
|
|
10250
|
+
FORBIDDEN: {
|
|
10251
|
+
message: string;
|
|
10252
|
+
};
|
|
10253
|
+
NOT_FOUND: {
|
|
10254
|
+
message: string;
|
|
10255
|
+
};
|
|
10256
|
+
PRECONDITION_FAILED: {
|
|
10257
|
+
message: string;
|
|
10258
|
+
};
|
|
10259
|
+
TOO_MANY_REQUESTS: {
|
|
10260
|
+
message: string;
|
|
10261
|
+
};
|
|
10262
|
+
UNAUTHORIZED: {
|
|
10263
|
+
message: string;
|
|
10264
|
+
};
|
|
10265
|
+
}>, {
|
|
10266
|
+
scope: import("./base.ts").Scope | null;
|
|
10267
|
+
} & Record<never, never>>;
|
|
10268
|
+
setMine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10269
|
+
pairId: z.ZodString;
|
|
10270
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
|
|
10271
|
+
confirm: z.ZodLiteral<"mentorship.pairs.setMine">;
|
|
10272
|
+
requestKey: z.ZodString;
|
|
10273
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10274
|
+
receipt: z.ZodObject<{
|
|
10275
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
10276
|
+
createdAt: z.ZodISODateTime;
|
|
10277
|
+
id: z.ZodString;
|
|
10278
|
+
operation: z.ZodString;
|
|
10279
|
+
requestKey: z.ZodString;
|
|
10280
|
+
status: z.ZodEnum<{
|
|
10281
|
+
failed: "failed";
|
|
10282
|
+
running: "running";
|
|
10283
|
+
succeeded: "succeeded";
|
|
10284
|
+
unknown: "unknown";
|
|
10285
|
+
}>;
|
|
10286
|
+
}, z.core.$strip>;
|
|
10287
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10288
|
+
changed: z.ZodBoolean;
|
|
10289
|
+
role: z.ZodString;
|
|
10290
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
|
|
10291
|
+
}, z.core.$strict>>;
|
|
10292
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10293
|
+
BAD_REQUEST: {
|
|
10294
|
+
message: string;
|
|
10295
|
+
};
|
|
10296
|
+
CONFLICT: {
|
|
10297
|
+
message: string;
|
|
10298
|
+
};
|
|
10299
|
+
FORBIDDEN: {
|
|
10300
|
+
message: string;
|
|
10301
|
+
};
|
|
10302
|
+
NOT_FOUND: {
|
|
10303
|
+
message: string;
|
|
10304
|
+
};
|
|
10305
|
+
PRECONDITION_FAILED: {
|
|
10306
|
+
message: string;
|
|
10307
|
+
};
|
|
10308
|
+
TOO_MANY_REQUESTS: {
|
|
10309
|
+
message: string;
|
|
10310
|
+
};
|
|
10311
|
+
UNAUTHORIZED: {
|
|
10312
|
+
message: string;
|
|
10313
|
+
};
|
|
10314
|
+
}>, {
|
|
10315
|
+
scope: import("./base.ts").Scope | null;
|
|
10316
|
+
} & Record<never, never>>;
|
|
10317
|
+
suggest: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10318
|
+
programId: z.ZodString;
|
|
10319
|
+
confirm: z.ZodLiteral<"mentorship.pairs.suggest">;
|
|
10320
|
+
requestKey: z.ZodString;
|
|
10321
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10322
|
+
receipt: z.ZodObject<{
|
|
10323
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
10324
|
+
createdAt: z.ZodISODateTime;
|
|
10325
|
+
id: z.ZodString;
|
|
10326
|
+
operation: z.ZodString;
|
|
10327
|
+
requestKey: z.ZodString;
|
|
10328
|
+
status: z.ZodEnum<{
|
|
10329
|
+
failed: "failed";
|
|
10330
|
+
running: "running";
|
|
10331
|
+
succeeded: "succeeded";
|
|
10332
|
+
unknown: "unknown";
|
|
10333
|
+
}>;
|
|
10334
|
+
}, z.core.$strip>;
|
|
10335
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10336
|
+
suggested: z.ZodNumber;
|
|
10337
|
+
waiting: z.ZodNumber;
|
|
10338
|
+
}, z.core.$strict>>;
|
|
10339
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10340
|
+
BAD_REQUEST: {
|
|
10341
|
+
message: string;
|
|
10342
|
+
};
|
|
10343
|
+
CONFLICT: {
|
|
10344
|
+
message: string;
|
|
10345
|
+
};
|
|
10346
|
+
FORBIDDEN: {
|
|
10347
|
+
message: string;
|
|
10348
|
+
};
|
|
10349
|
+
NOT_FOUND: {
|
|
10350
|
+
message: string;
|
|
10351
|
+
};
|
|
10352
|
+
PRECONDITION_FAILED: {
|
|
10353
|
+
message: string;
|
|
10354
|
+
};
|
|
10355
|
+
TOO_MANY_REQUESTS: {
|
|
10356
|
+
message: string;
|
|
10357
|
+
};
|
|
10358
|
+
UNAUTHORIZED: {
|
|
10359
|
+
message: string;
|
|
10360
|
+
};
|
|
10361
|
+
}>, {
|
|
10362
|
+
scope: import("./base.ts").Scope | null;
|
|
10363
|
+
} & Record<never, never>>;
|
|
10364
|
+
};
|
|
10365
|
+
programs: {
|
|
10366
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10367
|
+
programId: z.ZodString;
|
|
10368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10369
|
+
members: z.ZodArray<z.ZodObject<{
|
|
10370
|
+
id: z.ZodString;
|
|
10371
|
+
joinedAt: z.ZodString;
|
|
10372
|
+
name: z.ZodString;
|
|
10373
|
+
pairs: z.ZodNumber;
|
|
10374
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10375
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
10376
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10377
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
|
|
10378
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10379
|
+
topics: z.ZodString;
|
|
10380
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10381
|
+
}, z.core.$strict>>;
|
|
10382
|
+
pairs: z.ZodArray<z.ZodObject<{
|
|
10383
|
+
checkIns: z.ZodObject<{
|
|
10384
|
+
answered: z.ZodNumber;
|
|
10385
|
+
asked: z.ZodNumber;
|
|
10386
|
+
met: z.ZodNumber;
|
|
10387
|
+
}, z.core.$strict>;
|
|
10388
|
+
endedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10389
|
+
endReason: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"completed">, z.ZodLiteral<"hr">, z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
10390
|
+
endsOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10391
|
+
final: z.ZodObject<{
|
|
10392
|
+
mentee: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
10393
|
+
mentor: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
10394
|
+
}, z.core.$strict>;
|
|
10395
|
+
id: z.ZodString;
|
|
10396
|
+
mentee: z.ZodObject<{
|
|
10397
|
+
id: z.ZodString;
|
|
10398
|
+
name: z.ZodString;
|
|
10399
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10400
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10401
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10402
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10403
|
+
}, z.core.$strict>;
|
|
10404
|
+
mentor: z.ZodObject<{
|
|
10405
|
+
id: z.ZodString;
|
|
10406
|
+
name: z.ZodString;
|
|
10407
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10408
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10409
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10410
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10411
|
+
}, z.core.$strict>;
|
|
10412
|
+
nextCheckInOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10413
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
10414
|
+
startedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10415
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">, z.ZodLiteral<"skipped">, z.ZodLiteral<"suggested">]>;
|
|
10416
|
+
suggestedAt: z.ZodString;
|
|
10417
|
+
}, z.core.$strict>>;
|
|
10418
|
+
program: z.ZodObject<{
|
|
10419
|
+
activePairs: z.ZodNumber;
|
|
10420
|
+
audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10421
|
+
checkInWeeks: z.ZodNumber;
|
|
10422
|
+
createdAt: z.ZodString;
|
|
10423
|
+
description: z.ZodString;
|
|
10424
|
+
groupId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10425
|
+
id: z.ZodString;
|
|
10426
|
+
mentees: z.ZodNumber;
|
|
10427
|
+
mentorCapacity: z.ZodNumber;
|
|
10428
|
+
mentors: z.ZodNumber;
|
|
10429
|
+
name: z.ZodString;
|
|
10430
|
+
pairingWeeks: z.ZodNumber;
|
|
10431
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
10432
|
+
suggested: z.ZodNumber;
|
|
10433
|
+
waiting: z.ZodNumber;
|
|
10434
|
+
}, z.core.$strict>;
|
|
10435
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10436
|
+
BAD_REQUEST: {
|
|
10437
|
+
message: string;
|
|
10438
|
+
};
|
|
10439
|
+
CONFLICT: {
|
|
10440
|
+
message: string;
|
|
10441
|
+
};
|
|
10442
|
+
FORBIDDEN: {
|
|
10443
|
+
message: string;
|
|
10444
|
+
};
|
|
10445
|
+
NOT_FOUND: {
|
|
10446
|
+
message: string;
|
|
10447
|
+
};
|
|
10448
|
+
PRECONDITION_FAILED: {
|
|
10449
|
+
message: string;
|
|
10450
|
+
};
|
|
10451
|
+
TOO_MANY_REQUESTS: {
|
|
10452
|
+
message: string;
|
|
10453
|
+
};
|
|
10454
|
+
UNAUTHORIZED: {
|
|
10455
|
+
message: string;
|
|
10456
|
+
};
|
|
10457
|
+
}>, {
|
|
10458
|
+
scope: import("./base.ts").Scope | null;
|
|
10459
|
+
} & Record<never, never>>;
|
|
10460
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
10461
|
+
programs: z.ZodArray<z.ZodObject<{
|
|
10462
|
+
activePairs: z.ZodNumber;
|
|
10463
|
+
audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10464
|
+
checkInWeeks: z.ZodNumber;
|
|
10465
|
+
createdAt: z.ZodString;
|
|
10466
|
+
description: z.ZodString;
|
|
10467
|
+
groupId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10468
|
+
id: z.ZodString;
|
|
10469
|
+
mentees: z.ZodNumber;
|
|
10470
|
+
mentorCapacity: z.ZodNumber;
|
|
10471
|
+
mentors: z.ZodNumber;
|
|
10472
|
+
name: z.ZodString;
|
|
10473
|
+
pairingWeeks: z.ZodNumber;
|
|
10474
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
10475
|
+
suggested: z.ZodNumber;
|
|
10476
|
+
waiting: z.ZodNumber;
|
|
10477
|
+
}, z.core.$strict>>;
|
|
10478
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10479
|
+
BAD_REQUEST: {
|
|
10480
|
+
message: string;
|
|
10481
|
+
};
|
|
10482
|
+
CONFLICT: {
|
|
10483
|
+
message: string;
|
|
10484
|
+
};
|
|
10485
|
+
FORBIDDEN: {
|
|
10486
|
+
message: string;
|
|
10487
|
+
};
|
|
10488
|
+
NOT_FOUND: {
|
|
10489
|
+
message: string;
|
|
10490
|
+
};
|
|
10491
|
+
PRECONDITION_FAILED: {
|
|
10492
|
+
message: string;
|
|
10493
|
+
};
|
|
10494
|
+
TOO_MANY_REQUESTS: {
|
|
10495
|
+
message: string;
|
|
10496
|
+
};
|
|
10497
|
+
UNAUTHORIZED: {
|
|
10498
|
+
message: string;
|
|
10499
|
+
};
|
|
10500
|
+
}>, {
|
|
10501
|
+
scope: import("./base.ts").Scope | null;
|
|
10502
|
+
} & Record<never, never>>;
|
|
10503
|
+
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10504
|
+
checkInWeeks: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
10505
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10506
|
+
groupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
10507
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
10508
|
+
mentorCapacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
10509
|
+
name: z.ZodString;
|
|
10510
|
+
pairingWeeks: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
10511
|
+
confirm: z.ZodLiteral<"mentorship.programs.save">;
|
|
10512
|
+
requestKey: z.ZodString;
|
|
10513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10514
|
+
receipt: z.ZodObject<{
|
|
10515
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
10516
|
+
createdAt: z.ZodISODateTime;
|
|
10517
|
+
id: z.ZodString;
|
|
10518
|
+
operation: z.ZodString;
|
|
10519
|
+
requestKey: z.ZodString;
|
|
10520
|
+
status: z.ZodEnum<{
|
|
10521
|
+
failed: "failed";
|
|
10522
|
+
running: "running";
|
|
10523
|
+
succeeded: "succeeded";
|
|
10524
|
+
unknown: "unknown";
|
|
10525
|
+
}>;
|
|
10526
|
+
}, z.core.$strip>;
|
|
10527
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10528
|
+
created: z.ZodBoolean;
|
|
10529
|
+
grouped: z.ZodBoolean;
|
|
10530
|
+
id: z.ZodString;
|
|
10531
|
+
}, z.core.$strict>>;
|
|
10532
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10533
|
+
BAD_REQUEST: {
|
|
10534
|
+
message: string;
|
|
10535
|
+
};
|
|
10536
|
+
CONFLICT: {
|
|
10537
|
+
message: string;
|
|
10538
|
+
};
|
|
10539
|
+
FORBIDDEN: {
|
|
10540
|
+
message: string;
|
|
10541
|
+
};
|
|
10542
|
+
NOT_FOUND: {
|
|
10543
|
+
message: string;
|
|
10544
|
+
};
|
|
10545
|
+
PRECONDITION_FAILED: {
|
|
10546
|
+
message: string;
|
|
10547
|
+
};
|
|
10548
|
+
TOO_MANY_REQUESTS: {
|
|
10549
|
+
message: string;
|
|
10550
|
+
};
|
|
10551
|
+
UNAUTHORIZED: {
|
|
10552
|
+
message: string;
|
|
10553
|
+
};
|
|
10554
|
+
}>, {
|
|
10555
|
+
scope: import("./base.ts").Scope | null;
|
|
10556
|
+
} & Record<never, never>>;
|
|
10557
|
+
setStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10558
|
+
programId: z.ZodString;
|
|
10559
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
10560
|
+
confirm: z.ZodLiteral<"mentorship.programs.setStatus">;
|
|
10561
|
+
requestKey: z.ZodString;
|
|
10562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10563
|
+
receipt: z.ZodObject<{
|
|
10564
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
10565
|
+
createdAt: z.ZodISODateTime;
|
|
10566
|
+
id: z.ZodString;
|
|
10567
|
+
operation: z.ZodString;
|
|
10568
|
+
requestKey: z.ZodString;
|
|
10569
|
+
status: z.ZodEnum<{
|
|
10570
|
+
failed: "failed";
|
|
10571
|
+
running: "running";
|
|
10572
|
+
succeeded: "succeeded";
|
|
10573
|
+
unknown: "unknown";
|
|
10574
|
+
}>;
|
|
10575
|
+
}, z.core.$strip>;
|
|
10576
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10577
|
+
changed: z.ZodBoolean;
|
|
10578
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
10579
|
+
}, z.core.$strict>>;
|
|
10580
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10581
|
+
BAD_REQUEST: {
|
|
10582
|
+
message: string;
|
|
10583
|
+
};
|
|
10584
|
+
CONFLICT: {
|
|
10585
|
+
message: string;
|
|
10586
|
+
};
|
|
10587
|
+
FORBIDDEN: {
|
|
10588
|
+
message: string;
|
|
10589
|
+
};
|
|
10590
|
+
NOT_FOUND: {
|
|
10591
|
+
message: string;
|
|
10592
|
+
};
|
|
10593
|
+
PRECONDITION_FAILED: {
|
|
10594
|
+
message: string;
|
|
10595
|
+
};
|
|
10596
|
+
TOO_MANY_REQUESTS: {
|
|
10597
|
+
message: string;
|
|
10598
|
+
};
|
|
10599
|
+
UNAUTHORIZED: {
|
|
10600
|
+
message: string;
|
|
10601
|
+
};
|
|
10602
|
+
}>, {
|
|
10603
|
+
scope: import("./base.ts").Scope | null;
|
|
10604
|
+
} & Record<never, never>>;
|
|
10605
|
+
};
|
|
10606
|
+
};
|
|
9792
10607
|
network: {
|
|
9793
10608
|
claim: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9794
10609
|
kind: z.ZodUnion<readonly [z.ZodLiteral<"knows">, z.ZodLiteral<"wants_to_meet">]>;
|
|
@@ -10177,13 +10992,13 @@ export declare const managementContract: {
|
|
|
10177
10992
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
10178
10993
|
groups: z.ZodArray<z.ZodObject<{
|
|
10179
10994
|
id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
|
|
10180
|
-
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">]>>;
|
|
10995
|
+
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">]>>;
|
|
10181
10996
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
10182
10997
|
}, z.core.$strict>>;
|
|
10183
10998
|
preferences: z.ZodArray<z.ZodObject<{
|
|
10184
10999
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
10185
11000
|
email: z.ZodBoolean;
|
|
10186
|
-
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">]>;
|
|
11001
|
+
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">]>;
|
|
10187
11002
|
slack: z.ZodBoolean;
|
|
10188
11003
|
teams: z.ZodBoolean;
|
|
10189
11004
|
}, z.core.$strict>>;
|
|
@@ -10216,7 +11031,7 @@ export declare const managementContract: {
|
|
|
10216
11031
|
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10217
11032
|
channel: z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>;
|
|
10218
11033
|
enabled: z.ZodBoolean;
|
|
10219
|
-
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">]>;
|
|
11034
|
+
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">]>;
|
|
10220
11035
|
requestKey: z.ZodString;
|
|
10221
11036
|
}, z.core.$strict>, z.ZodObject<{
|
|
10222
11037
|
receipt: z.ZodObject<{
|
|
@@ -10235,13 +11050,13 @@ export declare const managementContract: {
|
|
|
10235
11050
|
result: z.ZodNullable<z.ZodObject<{
|
|
10236
11051
|
groups: z.ZodArray<z.ZodObject<{
|
|
10237
11052
|
id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
|
|
10238
|
-
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">]>>;
|
|
11053
|
+
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">]>>;
|
|
10239
11054
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
10240
11055
|
}, z.core.$strict>>;
|
|
10241
11056
|
preferences: z.ZodArray<z.ZodObject<{
|
|
10242
11057
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
10243
11058
|
email: z.ZodBoolean;
|
|
10244
|
-
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">]>;
|
|
11059
|
+
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">]>;
|
|
10245
11060
|
slack: z.ZodBoolean;
|
|
10246
11061
|
teams: z.ZodBoolean;
|
|
10247
11062
|
}, z.core.$strict>>;
|