@shuffl/api-contracts 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +166 -3
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +16 -1
- package/dist/management.generated.d.ts +162 -3
- package/dist/management.generated.js +166 -1
- package/dist/permissions.d.ts +4 -0
- package/openapi.json +1989 -411
- package/package.json +1 -1
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.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
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.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
3218
3218
|
confirm: z.ZodLiteral<"credentials.api.create">;
|
|
3219
3219
|
requestKey: z.ZodString;
|
|
3220
3220
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3271,7 +3271,7 @@ 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.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
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.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>>;
|
|
3275
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">]>>;
|
|
3276
3276
|
}, z.core.$strict>>;
|
|
3277
3277
|
permissionCatalog: z.ZodArray<z.ZodObject<{
|
|
@@ -3280,7 +3280,7 @@ 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.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>;
|
|
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.automations">, z.ZodLiteral<"groups.directory">, z.ZodLiteral<"groups.directoryGroup">, z.ZodLiteral<"groups.discardMessage">, z.ZodLiteral<"groups.export">, z.ZodLiteral<"groups.get">, z.ZodLiteral<"groups.glance">, z.ZodLiteral<"groups.list">, z.ZodLiteral<"groups.members">, z.ZodLiteral<"groups.message">, z.ZodLiteral<"groups.messages">, z.ZodLiteral<"groups.options">, z.ZodLiteral<"groups.prepareMessage">, z.ZodLiteral<"groups.preview">, z.ZodLiteral<"groups.refresh">, z.ZodLiteral<"groups.remove">, z.ZodLiteral<"groups.removeAutomation">, z.ZodLiteral<"groups.save">, z.ZodLiteral<"groups.searchPeople">, z.ZodLiteral<"groups.sendMessage">, z.ZodLiteral<"groups.setAutomation">, z.ZodLiteral<"groups.setAutomationState">, z.ZodLiteral<"groups.setPlaybookAutoStart">, z.ZodLiteral<"groups.suggestions">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.acknowledgements.close">, z.ZodLiteral<"knowledge.acknowledgements.mine">, z.ZodLiteral<"knowledge.acknowledgements.remind">, z.ZodLiteral<"knowledge.acknowledgements.request">, z.ZodLiteral<"knowledge.acknowledgements.status">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.handbook.export">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.templates.draft">, z.ZodLiteral<"knowledge.templates.facts">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"network.requestIntro">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"playbooks.answerBuddyAsk">, z.ZodLiteral<"playbooks.answerBuddyFollowUp">, z.ZodLiteral<"playbooks.answerCheckIn">, z.ZodLiteral<"playbooks.answerFirstDaysCheckIn">, z.ZodLiteral<"playbooks.approve">, z.ZodLiteral<"playbooks.askBuddy">, z.ZodLiteral<"playbooks.assignBuddy">, z.ZodLiteral<"playbooks.buddyCandidates">, z.ZodLiteral<"playbooks.buddyFollowUps">, z.ZodLiteral<"playbooks.buddyProgram">, z.ZodLiteral<"playbooks.buddySuggestions">, z.ZodLiteral<"playbooks.candidates">, z.ZodLiteral<"playbooks.completeTodo">, z.ZodLiteral<"playbooks.draftPlan">, z.ZodLiteral<"playbooks.enroll">, z.ZodLiteral<"playbooks.enrollmentPreview">, z.ZodLiteral<"playbooks.firstDaysCheckIns">, z.ZodLiteral<"playbooks.firstDaysResults">, z.ZodLiteral<"playbooks.mine">, z.ZodLiteral<"playbooks.nudge">, z.ZodLiteral<"playbooks.person">, z.ZodLiteral<"playbooks.plans">, z.ZodLiteral<"playbooks.previewEnrollment">, z.ZodLiteral<"playbooks.program">, z.ZodLiteral<"playbooks.remove">, z.ZodLiteral<"playbooks.respondBuddy">, z.ZodLiteral<"playbooks.retry">, z.ZodLiteral<"playbooks.run">, z.ZodLiteral<"playbooks.savePlan">, z.ZodLiteral<"playbooks.saveProgram">, z.ZodLiteral<"playbooks.setBuddyVolunteer">, z.ZodLiteral<"playbooks.setPlanGoal">, z.ZodLiteral<"playbooks.sharePlan">, z.ZodLiteral<"playbooks.update">, z.ZodLiteral<"playbooks.volunteerAsBuddy">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.setRecognition">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.communities">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionGroup">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"reports.playbooks">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.groups">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"sync.setGroup">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.list">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">, z.ZodLiteral<"webhooks.catalog">, z.ZodLiteral<"webhooks.create">, z.ZodLiteral<"webhooks.delete">, z.ZodLiteral<"webhooks.deliveries.get">, z.ZodLiteral<"webhooks.deliveries.list">, z.ZodLiteral<"webhooks.deliveries.replay">, z.ZodLiteral<"webhooks.deliveries.replayFailed">, z.ZodLiteral<"webhooks.get">, z.ZodLiteral<"webhooks.list">, z.ZodLiteral<"webhooks.rotateSecret">, z.ZodLiteral<"webhooks.sendTest">, z.ZodLiteral<"webhooks.update">]>;
|
|
3284
3284
|
resource: z.ZodString;
|
|
3285
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">]>;
|
|
3286
3286
|
}, z.core.$strict>>;
|
|
@@ -4297,6 +4297,7 @@ export declare const contract: {
|
|
|
4297
4297
|
playbook: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4298
4298
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4299
4299
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
4300
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4300
4301
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4301
4302
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
4302
4303
|
buddyInvitation: z.ZodString;
|
|
@@ -4834,6 +4835,36 @@ export declare const contract: {
|
|
|
4834
4835
|
trigger: z.ZodUnion<readonly [z.ZodLiteral<"entered">, z.ZodLiteral<"left">]>;
|
|
4835
4836
|
updatedAt: z.ZodISODateTime;
|
|
4836
4837
|
}, z.core.$strict>>;
|
|
4838
|
+
playbookStarts: z.ZodArray<z.ZodObject<{
|
|
4839
|
+
group: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4840
|
+
id: z.ZodString;
|
|
4841
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"dynamic">, z.ZodLiteral<"list">]>;
|
|
4842
|
+
members: z.ZodNumber;
|
|
4843
|
+
name: z.ZodString;
|
|
4844
|
+
}, z.core.$strict>]>;
|
|
4845
|
+
lastRunAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
4846
|
+
playbook: z.ZodObject<{
|
|
4847
|
+
id: z.ZodString;
|
|
4848
|
+
name: z.ZodString;
|
|
4849
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"archived">, z.ZodLiteral<"paused">]>;
|
|
4850
|
+
}, z.core.$strict>;
|
|
4851
|
+
runs: z.ZodNumber;
|
|
4852
|
+
runs30: z.ZodNumber;
|
|
4853
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"paused">]>;
|
|
4854
|
+
}, z.core.$strict>>;
|
|
4855
|
+
programRosters: z.ZodArray<z.ZodObject<{
|
|
4856
|
+
group: z.ZodObject<{
|
|
4857
|
+
id: z.ZodString;
|
|
4858
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"dynamic">, z.ZodLiteral<"list">]>;
|
|
4859
|
+
members: z.ZodNumber;
|
|
4860
|
+
name: z.ZodString;
|
|
4861
|
+
}, z.core.$strict>;
|
|
4862
|
+
program: z.ZodObject<{
|
|
4863
|
+
id: z.ZodString;
|
|
4864
|
+
name: z.ZodString;
|
|
4865
|
+
}, z.core.$strict>;
|
|
4866
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"paused">]>;
|
|
4867
|
+
}, z.core.$strict>>;
|
|
4837
4868
|
runs: z.ZodArray<z.ZodObject<{
|
|
4838
4869
|
at: z.ZodISODateTime;
|
|
4839
4870
|
automationId: z.ZodString;
|
|
@@ -6125,6 +6156,56 @@ export declare const contract: {
|
|
|
6125
6156
|
}>, {
|
|
6126
6157
|
scope: import("./base.ts").Scope | null;
|
|
6127
6158
|
} & Record<never, never>>;
|
|
6159
|
+
setPlaybookAutoStart: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6160
|
+
groupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
6161
|
+
programId: z.ZodString;
|
|
6162
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"off">, z.ZodLiteral<"paused">]>;
|
|
6163
|
+
confirm: z.ZodLiteral<"groups.setPlaybookAutoStart">;
|
|
6164
|
+
requestKey: z.ZodString;
|
|
6165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6166
|
+
receipt: z.ZodObject<{
|
|
6167
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
6168
|
+
createdAt: z.ZodISODateTime;
|
|
6169
|
+
id: z.ZodString;
|
|
6170
|
+
operation: z.ZodString;
|
|
6171
|
+
requestKey: z.ZodString;
|
|
6172
|
+
status: z.ZodEnum<{
|
|
6173
|
+
failed: "failed";
|
|
6174
|
+
running: "running";
|
|
6175
|
+
succeeded: "succeeded";
|
|
6176
|
+
unknown: "unknown";
|
|
6177
|
+
}>;
|
|
6178
|
+
}, z.core.$strip>;
|
|
6179
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
6180
|
+
changed: z.ZodBoolean;
|
|
6181
|
+
id: z.ZodString;
|
|
6182
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"off">, z.ZodLiteral<"paused">]>;
|
|
6183
|
+
}, z.core.$strict>>;
|
|
6184
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
6185
|
+
BAD_REQUEST: {
|
|
6186
|
+
message: string;
|
|
6187
|
+
};
|
|
6188
|
+
CONFLICT: {
|
|
6189
|
+
message: string;
|
|
6190
|
+
};
|
|
6191
|
+
FORBIDDEN: {
|
|
6192
|
+
message: string;
|
|
6193
|
+
};
|
|
6194
|
+
NOT_FOUND: {
|
|
6195
|
+
message: string;
|
|
6196
|
+
};
|
|
6197
|
+
PRECONDITION_FAILED: {
|
|
6198
|
+
message: string;
|
|
6199
|
+
};
|
|
6200
|
+
TOO_MANY_REQUESTS: {
|
|
6201
|
+
message: string;
|
|
6202
|
+
};
|
|
6203
|
+
UNAUTHORIZED: {
|
|
6204
|
+
message: string;
|
|
6205
|
+
};
|
|
6206
|
+
}>, {
|
|
6207
|
+
scope: import("./base.ts").Scope | null;
|
|
6208
|
+
} & Record<never, never>>;
|
|
6128
6209
|
suggestions: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
6129
6210
|
count: z.ZodNumber;
|
|
6130
6211
|
criteria: z.ZodObject<{
|
|
@@ -9467,6 +9548,55 @@ export declare const contract: {
|
|
|
9467
9548
|
}>, {
|
|
9468
9549
|
scope: import("./base.ts").Scope | null;
|
|
9469
9550
|
} & Record<never, never>>;
|
|
9551
|
+
nudge: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9552
|
+
enrollmentId: z.ZodString;
|
|
9553
|
+
ownerPersonId: z.ZodString;
|
|
9554
|
+
confirm: z.ZodLiteral<"playbooks.nudge">;
|
|
9555
|
+
requestKey: z.ZodString;
|
|
9556
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9557
|
+
receipt: z.ZodObject<{
|
|
9558
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
9559
|
+
createdAt: z.ZodISODateTime;
|
|
9560
|
+
id: z.ZodString;
|
|
9561
|
+
operation: z.ZodString;
|
|
9562
|
+
requestKey: z.ZodString;
|
|
9563
|
+
status: z.ZodEnum<{
|
|
9564
|
+
failed: "failed";
|
|
9565
|
+
running: "running";
|
|
9566
|
+
succeeded: "succeeded";
|
|
9567
|
+
unknown: "unknown";
|
|
9568
|
+
}>;
|
|
9569
|
+
}, z.core.$strip>;
|
|
9570
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
9571
|
+
nudgedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
9572
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"failed">, z.ZodLiteral<"no_slack">, z.ZodLiteral<"nothing_overdue">, z.ZodLiteral<"off">, z.ZodLiteral<"recent">, z.ZodLiteral<"sent">]>;
|
|
9573
|
+
todos: z.ZodNumber;
|
|
9574
|
+
}, z.core.$strict>>;
|
|
9575
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
9576
|
+
BAD_REQUEST: {
|
|
9577
|
+
message: string;
|
|
9578
|
+
};
|
|
9579
|
+
CONFLICT: {
|
|
9580
|
+
message: string;
|
|
9581
|
+
};
|
|
9582
|
+
FORBIDDEN: {
|
|
9583
|
+
message: string;
|
|
9584
|
+
};
|
|
9585
|
+
NOT_FOUND: {
|
|
9586
|
+
message: string;
|
|
9587
|
+
};
|
|
9588
|
+
PRECONDITION_FAILED: {
|
|
9589
|
+
message: string;
|
|
9590
|
+
};
|
|
9591
|
+
TOO_MANY_REQUESTS: {
|
|
9592
|
+
message: string;
|
|
9593
|
+
};
|
|
9594
|
+
UNAUTHORIZED: {
|
|
9595
|
+
message: string;
|
|
9596
|
+
};
|
|
9597
|
+
}>, {
|
|
9598
|
+
scope: import("./base.ts").Scope | null;
|
|
9599
|
+
} & Record<never, never>>;
|
|
9470
9600
|
person: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9471
9601
|
personId: z.ZodString;
|
|
9472
9602
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -9708,6 +9838,7 @@ export declare const contract: {
|
|
|
9708
9838
|
config: z.ZodObject<{
|
|
9709
9839
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
9710
9840
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
9841
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
9711
9842
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
9712
9843
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
9713
9844
|
buddyInvitation: z.ZodString;
|
|
@@ -9761,6 +9892,12 @@ export declare const contract: {
|
|
|
9761
9892
|
}, z.core.$strict>>>>;
|
|
9762
9893
|
timezone: z.ZodString;
|
|
9763
9894
|
}, z.core.$strict>;
|
|
9895
|
+
hires: z.ZodObject<{
|
|
9896
|
+
active: z.ZodNumber;
|
|
9897
|
+
askedForHelp: z.ZodNumber;
|
|
9898
|
+
onTime: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
9899
|
+
overdue: z.ZodNumber;
|
|
9900
|
+
}, z.core.$strict>;
|
|
9764
9901
|
intro: z.ZodString;
|
|
9765
9902
|
program: z.ZodObject<{
|
|
9766
9903
|
id: z.ZodString;
|
|
@@ -9801,6 +9938,25 @@ export declare const contract: {
|
|
|
9801
9938
|
state: z.ZodLiteral<"none">;
|
|
9802
9939
|
total: z.ZodNumber;
|
|
9803
9940
|
}, z.core.$strict>]>;
|
|
9941
|
+
progress: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
9942
|
+
day: z.ZodNumber;
|
|
9943
|
+
done: z.ZodNumber;
|
|
9944
|
+
help: z.ZodBoolean;
|
|
9945
|
+
next: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
9946
|
+
at: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
9947
|
+
title: z.ZodString;
|
|
9948
|
+
}, z.core.$strict>]>;
|
|
9949
|
+
overdue: z.ZodArray<z.ZodObject<{
|
|
9950
|
+
count: z.ZodNumber;
|
|
9951
|
+
nudgedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
9952
|
+
ownerId: z.ZodString;
|
|
9953
|
+
ownerName: z.ZodString;
|
|
9954
|
+
role: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"manager">, z.ZodLiteral<"other">]>;
|
|
9955
|
+
since: z.ZodISODateTime;
|
|
9956
|
+
}, z.core.$strict>>;
|
|
9957
|
+
total: z.ZodNumber;
|
|
9958
|
+
unconfirmed: z.ZodNumber;
|
|
9959
|
+
}, z.core.$strict>]>;
|
|
9804
9960
|
removalReason: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"access_suspended">, z.ZodLiteral<"administrator">, z.ZodLiteral<"employment_ended">, z.ZodLiteral<"leaving_cancelled">]>;
|
|
9805
9961
|
revision: z.ZodNumber;
|
|
9806
9962
|
startDate: z.ZodString;
|
|
@@ -10193,6 +10349,7 @@ export declare const contract: {
|
|
|
10193
10349
|
playbook: z.ZodObject<{
|
|
10194
10350
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
10195
10351
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
10352
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
10196
10353
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
10197
10354
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
10198
10355
|
buddyInvitation: z.ZodString;
|
|
@@ -10298,6 +10455,7 @@ export declare const contract: {
|
|
|
10298
10455
|
playbook: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
10299
10456
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
10300
10457
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
10458
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
10301
10459
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
10302
10460
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
10303
10461
|
buddyInvitation: z.ZodString;
|
|
@@ -14981,6 +15139,7 @@ export declare const contract: {
|
|
|
14981
15139
|
playbook: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
14982
15140
|
autoStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
14983
15141
|
autoStartGroupId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
15142
|
+
autoStartPaused: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
14984
15143
|
buddy: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
14985
15144
|
buddyFollowUpOffsetDays: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>>>;
|
|
14986
15145
|
buddyInvitation: z.ZodString;
|
|
@@ -19143,6 +19302,7 @@ export declare const contract: {
|
|
|
19143
19302
|
"groups.sendMessage": "groups.sendMessage";
|
|
19144
19303
|
"groups.setAutomation": "groups.setAutomation";
|
|
19145
19304
|
"groups.setAutomationState": "groups.setAutomationState";
|
|
19305
|
+
"groups.setPlaybookAutoStart": "groups.setPlaybookAutoStart";
|
|
19146
19306
|
"groups.suggestions": "groups.suggestions";
|
|
19147
19307
|
"home.feed": "home.feed";
|
|
19148
19308
|
"home.places": "home.places";
|
|
@@ -19246,6 +19406,7 @@ export declare const contract: {
|
|
|
19246
19406
|
"playbooks.firstDaysCheckIns": "playbooks.firstDaysCheckIns";
|
|
19247
19407
|
"playbooks.firstDaysResults": "playbooks.firstDaysResults";
|
|
19248
19408
|
"playbooks.mine": "playbooks.mine";
|
|
19409
|
+
"playbooks.nudge": "playbooks.nudge";
|
|
19249
19410
|
"playbooks.person": "playbooks.person";
|
|
19250
19411
|
"playbooks.plans": "playbooks.plans";
|
|
19251
19412
|
"playbooks.previewEnrollment": "playbooks.previewEnrollment";
|
|
@@ -19568,6 +19729,7 @@ export declare const contract: {
|
|
|
19568
19729
|
"groups.sendMessage": "groups.sendMessage";
|
|
19569
19730
|
"groups.setAutomation": "groups.setAutomation";
|
|
19570
19731
|
"groups.setAutomationState": "groups.setAutomationState";
|
|
19732
|
+
"groups.setPlaybookAutoStart": "groups.setPlaybookAutoStart";
|
|
19571
19733
|
"groups.suggestions": "groups.suggestions";
|
|
19572
19734
|
"home.feed": "home.feed";
|
|
19573
19735
|
"home.places": "home.places";
|
|
@@ -19671,6 +19833,7 @@ export declare const contract: {
|
|
|
19671
19833
|
"playbooks.firstDaysCheckIns": "playbooks.firstDaysCheckIns";
|
|
19672
19834
|
"playbooks.firstDaysResults": "playbooks.firstDaysResults";
|
|
19673
19835
|
"playbooks.mine": "playbooks.mine";
|
|
19836
|
+
"playbooks.nudge": "playbooks.nudge";
|
|
19674
19837
|
"playbooks.person": "playbooks.person";
|
|
19675
19838
|
"playbooks.plans": "playbooks.plans";
|
|
19676
19839
|
"playbooks.previewEnrollment": "playbooks.previewEnrollment";
|