@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
package/dist/index.d.ts
CHANGED
|
@@ -3214,7 +3214,7 @@ export declare const contract: {
|
|
|
3214
3214
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3215
3215
|
acknowledgeExternalAccess: z.ZodLiteral<true>;
|
|
3216
3216
|
name: z.ZodString;
|
|
3217
|
-
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automationChoices">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewAs">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
3217
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automationChoices">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"mentorship.checkIns.answer">, z.ZodLiteral<"mentorship.goals.remove">, z.ZodLiteral<"mentorship.goals.save">, z.ZodLiteral<"mentorship.join">, z.ZodLiteral<"mentorship.leave">, z.ZodLiteral<"mentorship.members.setStatus">, z.ZodLiteral<"mentorship.mine">, z.ZodLiteral<"mentorship.pairs.decide">, z.ZodLiteral<"mentorship.pairs.end">, z.ZodLiteral<"mentorship.pairs.setMine">, z.ZodLiteral<"mentorship.pairs.suggest">, z.ZodLiteral<"mentorship.programs.get">, z.ZodLiteral<"mentorship.programs.list">, z.ZodLiteral<"mentorship.programs.save">, z.ZodLiteral<"mentorship.programs.setStatus">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewAs">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
3218
3218
|
confirm: z.ZodLiteral<"credentials.api.create">;
|
|
3219
3219
|
requestKey: z.ZodString;
|
|
3220
3220
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3271,8 +3271,8 @@ export declare const contract: {
|
|
|
3271
3271
|
isActive: z.ZodBoolean;
|
|
3272
3272
|
lastUsedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3273
3273
|
name: z.ZodString;
|
|
3274
|
-
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automationChoices">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewAs">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
3275
|
-
scopes: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation:write">, z.ZodLiteral<"playbooks:read">, z.ZodLiteral<"playbooks:write">, z.ZodLiteral<"praise:read">, z.ZodLiteral<"praise:write">, z.ZodLiteral<"profile:write">, z.ZodLiteral<"programs:read">, z.ZodLiteral<"programs:write">, z.ZodLiteral<"pulse:read">, z.ZodLiteral<"pulse:write">, z.ZodLiteral<"reports:read">, z.ZodLiteral<"runs:read">, z.ZodLiteral<"runs:write">, z.ZodLiteral<"self:read">, z.ZodLiteral<"self:write">, z.ZodLiteral<"support:read">, z.ZodLiteral<"support:write">, z.ZodLiteral<"team:read">, z.ZodLiteral<"team:write">, z.ZodLiteral<"users:read">, z.ZodLiteral<"users:write">, z.ZodLiteral<"webhooks:read">, z.ZodLiteral<"webhooks:write">]>>;
|
|
3274
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automationChoices">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"mentorship.checkIns.answer">, z.ZodLiteral<"mentorship.goals.remove">, z.ZodLiteral<"mentorship.goals.save">, z.ZodLiteral<"mentorship.join">, z.ZodLiteral<"mentorship.leave">, z.ZodLiteral<"mentorship.members.setStatus">, z.ZodLiteral<"mentorship.mine">, z.ZodLiteral<"mentorship.pairs.decide">, z.ZodLiteral<"mentorship.pairs.end">, z.ZodLiteral<"mentorship.pairs.setMine">, z.ZodLiteral<"mentorship.pairs.suggest">, z.ZodLiteral<"mentorship.programs.get">, z.ZodLiteral<"mentorship.programs.list">, z.ZodLiteral<"mentorship.programs.save">, z.ZodLiteral<"mentorship.programs.setStatus">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewAs">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
3275
|
+
scopes: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"mentorship:read">, z.ZodLiteral<"mentorship:write">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation:write">, z.ZodLiteral<"playbooks:read">, z.ZodLiteral<"playbooks:write">, z.ZodLiteral<"praise:read">, z.ZodLiteral<"praise:write">, z.ZodLiteral<"profile:write">, z.ZodLiteral<"programs:read">, z.ZodLiteral<"programs:write">, z.ZodLiteral<"pulse:read">, z.ZodLiteral<"pulse:write">, z.ZodLiteral<"reports:read">, z.ZodLiteral<"runs:read">, z.ZodLiteral<"runs:write">, z.ZodLiteral<"self:read">, z.ZodLiteral<"self:write">, z.ZodLiteral<"support:read">, z.ZodLiteral<"support:write">, z.ZodLiteral<"team:read">, z.ZodLiteral<"team:write">, z.ZodLiteral<"users:read">, z.ZodLiteral<"users:write">, z.ZodLiteral<"webhooks:read">, z.ZodLiteral<"webhooks:write">]>>;
|
|
3276
3276
|
}, z.core.$strict>>;
|
|
3277
3277
|
permissionCatalog: z.ZodArray<z.ZodObject<{
|
|
3278
3278
|
access: z.ZodUnion<readonly [z.ZodLiteral<"read">, z.ZodLiteral<"write">]>;
|
|
@@ -3280,9 +3280,9 @@ export declare const contract: {
|
|
|
3280
3280
|
description: z.ZodString;
|
|
3281
3281
|
grantable: z.ZodBoolean;
|
|
3282
3282
|
granted: z.ZodBoolean;
|
|
3283
|
-
id: z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automationChoices">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewAs">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>;
|
|
3283
|
+
id: z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"celebrations.thisWeek">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.culture">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"groups.allAutomations">, z.ZodLiteral<"groups.automationChoices">, z.ZodLiteral<"groups.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"mentorship.checkIns.answer">, z.ZodLiteral<"mentorship.goals.remove">, z.ZodLiteral<"mentorship.goals.save">, z.ZodLiteral<"mentorship.join">, z.ZodLiteral<"mentorship.leave">, z.ZodLiteral<"mentorship.members.setStatus">, z.ZodLiteral<"mentorship.mine">, z.ZodLiteral<"mentorship.pairs.decide">, z.ZodLiteral<"mentorship.pairs.end">, z.ZodLiteral<"mentorship.pairs.setMine">, z.ZodLiteral<"mentorship.pairs.suggest">, z.ZodLiteral<"mentorship.programs.get">, z.ZodLiteral<"mentorship.programs.list">, z.ZodLiteral<"mentorship.programs.save">, z.ZodLiteral<"mentorship.programs.setStatus">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.introductions">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewAs">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>;
|
|
3284
3284
|
resource: z.ZodString;
|
|
3285
|
-
scope: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation:write">, z.ZodLiteral<"playbooks:read">, z.ZodLiteral<"playbooks:write">, z.ZodLiteral<"praise:read">, z.ZodLiteral<"praise:write">, z.ZodLiteral<"profile:write">, z.ZodLiteral<"programs:read">, z.ZodLiteral<"programs:write">, z.ZodLiteral<"pulse:read">, z.ZodLiteral<"pulse:write">, z.ZodLiteral<"reports:read">, z.ZodLiteral<"runs:read">, z.ZodLiteral<"runs:write">, z.ZodLiteral<"self:read">, z.ZodLiteral<"self:write">, z.ZodLiteral<"support:read">, z.ZodLiteral<"support:write">, z.ZodLiteral<"team:read">, z.ZodLiteral<"team:write">, z.ZodLiteral<"users:read">, z.ZodLiteral<"users:write">, z.ZodLiteral<"webhooks:read">, z.ZodLiteral<"webhooks:write">]>;
|
|
3285
|
+
scope: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"access:read">, z.ZodLiteral<"access:write">, z.ZodLiteral<"assistant:read">, z.ZodLiteral<"assistant:write">, z.ZodLiteral<"celebrations:read">, z.ZodLiteral<"celebrations:write">, z.ZodLiteral<"credentials:read">, z.ZodLiteral<"credentials:write">, z.ZodLiteral<"exports:read">, z.ZodLiteral<"hr:read">, z.ZodLiteral<"hr:write">, z.ZodLiteral<"identities:read">, z.ZodLiteral<"identities:write">, z.ZodLiteral<"integrations:read">, z.ZodLiteral<"integrations:write">, z.ZodLiteral<"knowledge:manage">, z.ZodLiteral<"knowledge:read">, z.ZodLiteral<"knowledge:write">, z.ZodLiteral<"manager:read">, z.ZodLiteral<"mentorship:read">, z.ZodLiteral<"mentorship:write">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation:write">, z.ZodLiteral<"playbooks:read">, z.ZodLiteral<"playbooks:write">, z.ZodLiteral<"praise:read">, z.ZodLiteral<"praise:write">, z.ZodLiteral<"profile:write">, z.ZodLiteral<"programs:read">, z.ZodLiteral<"programs:write">, z.ZodLiteral<"pulse:read">, z.ZodLiteral<"pulse:write">, z.ZodLiteral<"reports:read">, z.ZodLiteral<"runs:read">, z.ZodLiteral<"runs:write">, z.ZodLiteral<"self:read">, z.ZodLiteral<"self:write">, z.ZodLiteral<"support:read">, z.ZodLiteral<"support:write">, z.ZodLiteral<"team:read">, z.ZodLiteral<"team:write">, z.ZodLiteral<"users:read">, z.ZodLiteral<"users:write">, z.ZodLiteral<"webhooks:read">, z.ZodLiteral<"webhooks:write">]>;
|
|
3286
3286
|
}, z.core.$strict>>;
|
|
3287
3287
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3288
3288
|
BAD_REQUEST: {
|
|
@@ -6527,7 +6527,7 @@ export declare const contract: {
|
|
|
6527
6527
|
} & Record<never, never>>;
|
|
6528
6528
|
places: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
6529
6529
|
places: z.ZodArray<z.ZodObject<{
|
|
6530
|
-
id: z.ZodUnion<readonly [z.ZodLiteral<"badges">, z.ZodLiteral<"celebrations">, z.ZodLiteral<"chats">, z.ZodLiteral<"communities">, z.ZodLiteral<"connections">, z.ZodLiteral<"knowledge">, z.ZodLiteral<"playbook">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
6530
|
+
id: z.ZodUnion<readonly [z.ZodLiteral<"badges">, z.ZodLiteral<"celebrations">, z.ZodLiteral<"chats">, z.ZodLiteral<"communities">, z.ZodLiteral<"connections">, z.ZodLiteral<"knowledge">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
6531
6531
|
waiting: z.ZodBoolean;
|
|
6532
6532
|
}, z.core.$strict>>;
|
|
6533
6533
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -8051,6 +8051,821 @@ export declare const contract: {
|
|
|
8051
8051
|
scope: import("./base.ts").Scope | null;
|
|
8052
8052
|
} & Record<never, never>>;
|
|
8053
8053
|
};
|
|
8054
|
+
mentorship: {
|
|
8055
|
+
checkIns: {
|
|
8056
|
+
answer: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8057
|
+
answer: z.ZodUnion<readonly [z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
8058
|
+
checkInId: z.ZodString;
|
|
8059
|
+
confirm: z.ZodLiteral<"mentorship.checkIns.answer">;
|
|
8060
|
+
requestKey: z.ZodString;
|
|
8061
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8062
|
+
receipt: z.ZodObject<{
|
|
8063
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8064
|
+
createdAt: z.ZodISODateTime;
|
|
8065
|
+
id: z.ZodString;
|
|
8066
|
+
operation: z.ZodString;
|
|
8067
|
+
requestKey: z.ZodString;
|
|
8068
|
+
status: z.ZodEnum<{
|
|
8069
|
+
failed: "failed";
|
|
8070
|
+
running: "running";
|
|
8071
|
+
succeeded: "succeeded";
|
|
8072
|
+
unknown: "unknown";
|
|
8073
|
+
}>;
|
|
8074
|
+
}, z.core.$strip>;
|
|
8075
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8076
|
+
answer: z.ZodUnion<readonly [z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
8077
|
+
changed: z.ZodBoolean;
|
|
8078
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"final">]>;
|
|
8079
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8080
|
+
}, z.core.$strict>>;
|
|
8081
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8082
|
+
BAD_REQUEST: {
|
|
8083
|
+
message: string;
|
|
8084
|
+
};
|
|
8085
|
+
CONFLICT: {
|
|
8086
|
+
message: string;
|
|
8087
|
+
};
|
|
8088
|
+
FORBIDDEN: {
|
|
8089
|
+
message: string;
|
|
8090
|
+
};
|
|
8091
|
+
NOT_FOUND: {
|
|
8092
|
+
message: string;
|
|
8093
|
+
};
|
|
8094
|
+
PRECONDITION_FAILED: {
|
|
8095
|
+
message: string;
|
|
8096
|
+
};
|
|
8097
|
+
TOO_MANY_REQUESTS: {
|
|
8098
|
+
message: string;
|
|
8099
|
+
};
|
|
8100
|
+
UNAUTHORIZED: {
|
|
8101
|
+
message: string;
|
|
8102
|
+
};
|
|
8103
|
+
}>, {
|
|
8104
|
+
scope: import("./base.ts").Scope | null;
|
|
8105
|
+
} & Record<never, never>>;
|
|
8106
|
+
};
|
|
8107
|
+
goals: {
|
|
8108
|
+
remove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8109
|
+
goalId: z.ZodString;
|
|
8110
|
+
pairId: z.ZodString;
|
|
8111
|
+
confirm: z.ZodLiteral<"mentorship.goals.remove">;
|
|
8112
|
+
requestKey: z.ZodString;
|
|
8113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8114
|
+
receipt: z.ZodObject<{
|
|
8115
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8116
|
+
createdAt: z.ZodISODateTime;
|
|
8117
|
+
id: z.ZodString;
|
|
8118
|
+
operation: z.ZodString;
|
|
8119
|
+
requestKey: z.ZodString;
|
|
8120
|
+
status: z.ZodEnum<{
|
|
8121
|
+
failed: "failed";
|
|
8122
|
+
running: "running";
|
|
8123
|
+
succeeded: "succeeded";
|
|
8124
|
+
unknown: "unknown";
|
|
8125
|
+
}>;
|
|
8126
|
+
}, z.core.$strip>;
|
|
8127
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8128
|
+
removed: z.ZodBoolean;
|
|
8129
|
+
}, z.core.$strict>>;
|
|
8130
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8131
|
+
BAD_REQUEST: {
|
|
8132
|
+
message: string;
|
|
8133
|
+
};
|
|
8134
|
+
CONFLICT: {
|
|
8135
|
+
message: string;
|
|
8136
|
+
};
|
|
8137
|
+
FORBIDDEN: {
|
|
8138
|
+
message: string;
|
|
8139
|
+
};
|
|
8140
|
+
NOT_FOUND: {
|
|
8141
|
+
message: string;
|
|
8142
|
+
};
|
|
8143
|
+
PRECONDITION_FAILED: {
|
|
8144
|
+
message: string;
|
|
8145
|
+
};
|
|
8146
|
+
TOO_MANY_REQUESTS: {
|
|
8147
|
+
message: string;
|
|
8148
|
+
};
|
|
8149
|
+
UNAUTHORIZED: {
|
|
8150
|
+
message: string;
|
|
8151
|
+
};
|
|
8152
|
+
}>, {
|
|
8153
|
+
scope: import("./base.ts").Scope | null;
|
|
8154
|
+
} & Record<never, never>>;
|
|
8155
|
+
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8156
|
+
done: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
8157
|
+
goalId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8158
|
+
pairId: z.ZodString;
|
|
8159
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8160
|
+
confirm: z.ZodLiteral<"mentorship.goals.save">;
|
|
8161
|
+
requestKey: z.ZodString;
|
|
8162
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8163
|
+
receipt: z.ZodObject<{
|
|
8164
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8165
|
+
createdAt: z.ZodISODateTime;
|
|
8166
|
+
id: z.ZodString;
|
|
8167
|
+
operation: z.ZodString;
|
|
8168
|
+
requestKey: z.ZodString;
|
|
8169
|
+
status: z.ZodEnum<{
|
|
8170
|
+
failed: "failed";
|
|
8171
|
+
running: "running";
|
|
8172
|
+
succeeded: "succeeded";
|
|
8173
|
+
unknown: "unknown";
|
|
8174
|
+
}>;
|
|
8175
|
+
}, z.core.$strip>;
|
|
8176
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8177
|
+
added: z.ZodBoolean;
|
|
8178
|
+
done: z.ZodBoolean;
|
|
8179
|
+
goalId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8180
|
+
}, z.core.$strict>>;
|
|
8181
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8182
|
+
BAD_REQUEST: {
|
|
8183
|
+
message: string;
|
|
8184
|
+
};
|
|
8185
|
+
CONFLICT: {
|
|
8186
|
+
message: string;
|
|
8187
|
+
};
|
|
8188
|
+
FORBIDDEN: {
|
|
8189
|
+
message: string;
|
|
8190
|
+
};
|
|
8191
|
+
NOT_FOUND: {
|
|
8192
|
+
message: string;
|
|
8193
|
+
};
|
|
8194
|
+
PRECONDITION_FAILED: {
|
|
8195
|
+
message: string;
|
|
8196
|
+
};
|
|
8197
|
+
TOO_MANY_REQUESTS: {
|
|
8198
|
+
message: string;
|
|
8199
|
+
};
|
|
8200
|
+
UNAUTHORIZED: {
|
|
8201
|
+
message: string;
|
|
8202
|
+
};
|
|
8203
|
+
}>, {
|
|
8204
|
+
scope: import("./base.ts").Scope | null;
|
|
8205
|
+
} & Record<never, never>>;
|
|
8206
|
+
};
|
|
8207
|
+
join: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8208
|
+
programId: z.ZodString;
|
|
8209
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8210
|
+
topics: z.ZodString;
|
|
8211
|
+
confirm: z.ZodLiteral<"mentorship.join">;
|
|
8212
|
+
requestKey: z.ZodString;
|
|
8213
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8214
|
+
receipt: z.ZodObject<{
|
|
8215
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8216
|
+
createdAt: z.ZodISODateTime;
|
|
8217
|
+
id: z.ZodString;
|
|
8218
|
+
operation: z.ZodString;
|
|
8219
|
+
requestKey: z.ZodString;
|
|
8220
|
+
status: z.ZodEnum<{
|
|
8221
|
+
failed: "failed";
|
|
8222
|
+
running: "running";
|
|
8223
|
+
succeeded: "succeeded";
|
|
8224
|
+
unknown: "unknown";
|
|
8225
|
+
}>;
|
|
8226
|
+
}, z.core.$strip>;
|
|
8227
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8228
|
+
joined: z.ZodBoolean;
|
|
8229
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8230
|
+
topics: z.ZodBoolean;
|
|
8231
|
+
}, z.core.$strict>>;
|
|
8232
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8233
|
+
BAD_REQUEST: {
|
|
8234
|
+
message: string;
|
|
8235
|
+
};
|
|
8236
|
+
CONFLICT: {
|
|
8237
|
+
message: string;
|
|
8238
|
+
};
|
|
8239
|
+
FORBIDDEN: {
|
|
8240
|
+
message: string;
|
|
8241
|
+
};
|
|
8242
|
+
NOT_FOUND: {
|
|
8243
|
+
message: string;
|
|
8244
|
+
};
|
|
8245
|
+
PRECONDITION_FAILED: {
|
|
8246
|
+
message: string;
|
|
8247
|
+
};
|
|
8248
|
+
TOO_MANY_REQUESTS: {
|
|
8249
|
+
message: string;
|
|
8250
|
+
};
|
|
8251
|
+
UNAUTHORIZED: {
|
|
8252
|
+
message: string;
|
|
8253
|
+
};
|
|
8254
|
+
}>, {
|
|
8255
|
+
scope: import("./base.ts").Scope | null;
|
|
8256
|
+
} & Record<never, never>>;
|
|
8257
|
+
leave: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8258
|
+
programId: z.ZodString;
|
|
8259
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8260
|
+
confirm: z.ZodLiteral<"mentorship.leave">;
|
|
8261
|
+
requestKey: z.ZodString;
|
|
8262
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8263
|
+
receipt: z.ZodObject<{
|
|
8264
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8265
|
+
createdAt: z.ZodISODateTime;
|
|
8266
|
+
id: z.ZodString;
|
|
8267
|
+
operation: z.ZodString;
|
|
8268
|
+
requestKey: z.ZodString;
|
|
8269
|
+
status: z.ZodEnum<{
|
|
8270
|
+
failed: "failed";
|
|
8271
|
+
running: "running";
|
|
8272
|
+
succeeded: "succeeded";
|
|
8273
|
+
unknown: "unknown";
|
|
8274
|
+
}>;
|
|
8275
|
+
}, z.core.$strip>;
|
|
8276
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8277
|
+
changed: z.ZodBoolean;
|
|
8278
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8279
|
+
}, z.core.$strict>>;
|
|
8280
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8281
|
+
BAD_REQUEST: {
|
|
8282
|
+
message: string;
|
|
8283
|
+
};
|
|
8284
|
+
CONFLICT: {
|
|
8285
|
+
message: string;
|
|
8286
|
+
};
|
|
8287
|
+
FORBIDDEN: {
|
|
8288
|
+
message: string;
|
|
8289
|
+
};
|
|
8290
|
+
NOT_FOUND: {
|
|
8291
|
+
message: string;
|
|
8292
|
+
};
|
|
8293
|
+
PRECONDITION_FAILED: {
|
|
8294
|
+
message: string;
|
|
8295
|
+
};
|
|
8296
|
+
TOO_MANY_REQUESTS: {
|
|
8297
|
+
message: string;
|
|
8298
|
+
};
|
|
8299
|
+
UNAUTHORIZED: {
|
|
8300
|
+
message: string;
|
|
8301
|
+
};
|
|
8302
|
+
}>, {
|
|
8303
|
+
scope: import("./base.ts").Scope | null;
|
|
8304
|
+
} & Record<never, never>>;
|
|
8305
|
+
members: {
|
|
8306
|
+
setStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8307
|
+
personId: z.ZodString;
|
|
8308
|
+
programId: z.ZodString;
|
|
8309
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8310
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"removed">]>;
|
|
8311
|
+
confirm: z.ZodLiteral<"mentorship.members.setStatus">;
|
|
8312
|
+
requestKey: z.ZodString;
|
|
8313
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8314
|
+
receipt: z.ZodObject<{
|
|
8315
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8316
|
+
createdAt: z.ZodISODateTime;
|
|
8317
|
+
id: z.ZodString;
|
|
8318
|
+
operation: z.ZodString;
|
|
8319
|
+
requestKey: z.ZodString;
|
|
8320
|
+
status: z.ZodEnum<{
|
|
8321
|
+
failed: "failed";
|
|
8322
|
+
running: "running";
|
|
8323
|
+
succeeded: "succeeded";
|
|
8324
|
+
unknown: "unknown";
|
|
8325
|
+
}>;
|
|
8326
|
+
}, z.core.$strip>;
|
|
8327
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8328
|
+
changed: z.ZodBoolean;
|
|
8329
|
+
}, z.core.$strict>>;
|
|
8330
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8331
|
+
BAD_REQUEST: {
|
|
8332
|
+
message: string;
|
|
8333
|
+
};
|
|
8334
|
+
CONFLICT: {
|
|
8335
|
+
message: string;
|
|
8336
|
+
};
|
|
8337
|
+
FORBIDDEN: {
|
|
8338
|
+
message: string;
|
|
8339
|
+
};
|
|
8340
|
+
NOT_FOUND: {
|
|
8341
|
+
message: string;
|
|
8342
|
+
};
|
|
8343
|
+
PRECONDITION_FAILED: {
|
|
8344
|
+
message: string;
|
|
8345
|
+
};
|
|
8346
|
+
TOO_MANY_REQUESTS: {
|
|
8347
|
+
message: string;
|
|
8348
|
+
};
|
|
8349
|
+
UNAUTHORIZED: {
|
|
8350
|
+
message: string;
|
|
8351
|
+
};
|
|
8352
|
+
}>, {
|
|
8353
|
+
scope: import("./base.ts").Scope | null;
|
|
8354
|
+
} & Record<never, never>>;
|
|
8355
|
+
};
|
|
8356
|
+
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8357
|
+
pairs: z.ZodArray<z.ZodObject<{
|
|
8358
|
+
checkIns: z.ZodArray<z.ZodObject<{
|
|
8359
|
+
answer: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
8360
|
+
dueOn: z.ZodString;
|
|
8361
|
+
id: z.ZodString;
|
|
8362
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"final">]>;
|
|
8363
|
+
}, z.core.$strict>>;
|
|
8364
|
+
endedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8365
|
+
endsOn: z.ZodString;
|
|
8366
|
+
goals: z.ZodArray<z.ZodObject<{
|
|
8367
|
+
done: z.ZodBoolean;
|
|
8368
|
+
id: z.ZodString;
|
|
8369
|
+
title: z.ZodString;
|
|
8370
|
+
}, z.core.$strict>>;
|
|
8371
|
+
id: z.ZodString;
|
|
8372
|
+
nextCheckInOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8373
|
+
other: z.ZodObject<{
|
|
8374
|
+
id: z.ZodString;
|
|
8375
|
+
name: z.ZodString;
|
|
8376
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8377
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8378
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8379
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8380
|
+
}, z.core.$strict>;
|
|
8381
|
+
otherTopics: z.ZodString;
|
|
8382
|
+
program: z.ZodString;
|
|
8383
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8384
|
+
startedAt: z.ZodString;
|
|
8385
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
|
|
8386
|
+
}, z.core.$strict>>;
|
|
8387
|
+
programs: z.ZodArray<z.ZodObject<{
|
|
8388
|
+
audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8389
|
+
description: z.ZodString;
|
|
8390
|
+
id: z.ZodString;
|
|
8391
|
+
mentee: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8392
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
|
|
8393
|
+
topics: z.ZodString;
|
|
8394
|
+
}, z.core.$strict>]>;
|
|
8395
|
+
mentor: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8396
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
|
|
8397
|
+
topics: z.ZodString;
|
|
8398
|
+
}, z.core.$strict>]>;
|
|
8399
|
+
name: z.ZodString;
|
|
8400
|
+
terms: z.ZodString;
|
|
8401
|
+
waiting: z.ZodBoolean;
|
|
8402
|
+
}, z.core.$strict>>;
|
|
8403
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8404
|
+
BAD_REQUEST: {
|
|
8405
|
+
message: string;
|
|
8406
|
+
};
|
|
8407
|
+
CONFLICT: {
|
|
8408
|
+
message: string;
|
|
8409
|
+
};
|
|
8410
|
+
FORBIDDEN: {
|
|
8411
|
+
message: string;
|
|
8412
|
+
};
|
|
8413
|
+
NOT_FOUND: {
|
|
8414
|
+
message: string;
|
|
8415
|
+
};
|
|
8416
|
+
PRECONDITION_FAILED: {
|
|
8417
|
+
message: string;
|
|
8418
|
+
};
|
|
8419
|
+
TOO_MANY_REQUESTS: {
|
|
8420
|
+
message: string;
|
|
8421
|
+
};
|
|
8422
|
+
UNAUTHORIZED: {
|
|
8423
|
+
message: string;
|
|
8424
|
+
};
|
|
8425
|
+
}>, {
|
|
8426
|
+
scope: import("./base.ts").Scope | null;
|
|
8427
|
+
} & Record<never, never>>;
|
|
8428
|
+
pairs: {
|
|
8429
|
+
decide: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8430
|
+
decision: z.ZodUnion<readonly [z.ZodLiteral<"approve">, z.ZodLiteral<"skip">]>;
|
|
8431
|
+
pairId: z.ZodString;
|
|
8432
|
+
confirm: z.ZodLiteral<"mentorship.pairs.decide">;
|
|
8433
|
+
requestKey: z.ZodString;
|
|
8434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8435
|
+
receipt: z.ZodObject<{
|
|
8436
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8437
|
+
createdAt: z.ZodISODateTime;
|
|
8438
|
+
id: z.ZodString;
|
|
8439
|
+
operation: z.ZodString;
|
|
8440
|
+
requestKey: z.ZodString;
|
|
8441
|
+
status: z.ZodEnum<{
|
|
8442
|
+
failed: "failed";
|
|
8443
|
+
running: "running";
|
|
8444
|
+
succeeded: "succeeded";
|
|
8445
|
+
unknown: "unknown";
|
|
8446
|
+
}>;
|
|
8447
|
+
}, z.core.$strip>;
|
|
8448
|
+
result: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
8449
|
+
decision: z.ZodLiteral<"skip">;
|
|
8450
|
+
endsOn: z.ZodOptional<z.ZodUndefined>;
|
|
8451
|
+
reached: z.ZodNumber;
|
|
8452
|
+
status: z.ZodLiteral<"skipped">;
|
|
8453
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8454
|
+
decision: z.ZodLiteral<"approve">;
|
|
8455
|
+
endsOn: z.ZodString;
|
|
8456
|
+
reached: z.ZodNumber;
|
|
8457
|
+
status: z.ZodLiteral<"active">;
|
|
8458
|
+
}, z.core.$strict>]>>;
|
|
8459
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8460
|
+
BAD_REQUEST: {
|
|
8461
|
+
message: string;
|
|
8462
|
+
};
|
|
8463
|
+
CONFLICT: {
|
|
8464
|
+
message: string;
|
|
8465
|
+
};
|
|
8466
|
+
FORBIDDEN: {
|
|
8467
|
+
message: string;
|
|
8468
|
+
};
|
|
8469
|
+
NOT_FOUND: {
|
|
8470
|
+
message: string;
|
|
8471
|
+
};
|
|
8472
|
+
PRECONDITION_FAILED: {
|
|
8473
|
+
message: string;
|
|
8474
|
+
};
|
|
8475
|
+
TOO_MANY_REQUESTS: {
|
|
8476
|
+
message: string;
|
|
8477
|
+
};
|
|
8478
|
+
UNAUTHORIZED: {
|
|
8479
|
+
message: string;
|
|
8480
|
+
};
|
|
8481
|
+
}>, {
|
|
8482
|
+
scope: import("./base.ts").Scope | null;
|
|
8483
|
+
} & Record<never, never>>;
|
|
8484
|
+
end: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8485
|
+
pairId: z.ZodString;
|
|
8486
|
+
confirm: z.ZodLiteral<"mentorship.pairs.end">;
|
|
8487
|
+
requestKey: z.ZodString;
|
|
8488
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8489
|
+
receipt: z.ZodObject<{
|
|
8490
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8491
|
+
createdAt: z.ZodISODateTime;
|
|
8492
|
+
id: z.ZodString;
|
|
8493
|
+
operation: z.ZodString;
|
|
8494
|
+
requestKey: z.ZodString;
|
|
8495
|
+
status: z.ZodEnum<{
|
|
8496
|
+
failed: "failed";
|
|
8497
|
+
running: "running";
|
|
8498
|
+
succeeded: "succeeded";
|
|
8499
|
+
unknown: "unknown";
|
|
8500
|
+
}>;
|
|
8501
|
+
}, z.core.$strip>;
|
|
8502
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8503
|
+
changed: z.ZodBoolean;
|
|
8504
|
+
}, z.core.$strict>>;
|
|
8505
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8506
|
+
BAD_REQUEST: {
|
|
8507
|
+
message: string;
|
|
8508
|
+
};
|
|
8509
|
+
CONFLICT: {
|
|
8510
|
+
message: string;
|
|
8511
|
+
};
|
|
8512
|
+
FORBIDDEN: {
|
|
8513
|
+
message: string;
|
|
8514
|
+
};
|
|
8515
|
+
NOT_FOUND: {
|
|
8516
|
+
message: string;
|
|
8517
|
+
};
|
|
8518
|
+
PRECONDITION_FAILED: {
|
|
8519
|
+
message: string;
|
|
8520
|
+
};
|
|
8521
|
+
TOO_MANY_REQUESTS: {
|
|
8522
|
+
message: string;
|
|
8523
|
+
};
|
|
8524
|
+
UNAUTHORIZED: {
|
|
8525
|
+
message: string;
|
|
8526
|
+
};
|
|
8527
|
+
}>, {
|
|
8528
|
+
scope: import("./base.ts").Scope | null;
|
|
8529
|
+
} & Record<never, never>>;
|
|
8530
|
+
setMine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8531
|
+
pairId: z.ZodString;
|
|
8532
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
|
|
8533
|
+
confirm: z.ZodLiteral<"mentorship.pairs.setMine">;
|
|
8534
|
+
requestKey: z.ZodString;
|
|
8535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8536
|
+
receipt: z.ZodObject<{
|
|
8537
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8538
|
+
createdAt: z.ZodISODateTime;
|
|
8539
|
+
id: z.ZodString;
|
|
8540
|
+
operation: z.ZodString;
|
|
8541
|
+
requestKey: z.ZodString;
|
|
8542
|
+
status: z.ZodEnum<{
|
|
8543
|
+
failed: "failed";
|
|
8544
|
+
running: "running";
|
|
8545
|
+
succeeded: "succeeded";
|
|
8546
|
+
unknown: "unknown";
|
|
8547
|
+
}>;
|
|
8548
|
+
}, z.core.$strip>;
|
|
8549
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8550
|
+
changed: z.ZodBoolean;
|
|
8551
|
+
role: z.ZodString;
|
|
8552
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">]>;
|
|
8553
|
+
}, z.core.$strict>>;
|
|
8554
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8555
|
+
BAD_REQUEST: {
|
|
8556
|
+
message: string;
|
|
8557
|
+
};
|
|
8558
|
+
CONFLICT: {
|
|
8559
|
+
message: string;
|
|
8560
|
+
};
|
|
8561
|
+
FORBIDDEN: {
|
|
8562
|
+
message: string;
|
|
8563
|
+
};
|
|
8564
|
+
NOT_FOUND: {
|
|
8565
|
+
message: string;
|
|
8566
|
+
};
|
|
8567
|
+
PRECONDITION_FAILED: {
|
|
8568
|
+
message: string;
|
|
8569
|
+
};
|
|
8570
|
+
TOO_MANY_REQUESTS: {
|
|
8571
|
+
message: string;
|
|
8572
|
+
};
|
|
8573
|
+
UNAUTHORIZED: {
|
|
8574
|
+
message: string;
|
|
8575
|
+
};
|
|
8576
|
+
}>, {
|
|
8577
|
+
scope: import("./base.ts").Scope | null;
|
|
8578
|
+
} & Record<never, never>>;
|
|
8579
|
+
suggest: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8580
|
+
programId: z.ZodString;
|
|
8581
|
+
confirm: z.ZodLiteral<"mentorship.pairs.suggest">;
|
|
8582
|
+
requestKey: z.ZodString;
|
|
8583
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8584
|
+
receipt: z.ZodObject<{
|
|
8585
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8586
|
+
createdAt: z.ZodISODateTime;
|
|
8587
|
+
id: z.ZodString;
|
|
8588
|
+
operation: z.ZodString;
|
|
8589
|
+
requestKey: z.ZodString;
|
|
8590
|
+
status: z.ZodEnum<{
|
|
8591
|
+
failed: "failed";
|
|
8592
|
+
running: "running";
|
|
8593
|
+
succeeded: "succeeded";
|
|
8594
|
+
unknown: "unknown";
|
|
8595
|
+
}>;
|
|
8596
|
+
}, z.core.$strip>;
|
|
8597
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8598
|
+
suggested: z.ZodNumber;
|
|
8599
|
+
waiting: z.ZodNumber;
|
|
8600
|
+
}, z.core.$strict>>;
|
|
8601
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8602
|
+
BAD_REQUEST: {
|
|
8603
|
+
message: string;
|
|
8604
|
+
};
|
|
8605
|
+
CONFLICT: {
|
|
8606
|
+
message: string;
|
|
8607
|
+
};
|
|
8608
|
+
FORBIDDEN: {
|
|
8609
|
+
message: string;
|
|
8610
|
+
};
|
|
8611
|
+
NOT_FOUND: {
|
|
8612
|
+
message: string;
|
|
8613
|
+
};
|
|
8614
|
+
PRECONDITION_FAILED: {
|
|
8615
|
+
message: string;
|
|
8616
|
+
};
|
|
8617
|
+
TOO_MANY_REQUESTS: {
|
|
8618
|
+
message: string;
|
|
8619
|
+
};
|
|
8620
|
+
UNAUTHORIZED: {
|
|
8621
|
+
message: string;
|
|
8622
|
+
};
|
|
8623
|
+
}>, {
|
|
8624
|
+
scope: import("./base.ts").Scope | null;
|
|
8625
|
+
} & Record<never, never>>;
|
|
8626
|
+
};
|
|
8627
|
+
programs: {
|
|
8628
|
+
get: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8629
|
+
programId: z.ZodString;
|
|
8630
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8631
|
+
members: z.ZodArray<z.ZodObject<{
|
|
8632
|
+
id: z.ZodString;
|
|
8633
|
+
joinedAt: z.ZodString;
|
|
8634
|
+
name: z.ZodString;
|
|
8635
|
+
pairs: z.ZodNumber;
|
|
8636
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8637
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8638
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8639
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"left">, z.ZodLiteral<"removed">]>;
|
|
8640
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8641
|
+
topics: z.ZodString;
|
|
8642
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8643
|
+
}, z.core.$strict>>;
|
|
8644
|
+
pairs: z.ZodArray<z.ZodObject<{
|
|
8645
|
+
checkIns: z.ZodObject<{
|
|
8646
|
+
answered: z.ZodNumber;
|
|
8647
|
+
asked: z.ZodNumber;
|
|
8648
|
+
met: z.ZodNumber;
|
|
8649
|
+
}, z.core.$strict>;
|
|
8650
|
+
endedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8651
|
+
endReason: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"completed">, z.ZodLiteral<"hr">, z.ZodLiteral<"mentee">, z.ZodLiteral<"mentor">]>;
|
|
8652
|
+
endsOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8653
|
+
final: z.ZodObject<{
|
|
8654
|
+
mentee: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
8655
|
+
mentor: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"helped">, z.ZodLiteral<"met">, z.ZodLiteral<"not_yet">]>;
|
|
8656
|
+
}, z.core.$strict>;
|
|
8657
|
+
id: z.ZodString;
|
|
8658
|
+
mentee: z.ZodObject<{
|
|
8659
|
+
id: z.ZodString;
|
|
8660
|
+
name: z.ZodString;
|
|
8661
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8662
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8663
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8664
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8665
|
+
}, z.core.$strict>;
|
|
8666
|
+
mentor: z.ZodObject<{
|
|
8667
|
+
id: z.ZodString;
|
|
8668
|
+
name: z.ZodString;
|
|
8669
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8670
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8671
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8672
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8673
|
+
}, z.core.$strict>;
|
|
8674
|
+
nextCheckInOn: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8675
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
8676
|
+
startedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8677
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"ended">, z.ZodLiteral<"paused">, z.ZodLiteral<"skipped">, z.ZodLiteral<"suggested">]>;
|
|
8678
|
+
suggestedAt: z.ZodString;
|
|
8679
|
+
}, z.core.$strict>>;
|
|
8680
|
+
program: z.ZodObject<{
|
|
8681
|
+
activePairs: z.ZodNumber;
|
|
8682
|
+
audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8683
|
+
checkInWeeks: z.ZodNumber;
|
|
8684
|
+
createdAt: z.ZodString;
|
|
8685
|
+
description: z.ZodString;
|
|
8686
|
+
groupId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8687
|
+
id: z.ZodString;
|
|
8688
|
+
mentees: z.ZodNumber;
|
|
8689
|
+
mentorCapacity: z.ZodNumber;
|
|
8690
|
+
mentors: z.ZodNumber;
|
|
8691
|
+
name: z.ZodString;
|
|
8692
|
+
pairingWeeks: z.ZodNumber;
|
|
8693
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
8694
|
+
suggested: z.ZodNumber;
|
|
8695
|
+
waiting: z.ZodNumber;
|
|
8696
|
+
}, z.core.$strict>;
|
|
8697
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8698
|
+
BAD_REQUEST: {
|
|
8699
|
+
message: string;
|
|
8700
|
+
};
|
|
8701
|
+
CONFLICT: {
|
|
8702
|
+
message: string;
|
|
8703
|
+
};
|
|
8704
|
+
FORBIDDEN: {
|
|
8705
|
+
message: string;
|
|
8706
|
+
};
|
|
8707
|
+
NOT_FOUND: {
|
|
8708
|
+
message: string;
|
|
8709
|
+
};
|
|
8710
|
+
PRECONDITION_FAILED: {
|
|
8711
|
+
message: string;
|
|
8712
|
+
};
|
|
8713
|
+
TOO_MANY_REQUESTS: {
|
|
8714
|
+
message: string;
|
|
8715
|
+
};
|
|
8716
|
+
UNAUTHORIZED: {
|
|
8717
|
+
message: string;
|
|
8718
|
+
};
|
|
8719
|
+
}>, {
|
|
8720
|
+
scope: import("./base.ts").Scope | null;
|
|
8721
|
+
} & Record<never, never>>;
|
|
8722
|
+
list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8723
|
+
programs: z.ZodArray<z.ZodObject<{
|
|
8724
|
+
activePairs: z.ZodNumber;
|
|
8725
|
+
audience: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8726
|
+
checkInWeeks: z.ZodNumber;
|
|
8727
|
+
createdAt: z.ZodString;
|
|
8728
|
+
description: z.ZodString;
|
|
8729
|
+
groupId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8730
|
+
id: z.ZodString;
|
|
8731
|
+
mentees: z.ZodNumber;
|
|
8732
|
+
mentorCapacity: z.ZodNumber;
|
|
8733
|
+
mentors: z.ZodNumber;
|
|
8734
|
+
name: z.ZodString;
|
|
8735
|
+
pairingWeeks: z.ZodNumber;
|
|
8736
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
8737
|
+
suggested: z.ZodNumber;
|
|
8738
|
+
waiting: z.ZodNumber;
|
|
8739
|
+
}, z.core.$strict>>;
|
|
8740
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8741
|
+
BAD_REQUEST: {
|
|
8742
|
+
message: string;
|
|
8743
|
+
};
|
|
8744
|
+
CONFLICT: {
|
|
8745
|
+
message: string;
|
|
8746
|
+
};
|
|
8747
|
+
FORBIDDEN: {
|
|
8748
|
+
message: string;
|
|
8749
|
+
};
|
|
8750
|
+
NOT_FOUND: {
|
|
8751
|
+
message: string;
|
|
8752
|
+
};
|
|
8753
|
+
PRECONDITION_FAILED: {
|
|
8754
|
+
message: string;
|
|
8755
|
+
};
|
|
8756
|
+
TOO_MANY_REQUESTS: {
|
|
8757
|
+
message: string;
|
|
8758
|
+
};
|
|
8759
|
+
UNAUTHORIZED: {
|
|
8760
|
+
message: string;
|
|
8761
|
+
};
|
|
8762
|
+
}>, {
|
|
8763
|
+
scope: import("./base.ts").Scope | null;
|
|
8764
|
+
} & Record<never, never>>;
|
|
8765
|
+
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8766
|
+
checkInWeeks: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
8767
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8768
|
+
groupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
8769
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
8770
|
+
mentorCapacity: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
8771
|
+
name: z.ZodString;
|
|
8772
|
+
pairingWeeks: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
8773
|
+
confirm: z.ZodLiteral<"mentorship.programs.save">;
|
|
8774
|
+
requestKey: z.ZodString;
|
|
8775
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8776
|
+
receipt: z.ZodObject<{
|
|
8777
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8778
|
+
createdAt: z.ZodISODateTime;
|
|
8779
|
+
id: z.ZodString;
|
|
8780
|
+
operation: z.ZodString;
|
|
8781
|
+
requestKey: z.ZodString;
|
|
8782
|
+
status: z.ZodEnum<{
|
|
8783
|
+
failed: "failed";
|
|
8784
|
+
running: "running";
|
|
8785
|
+
succeeded: "succeeded";
|
|
8786
|
+
unknown: "unknown";
|
|
8787
|
+
}>;
|
|
8788
|
+
}, z.core.$strip>;
|
|
8789
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8790
|
+
created: z.ZodBoolean;
|
|
8791
|
+
grouped: z.ZodBoolean;
|
|
8792
|
+
id: z.ZodString;
|
|
8793
|
+
}, z.core.$strict>>;
|
|
8794
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8795
|
+
BAD_REQUEST: {
|
|
8796
|
+
message: string;
|
|
8797
|
+
};
|
|
8798
|
+
CONFLICT: {
|
|
8799
|
+
message: string;
|
|
8800
|
+
};
|
|
8801
|
+
FORBIDDEN: {
|
|
8802
|
+
message: string;
|
|
8803
|
+
};
|
|
8804
|
+
NOT_FOUND: {
|
|
8805
|
+
message: string;
|
|
8806
|
+
};
|
|
8807
|
+
PRECONDITION_FAILED: {
|
|
8808
|
+
message: string;
|
|
8809
|
+
};
|
|
8810
|
+
TOO_MANY_REQUESTS: {
|
|
8811
|
+
message: string;
|
|
8812
|
+
};
|
|
8813
|
+
UNAUTHORIZED: {
|
|
8814
|
+
message: string;
|
|
8815
|
+
};
|
|
8816
|
+
}>, {
|
|
8817
|
+
scope: import("./base.ts").Scope | null;
|
|
8818
|
+
} & Record<never, never>>;
|
|
8819
|
+
setStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8820
|
+
programId: z.ZodString;
|
|
8821
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
8822
|
+
confirm: z.ZodLiteral<"mentorship.programs.setStatus">;
|
|
8823
|
+
requestKey: z.ZodString;
|
|
8824
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8825
|
+
receipt: z.ZodObject<{
|
|
8826
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8827
|
+
createdAt: z.ZodISODateTime;
|
|
8828
|
+
id: z.ZodString;
|
|
8829
|
+
operation: z.ZodString;
|
|
8830
|
+
requestKey: z.ZodString;
|
|
8831
|
+
status: z.ZodEnum<{
|
|
8832
|
+
failed: "failed";
|
|
8833
|
+
running: "running";
|
|
8834
|
+
succeeded: "succeeded";
|
|
8835
|
+
unknown: "unknown";
|
|
8836
|
+
}>;
|
|
8837
|
+
}, z.core.$strip>;
|
|
8838
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8839
|
+
changed: z.ZodBoolean;
|
|
8840
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
8841
|
+
}, z.core.$strict>>;
|
|
8842
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8843
|
+
BAD_REQUEST: {
|
|
8844
|
+
message: string;
|
|
8845
|
+
};
|
|
8846
|
+
CONFLICT: {
|
|
8847
|
+
message: string;
|
|
8848
|
+
};
|
|
8849
|
+
FORBIDDEN: {
|
|
8850
|
+
message: string;
|
|
8851
|
+
};
|
|
8852
|
+
NOT_FOUND: {
|
|
8853
|
+
message: string;
|
|
8854
|
+
};
|
|
8855
|
+
PRECONDITION_FAILED: {
|
|
8856
|
+
message: string;
|
|
8857
|
+
};
|
|
8858
|
+
TOO_MANY_REQUESTS: {
|
|
8859
|
+
message: string;
|
|
8860
|
+
};
|
|
8861
|
+
UNAUTHORIZED: {
|
|
8862
|
+
message: string;
|
|
8863
|
+
};
|
|
8864
|
+
}>, {
|
|
8865
|
+
scope: import("./base.ts").Scope | null;
|
|
8866
|
+
} & Record<never, never>>;
|
|
8867
|
+
};
|
|
8868
|
+
};
|
|
8054
8869
|
network: {
|
|
8055
8870
|
claim: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8056
8871
|
kind: z.ZodUnion<readonly [z.ZodLiteral<"knows">, z.ZodLiteral<"wants_to_meet">]>;
|
|
@@ -8439,13 +9254,13 @@ export declare const contract: {
|
|
|
8439
9254
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
8440
9255
|
groups: z.ZodArray<z.ZodObject<{
|
|
8441
9256
|
id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
|
|
8442
|
-
kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
|
|
9257
|
+
kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
|
|
8443
9258
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
8444
9259
|
}, z.core.$strict>>;
|
|
8445
9260
|
preferences: z.ZodArray<z.ZodObject<{
|
|
8446
9261
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
8447
9262
|
email: z.ZodBoolean;
|
|
8448
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
9263
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
8449
9264
|
slack: z.ZodBoolean;
|
|
8450
9265
|
teams: z.ZodBoolean;
|
|
8451
9266
|
}, z.core.$strict>>;
|
|
@@ -8478,7 +9293,7 @@ export declare const contract: {
|
|
|
8478
9293
|
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8479
9294
|
channel: z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>;
|
|
8480
9295
|
enabled: z.ZodBoolean;
|
|
8481
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
9296
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
8482
9297
|
requestKey: z.ZodString;
|
|
8483
9298
|
}, z.core.$strict>, z.ZodObject<{
|
|
8484
9299
|
receipt: z.ZodObject<{
|
|
@@ -8497,13 +9312,13 @@ export declare const contract: {
|
|
|
8497
9312
|
result: z.ZodNullable<z.ZodObject<{
|
|
8498
9313
|
groups: z.ZodArray<z.ZodObject<{
|
|
8499
9314
|
id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
|
|
8500
|
-
kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
|
|
9315
|
+
kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
|
|
8501
9316
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
8502
9317
|
}, z.core.$strict>>;
|
|
8503
9318
|
preferences: z.ZodArray<z.ZodObject<{
|
|
8504
9319
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
8505
9320
|
email: z.ZodBoolean;
|
|
8506
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
9321
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_message">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"legacy_upgrade">, z.ZodLiteral<"mentorship">, z.ZodLiteral<"playbook">, z.ZodLiteral<"policy_acknowledgement">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
8507
9322
|
slack: z.ZodBoolean;
|
|
8508
9323
|
teams: z.ZodBoolean;
|
|
8509
9324
|
}, z.core.$strict>>;
|
|
@@ -19590,6 +20405,21 @@ export declare const contract: {
|
|
|
19590
20405
|
"knowledge.uploads.retry": "knowledge.uploads.retry";
|
|
19591
20406
|
"manager.current": "manager.current";
|
|
19592
20407
|
"mcp.knowledge": "mcp.knowledge";
|
|
20408
|
+
"mentorship.checkIns.answer": "mentorship.checkIns.answer";
|
|
20409
|
+
"mentorship.goals.remove": "mentorship.goals.remove";
|
|
20410
|
+
"mentorship.goals.save": "mentorship.goals.save";
|
|
20411
|
+
"mentorship.join": "mentorship.join";
|
|
20412
|
+
"mentorship.leave": "mentorship.leave";
|
|
20413
|
+
"mentorship.members.setStatus": "mentorship.members.setStatus";
|
|
20414
|
+
"mentorship.mine": "mentorship.mine";
|
|
20415
|
+
"mentorship.pairs.decide": "mentorship.pairs.decide";
|
|
20416
|
+
"mentorship.pairs.end": "mentorship.pairs.end";
|
|
20417
|
+
"mentorship.pairs.setMine": "mentorship.pairs.setMine";
|
|
20418
|
+
"mentorship.pairs.suggest": "mentorship.pairs.suggest";
|
|
20419
|
+
"mentorship.programs.get": "mentorship.programs.get";
|
|
20420
|
+
"mentorship.programs.list": "mentorship.programs.list";
|
|
20421
|
+
"mentorship.programs.save": "mentorship.programs.save";
|
|
20422
|
+
"mentorship.programs.setStatus": "mentorship.programs.setStatus";
|
|
19593
20423
|
"network.claim": "network.claim";
|
|
19594
20424
|
"network.introductions": "network.introductions";
|
|
19595
20425
|
"network.mine": "network.mine";
|
|
@@ -19811,6 +20641,8 @@ export declare const contract: {
|
|
|
19811
20641
|
"knowledge:read": "knowledge:read";
|
|
19812
20642
|
"knowledge:write": "knowledge:write";
|
|
19813
20643
|
"manager:read": "manager:read";
|
|
20644
|
+
"mentorship:read": "mentorship:read";
|
|
20645
|
+
"mentorship:write": "mentorship:write";
|
|
19814
20646
|
"operations:read": "operations:read";
|
|
19815
20647
|
"operations:write": "operations:write";
|
|
19816
20648
|
"operator:read": "operator:read";
|
|
@@ -20020,6 +20852,21 @@ export declare const contract: {
|
|
|
20020
20852
|
"knowledge.uploads.retry": "knowledge.uploads.retry";
|
|
20021
20853
|
"manager.current": "manager.current";
|
|
20022
20854
|
"mcp.knowledge": "mcp.knowledge";
|
|
20855
|
+
"mentorship.checkIns.answer": "mentorship.checkIns.answer";
|
|
20856
|
+
"mentorship.goals.remove": "mentorship.goals.remove";
|
|
20857
|
+
"mentorship.goals.save": "mentorship.goals.save";
|
|
20858
|
+
"mentorship.join": "mentorship.join";
|
|
20859
|
+
"mentorship.leave": "mentorship.leave";
|
|
20860
|
+
"mentorship.members.setStatus": "mentorship.members.setStatus";
|
|
20861
|
+
"mentorship.mine": "mentorship.mine";
|
|
20862
|
+
"mentorship.pairs.decide": "mentorship.pairs.decide";
|
|
20863
|
+
"mentorship.pairs.end": "mentorship.pairs.end";
|
|
20864
|
+
"mentorship.pairs.setMine": "mentorship.pairs.setMine";
|
|
20865
|
+
"mentorship.pairs.suggest": "mentorship.pairs.suggest";
|
|
20866
|
+
"mentorship.programs.get": "mentorship.programs.get";
|
|
20867
|
+
"mentorship.programs.list": "mentorship.programs.list";
|
|
20868
|
+
"mentorship.programs.save": "mentorship.programs.save";
|
|
20869
|
+
"mentorship.programs.setStatus": "mentorship.programs.setStatus";
|
|
20023
20870
|
"network.claim": "network.claim";
|
|
20024
20871
|
"network.introductions": "network.introductions";
|
|
20025
20872
|
"network.mine": "network.mine";
|