@shuffl/api-contracts 0.2.1 → 0.3.0
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 +394 -13
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +43 -0
- package/dist/management.generated.d.ts +371 -13
- package/dist/management.generated.js +436 -8
- package/dist/permissions.d.ts +14 -0
- package/dist/permissions.js +4 -0
- package/dist/schemas.d.ts +3 -0
- package/dist/schemas.js +19 -1
- package/openapi.json +6947 -2181
- package/package.json +1 -1
|
@@ -1427,6 +1427,7 @@ export declare const managementContract: {
|
|
|
1427
1427
|
enabled: z.ZodBoolean;
|
|
1428
1428
|
}, z.core.$strict>;
|
|
1429
1429
|
}, z.core.$strict>;
|
|
1430
|
+
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
1430
1431
|
updatedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
1431
1432
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1432
1433
|
BAD_REQUEST: {
|
|
@@ -1462,7 +1463,6 @@ export declare const managementContract: {
|
|
|
1462
1463
|
sendMinute: z.ZodNumber;
|
|
1463
1464
|
template: z.ZodString;
|
|
1464
1465
|
}, z.core.$strict>, z.ZodObject<{
|
|
1465
|
-
fingerprint: z.ZodString;
|
|
1466
1466
|
messages: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1467
1467
|
audience: z.ZodLiteral<"person">;
|
|
1468
1468
|
recipient: z.ZodString;
|
|
@@ -1736,7 +1736,6 @@ export declare const managementContract: {
|
|
|
1736
1736
|
enabled: z.ZodBoolean;
|
|
1737
1737
|
eventType: z.ZodUnion<readonly [z.ZodLiteral<"anniversary">, z.ZodLiteral<"birthday">]>;
|
|
1738
1738
|
expectedRevision: z.ZodNumber;
|
|
1739
|
-
previewFingerprint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
1740
1739
|
sendHour: z.ZodNumber;
|
|
1741
1740
|
sendMinute: z.ZodNumber;
|
|
1742
1741
|
template: z.ZodString;
|
|
@@ -1787,6 +1786,55 @@ export declare const managementContract: {
|
|
|
1787
1786
|
}>, {
|
|
1788
1787
|
scope: import("./base.ts").Scope | null;
|
|
1789
1788
|
} & Record<never, never>>;
|
|
1789
|
+
saveAnniversaryDate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1790
|
+
anniversaryDate: z.ZodUnion<readonly [z.ZodLiteral<"latest_hire">, z.ZodLiteral<"original_hire">]>;
|
|
1791
|
+
expectedRevision: z.ZodNumber;
|
|
1792
|
+
confirm: z.ZodLiteral<"celebrations.saveAnniversaryDate">;
|
|
1793
|
+
requestKey: z.ZodString;
|
|
1794
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1795
|
+
receipt: z.ZodObject<{
|
|
1796
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1797
|
+
createdAt: z.ZodISODateTime;
|
|
1798
|
+
id: z.ZodString;
|
|
1799
|
+
operation: z.ZodString;
|
|
1800
|
+
requestKey: z.ZodString;
|
|
1801
|
+
status: z.ZodEnum<{
|
|
1802
|
+
failed: "failed";
|
|
1803
|
+
running: "running";
|
|
1804
|
+
succeeded: "succeeded";
|
|
1805
|
+
unknown: "unknown";
|
|
1806
|
+
}>;
|
|
1807
|
+
}, z.core.$strip>;
|
|
1808
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
1809
|
+
changed: z.ZodBoolean;
|
|
1810
|
+
revision: z.ZodNumber;
|
|
1811
|
+
scheduled: z.ZodNumber;
|
|
1812
|
+
}, z.core.$strict>>;
|
|
1813
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1814
|
+
BAD_REQUEST: {
|
|
1815
|
+
message: string;
|
|
1816
|
+
};
|
|
1817
|
+
CONFLICT: {
|
|
1818
|
+
message: string;
|
|
1819
|
+
};
|
|
1820
|
+
FORBIDDEN: {
|
|
1821
|
+
message: string;
|
|
1822
|
+
};
|
|
1823
|
+
NOT_FOUND: {
|
|
1824
|
+
message: string;
|
|
1825
|
+
};
|
|
1826
|
+
PRECONDITION_FAILED: {
|
|
1827
|
+
message: string;
|
|
1828
|
+
};
|
|
1829
|
+
TOO_MANY_REQUESTS: {
|
|
1830
|
+
message: string;
|
|
1831
|
+
};
|
|
1832
|
+
UNAUTHORIZED: {
|
|
1833
|
+
message: string;
|
|
1834
|
+
};
|
|
1835
|
+
}>, {
|
|
1836
|
+
scope: import("./base.ts").Scope | null;
|
|
1837
|
+
} & Record<never, never>>;
|
|
1790
1838
|
savePreferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1791
1839
|
anniversaryOptOut: z.ZodBoolean;
|
|
1792
1840
|
anniversaryShare: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
@@ -1954,6 +2002,48 @@ export declare const managementContract: {
|
|
|
1954
2002
|
}>, {
|
|
1955
2003
|
scope: import("./base.ts").Scope | null;
|
|
1956
2004
|
} & Record<never, never>>;
|
|
2005
|
+
startDates: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
2006
|
+
anniversariesOn: z.ZodBoolean;
|
|
2007
|
+
anniversaryDate: z.ZodUnion<readonly [z.ZodLiteral<"latest_hire">, z.ZodLiteral<"original_hire">]>;
|
|
2008
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2009
|
+
count: z.ZodNumber;
|
|
2010
|
+
date: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
2011
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"future">, z.ZodLiteral<"long_ago">, z.ZodLiteral<"shared">]>;
|
|
2012
|
+
people: z.ZodArray<z.ZodObject<{
|
|
2013
|
+
id: z.ZodString;
|
|
2014
|
+
name: z.ZodString;
|
|
2015
|
+
startDate: z.ZodString;
|
|
2016
|
+
}, z.core.$strict>>;
|
|
2017
|
+
}, z.core.$strict>>;
|
|
2018
|
+
firstHires: z.ZodNumber;
|
|
2019
|
+
lastCheckedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2020
|
+
nextCheckAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2021
|
+
revision: z.ZodNumber;
|
|
2022
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2023
|
+
BAD_REQUEST: {
|
|
2024
|
+
message: string;
|
|
2025
|
+
};
|
|
2026
|
+
CONFLICT: {
|
|
2027
|
+
message: string;
|
|
2028
|
+
};
|
|
2029
|
+
FORBIDDEN: {
|
|
2030
|
+
message: string;
|
|
2031
|
+
};
|
|
2032
|
+
NOT_FOUND: {
|
|
2033
|
+
message: string;
|
|
2034
|
+
};
|
|
2035
|
+
PRECONDITION_FAILED: {
|
|
2036
|
+
message: string;
|
|
2037
|
+
};
|
|
2038
|
+
TOO_MANY_REQUESTS: {
|
|
2039
|
+
message: string;
|
|
2040
|
+
};
|
|
2041
|
+
UNAUTHORIZED: {
|
|
2042
|
+
message: string;
|
|
2043
|
+
};
|
|
2044
|
+
}>, {
|
|
2045
|
+
scope: import("./base.ts").Scope | null;
|
|
2046
|
+
} & Record<never, never>>;
|
|
1957
2047
|
};
|
|
1958
2048
|
communities: {
|
|
1959
2049
|
archive: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -2461,6 +2551,7 @@ export declare const managementContract: {
|
|
|
2461
2551
|
members: z.ZodArray<z.ZodObject<{
|
|
2462
2552
|
canRemove: z.ZodBoolean;
|
|
2463
2553
|
id: z.ZodString;
|
|
2554
|
+
joinedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2464
2555
|
name: z.ZodString;
|
|
2465
2556
|
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
2466
2557
|
role: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"moderator">, z.ZodLiteral<"owner">]>;
|
|
@@ -2835,7 +2926,7 @@ export declare const managementContract: {
|
|
|
2835
2926
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2836
2927
|
acknowledgeExternalAccess: z.ZodLiteral<true>;
|
|
2837
2928
|
name: z.ZodString;
|
|
2838
|
-
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.savePreferences">, z.ZodLiteral<"celebrations.signCard">, 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.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<"home.feed">, 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.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.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.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.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<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, 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.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.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.audienceOptions">, 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.setQuestionAudience">, 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.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, 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.request">, z.ZodLiteral<"sync.run">, 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.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, 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.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">]>>;
|
|
2929
|
+
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<"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.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<"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.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.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.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<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, 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.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.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.audienceOptions">, 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.setQuestionAudience">, 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.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, 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.request">, z.ZodLiteral<"sync.run">, 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.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, 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">]>>;
|
|
2839
2930
|
confirm: z.ZodLiteral<"credentials.api.create">;
|
|
2840
2931
|
requestKey: z.ZodString;
|
|
2841
2932
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2892,7 +2983,7 @@ export declare const managementContract: {
|
|
|
2892
2983
|
isActive: z.ZodBoolean;
|
|
2893
2984
|
lastUsedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2894
2985
|
name: z.ZodString;
|
|
2895
|
-
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.savePreferences">, z.ZodLiteral<"celebrations.signCard">, 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.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<"home.feed">, 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.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.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.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.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<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, 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.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.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.audienceOptions">, 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.setQuestionAudience">, 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.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, 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.request">, z.ZodLiteral<"sync.run">, 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.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, 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.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">]>>;
|
|
2986
|
+
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<"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.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<"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.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.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.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<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, 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.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.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.audienceOptions">, 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.setQuestionAudience">, 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.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, 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.request">, z.ZodLiteral<"sync.run">, 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.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, 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">]>>;
|
|
2896
2987
|
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<"onboarding:read">, z.ZodLiteral<"onboarding:write">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation: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">]>>;
|
|
2897
2988
|
}, z.core.$strict>>;
|
|
2898
2989
|
permissionCatalog: z.ZodArray<z.ZodObject<{
|
|
@@ -2901,7 +2992,7 @@ export declare const managementContract: {
|
|
|
2901
2992
|
description: z.ZodString;
|
|
2902
2993
|
grantable: z.ZodBoolean;
|
|
2903
2994
|
granted: z.ZodBoolean;
|
|
2904
|
-
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.savePreferences">, z.ZodLiteral<"celebrations.signCard">, 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.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<"home.feed">, 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.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.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.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.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<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, 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.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.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.audienceOptions">, 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.setQuestionAudience">, 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.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, 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.request">, z.ZodLiteral<"sync.run">, 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.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, 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.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">]>;
|
|
2995
|
+
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<"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.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<"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.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.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.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<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, 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.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.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.audienceOptions">, 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.setQuestionAudience">, 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.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, 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.request">, z.ZodLiteral<"sync.run">, 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.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, 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">]>;
|
|
2905
2996
|
resource: z.ZodString;
|
|
2906
2997
|
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<"onboarding:read">, z.ZodLiteral<"onboarding:write">, z.ZodLiteral<"operations:read">, z.ZodLiteral<"operations:write">, z.ZodLiteral<"operator:read">, z.ZodLiteral<"operator:write">, z.ZodLiteral<"participation: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">]>;
|
|
2907
2998
|
}, z.core.$strict>>;
|
|
@@ -3211,6 +3302,11 @@ export declare const managementContract: {
|
|
|
3211
3302
|
path: z.ZodString;
|
|
3212
3303
|
}, z.core.$strict>;
|
|
3213
3304
|
note: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3305
|
+
ratio: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3306
|
+
label: z.ZodString;
|
|
3307
|
+
part: z.ZodNumber;
|
|
3308
|
+
whole: z.ZodNumber;
|
|
3309
|
+
}, z.core.$strict>>>;
|
|
3214
3310
|
stats: z.ZodArray<z.ZodObject<{
|
|
3215
3311
|
label: z.ZodString;
|
|
3216
3312
|
value: z.ZodString;
|
|
@@ -3224,6 +3320,7 @@ export declare const managementContract: {
|
|
|
3224
3320
|
message: z.ZodString;
|
|
3225
3321
|
path: z.ZodString;
|
|
3226
3322
|
}, z.core.$strict>]>;
|
|
3323
|
+
trend: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
3227
3324
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3228
3325
|
BAD_REQUEST: {
|
|
3229
3326
|
message: string;
|
|
@@ -3544,6 +3641,7 @@ export declare const managementContract: {
|
|
|
3544
3641
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3545
3642
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3546
3643
|
memberId: z.ZodString;
|
|
3644
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3547
3645
|
revision: z.ZodNumber;
|
|
3548
3646
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3549
3647
|
teamId: z.ZodString;
|
|
@@ -3607,6 +3705,7 @@ export declare const managementContract: {
|
|
|
3607
3705
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3608
3706
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
3609
3707
|
anchor: z.ZodString;
|
|
3708
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
3610
3709
|
frequency: z.ZodUnion<readonly [z.ZodLiteral<"days">, z.ZodLiteral<"hours">, z.ZodLiteral<"minutes">, z.ZodLiteral<"monthly-date">, z.ZodLiteral<"monthly-last-weekday">, z.ZodLiteral<"monthly-weekday">, z.ZodLiteral<"weeks">]>;
|
|
3611
3710
|
interval: z.ZodNumber;
|
|
3612
3711
|
timezone: z.ZodString;
|
|
@@ -4257,6 +4356,36 @@ export declare const managementContract: {
|
|
|
4257
4356
|
}>, {
|
|
4258
4357
|
scope: import("./base.ts").Scope | null;
|
|
4259
4358
|
} & Record<never, never>>;
|
|
4359
|
+
places: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
4360
|
+
places: z.ZodArray<z.ZodObject<{
|
|
4361
|
+
id: z.ZodUnion<readonly [z.ZodLiteral<"badges">, z.ZodLiteral<"celebrations">, z.ZodLiteral<"chats">, z.ZodLiteral<"communities">, z.ZodLiteral<"knowledge">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
4362
|
+
waiting: z.ZodBoolean;
|
|
4363
|
+
}, z.core.$strict>>;
|
|
4364
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4365
|
+
BAD_REQUEST: {
|
|
4366
|
+
message: string;
|
|
4367
|
+
};
|
|
4368
|
+
CONFLICT: {
|
|
4369
|
+
message: string;
|
|
4370
|
+
};
|
|
4371
|
+
FORBIDDEN: {
|
|
4372
|
+
message: string;
|
|
4373
|
+
};
|
|
4374
|
+
NOT_FOUND: {
|
|
4375
|
+
message: string;
|
|
4376
|
+
};
|
|
4377
|
+
PRECONDITION_FAILED: {
|
|
4378
|
+
message: string;
|
|
4379
|
+
};
|
|
4380
|
+
TOO_MANY_REQUESTS: {
|
|
4381
|
+
message: string;
|
|
4382
|
+
};
|
|
4383
|
+
UNAUTHORIZED: {
|
|
4384
|
+
message: string;
|
|
4385
|
+
};
|
|
4386
|
+
}>, {
|
|
4387
|
+
scope: import("./base.ts").Scope | null;
|
|
4388
|
+
} & Record<never, never>>;
|
|
4260
4389
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4261
4390
|
autoplay: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4262
4391
|
forYou: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
@@ -4750,6 +4879,42 @@ export declare const managementContract: {
|
|
|
4750
4879
|
}>, {
|
|
4751
4880
|
scope: import("./base.ts").Scope | null;
|
|
4752
4881
|
} & Record<never, never>>;
|
|
4882
|
+
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
4883
|
+
createdAt: z.ZodISODateTime;
|
|
4884
|
+
destinationName: z.ZodString;
|
|
4885
|
+
id: z.ZodString;
|
|
4886
|
+
latestReply: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4887
|
+
body: z.ZodString;
|
|
4888
|
+
createdAt: z.ZodISODateTime;
|
|
4889
|
+
}, z.core.$strict>]>;
|
|
4890
|
+
sharedText: z.ZodString;
|
|
4891
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"resolved">, z.ZodLiteral<"waiting_on_employee">, z.ZodLiteral<"waiting_on_hr">]>;
|
|
4892
|
+
updatedAt: z.ZodISODateTime;
|
|
4893
|
+
}, z.core.$strict>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4894
|
+
BAD_REQUEST: {
|
|
4895
|
+
message: string;
|
|
4896
|
+
};
|
|
4897
|
+
CONFLICT: {
|
|
4898
|
+
message: string;
|
|
4899
|
+
};
|
|
4900
|
+
FORBIDDEN: {
|
|
4901
|
+
message: string;
|
|
4902
|
+
};
|
|
4903
|
+
NOT_FOUND: {
|
|
4904
|
+
message: string;
|
|
4905
|
+
};
|
|
4906
|
+
PRECONDITION_FAILED: {
|
|
4907
|
+
message: string;
|
|
4908
|
+
};
|
|
4909
|
+
TOO_MANY_REQUESTS: {
|
|
4910
|
+
message: string;
|
|
4911
|
+
};
|
|
4912
|
+
UNAUTHORIZED: {
|
|
4913
|
+
message: string;
|
|
4914
|
+
};
|
|
4915
|
+
}>, {
|
|
4916
|
+
scope: import("./base.ts").Scope | null;
|
|
4917
|
+
} & Record<never, never>>;
|
|
4753
4918
|
readiness: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
4754
4919
|
ready: z.ZodBoolean;
|
|
4755
4920
|
reason: z.ZodLiteral<"no_destination">;
|
|
@@ -7564,13 +7729,13 @@ export declare const managementContract: {
|
|
|
7564
7729
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
7565
7730
|
groups: z.ZodArray<z.ZodObject<{
|
|
7566
7731
|
id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
|
|
7567
|
-
kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
|
|
7732
|
+
kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
|
|
7568
7733
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
7569
7734
|
}, z.core.$strict>>;
|
|
7570
7735
|
preferences: z.ZodArray<z.ZodObject<{
|
|
7571
7736
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
7572
7737
|
email: z.ZodBoolean;
|
|
7573
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
7738
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
7574
7739
|
slack: z.ZodBoolean;
|
|
7575
7740
|
teams: z.ZodBoolean;
|
|
7576
7741
|
}, z.core.$strict>>;
|
|
@@ -7603,7 +7768,7 @@ export declare const managementContract: {
|
|
|
7603
7768
|
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7604
7769
|
channel: z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>;
|
|
7605
7770
|
enabled: z.ZodBoolean;
|
|
7606
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
7771
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
7607
7772
|
requestKey: z.ZodString;
|
|
7608
7773
|
}, z.core.$strict>, z.ZodObject<{
|
|
7609
7774
|
receipt: z.ZodObject<{
|
|
@@ -7622,13 +7787,13 @@ export declare const managementContract: {
|
|
|
7622
7787
|
result: z.ZodNullable<z.ZodObject<{
|
|
7623
7788
|
groups: z.ZodArray<z.ZodObject<{
|
|
7624
7789
|
id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
|
|
7625
|
-
kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
|
|
7790
|
+
kinds: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>>;
|
|
7626
7791
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
7627
7792
|
}, z.core.$strict>>;
|
|
7628
7793
|
preferences: z.ZodArray<z.ZodObject<{
|
|
7629
7794
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
7630
7795
|
email: z.ZodBoolean;
|
|
7631
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
7796
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"billing_limit">, z.ZodLiteral<"celebration">, z.ZodLiteral<"check_in">, z.ZodLiteral<"connections_intro">, z.ZodLiteral<"getting_started">, z.ZodLiteral<"hr_digest">, z.ZodLiteral<"hr_reply">, z.ZodLiteral<"hr_request">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"praise">, z.ZodLiteral<"product_updates">, z.ZodLiteral<"pulse">, z.ZodLiteral<"pulse_results">, z.ZodLiteral<"support_new">, z.ZodLiteral<"support_reply">]>;
|
|
7632
7797
|
slack: z.ZodBoolean;
|
|
7633
7798
|
teams: z.ZodBoolean;
|
|
7634
7799
|
}, z.core.$strict>>;
|
|
@@ -8245,6 +8410,78 @@ export declare const managementContract: {
|
|
|
8245
8410
|
}>, {
|
|
8246
8411
|
scope: import("./base.ts").Scope | null;
|
|
8247
8412
|
} & Record<never, never>>;
|
|
8413
|
+
journey: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8414
|
+
buddy: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8415
|
+
email: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8416
|
+
id: z.ZodString;
|
|
8417
|
+
name: z.ZodString;
|
|
8418
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8419
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8420
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8421
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8422
|
+
}, z.core.$strict>]>;
|
|
8423
|
+
checkpoints: z.ZodArray<z.ZodObject<{
|
|
8424
|
+
checkpoint: z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>;
|
|
8425
|
+
closesAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
8426
|
+
date: z.ZodString;
|
|
8427
|
+
day: z.ZodNumber;
|
|
8428
|
+
label: z.ZodString;
|
|
8429
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"answered">, z.ZodLiteral<"closed">, z.ZodLiteral<"due">, z.ZodLiteral<"open">, z.ZodLiteral<"skipped">, z.ZodLiteral<"upcoming">]>;
|
|
8430
|
+
title: z.ZodString;
|
|
8431
|
+
}, z.core.$strict>>;
|
|
8432
|
+
day: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
8433
|
+
enrolled: z.ZodBoolean;
|
|
8434
|
+
manager: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8435
|
+
email: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8436
|
+
id: z.ZodString;
|
|
8437
|
+
name: z.ZodString;
|
|
8438
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8439
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8440
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8441
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8442
|
+
}, z.core.$strict>]>;
|
|
8443
|
+
managerCheckIns: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8444
|
+
cadence: z.ZodUnion<readonly [z.ZodLiteral<"biweekly">, z.ZodLiteral<"weekly">]>;
|
|
8445
|
+
week: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
8446
|
+
weeks: z.ZodNumber;
|
|
8447
|
+
}, z.core.$strict>]>;
|
|
8448
|
+
programName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8449
|
+
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8450
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
8451
|
+
answer: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"all_good">, z.ZodLiteral<"need_help">]>;
|
|
8452
|
+
date: z.ZodString;
|
|
8453
|
+
day: z.ZodNumber;
|
|
8454
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"introduction">]>;
|
|
8455
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"done">, z.ZodLiteral<"planned">, z.ZodLiteral<"stopped">]>;
|
|
8456
|
+
status: z.ZodString;
|
|
8457
|
+
stepId: z.ZodString;
|
|
8458
|
+
}, z.core.$strict>>;
|
|
8459
|
+
today: z.ZodString;
|
|
8460
|
+
}, z.core.$strict>]>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8461
|
+
BAD_REQUEST: {
|
|
8462
|
+
message: string;
|
|
8463
|
+
};
|
|
8464
|
+
CONFLICT: {
|
|
8465
|
+
message: string;
|
|
8466
|
+
};
|
|
8467
|
+
FORBIDDEN: {
|
|
8468
|
+
message: string;
|
|
8469
|
+
};
|
|
8470
|
+
NOT_FOUND: {
|
|
8471
|
+
message: string;
|
|
8472
|
+
};
|
|
8473
|
+
PRECONDITION_FAILED: {
|
|
8474
|
+
message: string;
|
|
8475
|
+
};
|
|
8476
|
+
TOO_MANY_REQUESTS: {
|
|
8477
|
+
message: string;
|
|
8478
|
+
};
|
|
8479
|
+
UNAUTHORIZED: {
|
|
8480
|
+
message: string;
|
|
8481
|
+
};
|
|
8482
|
+
}>, {
|
|
8483
|
+
scope: import("./base.ts").Scope | null;
|
|
8484
|
+
} & Record<never, never>>;
|
|
8248
8485
|
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
8249
8486
|
buddyAsks: z.ZodArray<z.ZodNever>;
|
|
8250
8487
|
buddyName: z.ZodNull;
|
|
@@ -8734,6 +8971,7 @@ export declare const managementContract: {
|
|
|
8734
8971
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
8735
8972
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
8736
8973
|
anchor: z.ZodString;
|
|
8974
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
8737
8975
|
frequency: z.ZodUnion<readonly [z.ZodLiteral<"days">, z.ZodLiteral<"hours">, z.ZodLiteral<"minutes">, z.ZodLiteral<"monthly-date">, z.ZodLiteral<"monthly-last-weekday">, z.ZodLiteral<"monthly-weekday">, z.ZodLiteral<"weeks">]>;
|
|
8738
8976
|
interval: z.ZodNumber;
|
|
8739
8977
|
timezone: z.ZodString;
|
|
@@ -8864,6 +9102,7 @@ export declare const managementContract: {
|
|
|
8864
9102
|
entityId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8865
9103
|
entityName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8866
9104
|
id: z.ZodString;
|
|
9105
|
+
summary: z.ZodString;
|
|
8867
9106
|
teamId: z.ZodString;
|
|
8868
9107
|
}, z.core.$strict>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8869
9108
|
BAD_REQUEST: {
|
|
@@ -9466,7 +9705,7 @@ export declare const managementContract: {
|
|
|
9466
9705
|
send: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9467
9706
|
channelId: z.ZodString;
|
|
9468
9707
|
composerKey: z.ZodString;
|
|
9469
|
-
from: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"feed">, z.ZodLiteral<"nudge">, z.ZodLiteral<"profile">, z.ZodLiteral<"suggestion">, z.ZodLiteral<"yours">]>>>;
|
|
9708
|
+
from: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"feed">, z.ZodLiteral<"nudge">, z.ZodLiteral<"profile">, z.ZodLiteral<"slack_reminder">, z.ZodLiteral<"slack_thank_back">, z.ZodLiteral<"suggestion">, z.ZodLiteral<"yours">]>>>;
|
|
9470
9709
|
recipientIds: z.ZodArray<z.ZodString>;
|
|
9471
9710
|
text: z.ZodString;
|
|
9472
9711
|
values: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -9632,6 +9871,10 @@ export declare const managementContract: {
|
|
|
9632
9871
|
reactionReadScope: z.ZodBoolean;
|
|
9633
9872
|
reactionScope: z.ZodBoolean;
|
|
9634
9873
|
revision: z.ZodNumber;
|
|
9874
|
+
slack: z.ZodObject<{
|
|
9875
|
+
reason: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"grid_pending">, z.ZodLiteral<"missing_permissions">, z.ZodLiteral<"not_installed">, z.ZodLiteral<"paused">, z.ZodLiteral<"revoked">, z.ZodLiteral<"sample_data">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"uninstalled">, z.ZodLiteral<"workspace_changed">]>;
|
|
9876
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
9877
|
+
}, z.core.$strict>;
|
|
9635
9878
|
status: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"on">]>;
|
|
9636
9879
|
valuesPages: z.ZodArray<z.ZodObject<{
|
|
9637
9880
|
id: z.ZodString;
|
|
@@ -10205,6 +10448,7 @@ export declare const managementContract: {
|
|
|
10205
10448
|
scope: import("./base.ts").Scope | null;
|
|
10206
10449
|
} & Record<never, never>>;
|
|
10207
10450
|
whoKnows: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10451
|
+
from: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"command_palette">, z.ZodLiteral<"people_page">]>>>;
|
|
10208
10452
|
limit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
10209
10453
|
personIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
10210
10454
|
topic: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -10406,6 +10650,7 @@ export declare const managementContract: {
|
|
|
10406
10650
|
version: z.ZodLiteral<1>;
|
|
10407
10651
|
}, z.core.$strict>, z.ZodObject<{
|
|
10408
10652
|
anchor: z.ZodString;
|
|
10653
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
10409
10654
|
frequency: z.ZodUnion<readonly [z.ZodLiteral<"days">, z.ZodLiteral<"hours">, z.ZodLiteral<"minutes">, z.ZodLiteral<"monthly-date">, z.ZodLiteral<"monthly-last-weekday">, z.ZodLiteral<"monthly-weekday">, z.ZodLiteral<"weeks">]>;
|
|
10410
10655
|
interval: z.ZodNumber;
|
|
10411
10656
|
timezone: z.ZodString;
|
|
@@ -11331,6 +11576,10 @@ export declare const managementContract: {
|
|
|
11331
11576
|
tone: z.ZodUnion<readonly [z.ZodLiteral<"down">, z.ZodLiteral<"steady">, z.ZodLiteral<"up">, z.ZodLiteral<"watch">]>;
|
|
11332
11577
|
}, z.core.$strict>>;
|
|
11333
11578
|
floorMet: z.ZodBoolean;
|
|
11579
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
11580
|
+
label: z.ZodString;
|
|
11581
|
+
value: z.ZodNumber;
|
|
11582
|
+
}, z.core.$strict>>;
|
|
11334
11583
|
invited: z.ZodNumber;
|
|
11335
11584
|
participationPct: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
11336
11585
|
questionText: z.ZodString;
|
|
@@ -11449,8 +11698,12 @@ export declare const managementContract: {
|
|
|
11449
11698
|
openHours: z.ZodNumber;
|
|
11450
11699
|
reportingFloor: z.ZodNumber;
|
|
11451
11700
|
sendDays: z.ZodArray<z.ZodNumber>;
|
|
11701
|
+
sendEvery: z.ZodNumber;
|
|
11452
11702
|
sendHour: z.ZodNumber;
|
|
11453
11703
|
sendMinute: z.ZodNumber;
|
|
11704
|
+
sendMonthWeek: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
11705
|
+
sendStart: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
11706
|
+
sendUnit: z.ZodUnion<readonly [z.ZodLiteral<"day">, z.ZodLiteral<"month">, z.ZodLiteral<"week">]>;
|
|
11454
11707
|
timezone: z.ZodString;
|
|
11455
11708
|
}, z.core.$strict>;
|
|
11456
11709
|
slackReachable: z.ZodNumber;
|
|
@@ -11954,8 +12207,12 @@ export declare const managementContract: {
|
|
|
11954
12207
|
openHours: z.ZodNumber;
|
|
11955
12208
|
reportingFloor: z.ZodNumber;
|
|
11956
12209
|
sendDays: z.ZodArray<z.ZodNumber>;
|
|
12210
|
+
sendEvery: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
11957
12211
|
sendHour: z.ZodNumber;
|
|
11958
12212
|
sendMinute: z.ZodNumber;
|
|
12213
|
+
sendMonthWeek: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
|
|
12214
|
+
sendStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
12215
|
+
sendUnit: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day">, z.ZodLiteral<"month">, z.ZodLiteral<"week">]>>>;
|
|
11959
12216
|
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">]>;
|
|
11960
12217
|
timezone: z.ZodString;
|
|
11961
12218
|
confirm: z.ZodLiteral<"pulse.saveProgram">;
|
|
@@ -12355,6 +12612,7 @@ export declare const managementContract: {
|
|
|
12355
12612
|
} & Record<never, never>>;
|
|
12356
12613
|
saveSetting: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
12357
12614
|
choice: z.ZodString;
|
|
12615
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
12358
12616
|
kind: z.ZodUnion<readonly [z.ZodLiteral<"manager_check_in">, z.ZodLiteral<"new_hire_check_in">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
12359
12617
|
confirm: z.ZodLiteral<"reminders.saveSetting">;
|
|
12360
12618
|
requestKey: z.ZodString;
|
|
@@ -12375,6 +12633,7 @@ export declare const managementContract: {
|
|
|
12375
12633
|
result: z.ZodNullable<z.ZodObject<{
|
|
12376
12634
|
changed: z.ZodBoolean;
|
|
12377
12635
|
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"biweekly">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"first_90_days">, z.ZodLiteral<"first_year">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">, z.ZodLiteral<"weekly">]>;
|
|
12636
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
12378
12637
|
kind: z.ZodUnion<readonly [z.ZodLiteral<"manager_check_in">, z.ZodLiteral<"new_hire_check_in">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
12379
12638
|
}, z.core.$strict>>;
|
|
12380
12639
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -12406,24 +12665,28 @@ export declare const managementContract: {
|
|
|
12406
12665
|
manager_check_in: z.ZodObject<{
|
|
12407
12666
|
available: z.ZodBoolean;
|
|
12408
12667
|
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"biweekly">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"first_90_days">, z.ZodLiteral<"first_year">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">, z.ZodLiteral<"weekly">]>;
|
|
12668
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
12409
12669
|
optedOut: z.ZodNumber;
|
|
12410
12670
|
options: z.ZodArray<z.ZodString>;
|
|
12411
12671
|
}, z.core.$strict>;
|
|
12412
12672
|
new_hire_check_in: z.ZodObject<{
|
|
12413
12673
|
available: z.ZodBoolean;
|
|
12414
12674
|
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"biweekly">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"first_90_days">, z.ZodLiteral<"first_year">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">, z.ZodLiteral<"weekly">]>;
|
|
12675
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
12415
12676
|
optedOut: z.ZodNumber;
|
|
12416
12677
|
options: z.ZodArray<z.ZodString>;
|
|
12417
12678
|
}, z.core.$strict>;
|
|
12418
12679
|
praise: z.ZodObject<{
|
|
12419
12680
|
available: z.ZodBoolean;
|
|
12420
12681
|
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"biweekly">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"first_90_days">, z.ZodLiteral<"first_year">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">, z.ZodLiteral<"weekly">]>;
|
|
12682
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
12421
12683
|
optedOut: z.ZodNumber;
|
|
12422
12684
|
options: z.ZodArray<z.ZodString>;
|
|
12423
12685
|
}, z.core.$strict>;
|
|
12424
12686
|
pulse: z.ZodObject<{
|
|
12425
12687
|
available: z.ZodBoolean;
|
|
12426
12688
|
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"biweekly">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"first_90_days">, z.ZodLiteral<"first_year">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">, z.ZodLiteral<"weekly">]>;
|
|
12689
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
12427
12690
|
optedOut: z.ZodNumber;
|
|
12428
12691
|
options: z.ZodArray<z.ZodString>;
|
|
12429
12692
|
}, z.core.$strict>;
|
|
@@ -13475,6 +13738,7 @@ export declare const managementContract: {
|
|
|
13475
13738
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
13476
13739
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
13477
13740
|
anchor: z.ZodString;
|
|
13741
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
13478
13742
|
frequency: z.ZodUnion<readonly [z.ZodLiteral<"days">, z.ZodLiteral<"hours">, z.ZodLiteral<"minutes">, z.ZodLiteral<"monthly-date">, z.ZodLiteral<"monthly-last-weekday">, z.ZodLiteral<"monthly-weekday">, z.ZodLiteral<"weeks">]>;
|
|
13479
13743
|
interval: z.ZodNumber;
|
|
13480
13744
|
timezone: z.ZodString;
|
|
@@ -14278,6 +14542,7 @@ export declare const managementContract: {
|
|
|
14278
14542
|
} & Record<never, never>>;
|
|
14279
14543
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
14280
14544
|
body: z.ZodString;
|
|
14545
|
+
guides: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"abstain">, z.ZodLiteral<"answer">, z.ZodLiteral<"empty">, z.ZodLiteral<"not_checked">, z.ZodLiteral<"unavailable">]>>>;
|
|
14281
14546
|
subject: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14282
14547
|
requestKey: z.ZodString;
|
|
14283
14548
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -14627,6 +14892,10 @@ export declare const managementContract: {
|
|
|
14627
14892
|
status: z.ZodString;
|
|
14628
14893
|
trigger: z.ZodString;
|
|
14629
14894
|
}, z.core.$strict>>;
|
|
14895
|
+
slack: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
14896
|
+
reason: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"grid_pending">, z.ZodLiteral<"missing_permissions">, z.ZodLiteral<"not_installed">, z.ZodLiteral<"paused">, z.ZodLiteral<"revoked">, z.ZodLiteral<"sample_data">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"uninstalled">, z.ZodLiteral<"workspace_changed">]>;
|
|
14897
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
14898
|
+
}, z.core.$strict>]>;
|
|
14630
14899
|
status: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"needs_attention">]>;
|
|
14631
14900
|
}, z.core.$strict>>;
|
|
14632
14901
|
organizationId: z.ZodString;
|
|
@@ -15404,10 +15673,11 @@ export declare const managementContract: {
|
|
|
15404
15673
|
}, z.core.$strict>;
|
|
15405
15674
|
slack: z.ZodObject<{
|
|
15406
15675
|
available: z.ZodBoolean;
|
|
15407
|
-
|
|
15676
|
+
live: z.ZodBoolean;
|
|
15408
15677
|
missingScopes: z.ZodArray<z.ZodString>;
|
|
15409
15678
|
ready: z.ZodBoolean;
|
|
15410
|
-
|
|
15679
|
+
reason: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"grid_pending">, z.ZodLiteral<"missing_permissions">, z.ZodLiteral<"not_installed">, z.ZodLiteral<"paused">, z.ZodLiteral<"revoked">, z.ZodLiteral<"sample_data">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"uninstalled">, z.ZodLiteral<"workspace_changed">]>;
|
|
15680
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
15411
15681
|
}, z.core.$strict>;
|
|
15412
15682
|
steps: z.ZodArray<z.ZodObject<{
|
|
15413
15683
|
id: z.ZodUnion<readonly [z.ZodLiteral<"access">, z.ZodLiteral<"celebrations">, z.ZodLiteral<"communities">, z.ZodLiteral<"connections">, z.ZodLiteral<"employees">, z.ZodLiteral<"hr">, z.ZodLiteral<"knowledge">, z.ZodLiteral<"onboarding">, z.ZodLiteral<"preview">, z.ZodLiteral<"pulse">, z.ZodLiteral<"slack">]>;
|
|
@@ -15490,6 +15760,38 @@ export declare const managementContract: {
|
|
|
15490
15760
|
}>, {
|
|
15491
15761
|
scope: import("./base.ts").Scope | null;
|
|
15492
15762
|
} & Record<never, never>>;
|
|
15763
|
+
slackConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
15764
|
+
available: z.ZodBoolean;
|
|
15765
|
+
live: z.ZodBoolean;
|
|
15766
|
+
missingScopes: z.ZodArray<z.ZodString>;
|
|
15767
|
+
ready: z.ZodBoolean;
|
|
15768
|
+
reason: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"grid_pending">, z.ZodLiteral<"missing_permissions">, z.ZodLiteral<"not_installed">, z.ZodLiteral<"paused">, z.ZodLiteral<"revoked">, z.ZodLiteral<"sample_data">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"uninstalled">, z.ZodLiteral<"workspace_changed">]>;
|
|
15769
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
15770
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
15771
|
+
BAD_REQUEST: {
|
|
15772
|
+
message: string;
|
|
15773
|
+
};
|
|
15774
|
+
CONFLICT: {
|
|
15775
|
+
message: string;
|
|
15776
|
+
};
|
|
15777
|
+
FORBIDDEN: {
|
|
15778
|
+
message: string;
|
|
15779
|
+
};
|
|
15780
|
+
NOT_FOUND: {
|
|
15781
|
+
message: string;
|
|
15782
|
+
};
|
|
15783
|
+
PRECONDITION_FAILED: {
|
|
15784
|
+
message: string;
|
|
15785
|
+
};
|
|
15786
|
+
TOO_MANY_REQUESTS: {
|
|
15787
|
+
message: string;
|
|
15788
|
+
};
|
|
15789
|
+
UNAUTHORIZED: {
|
|
15790
|
+
message: string;
|
|
15791
|
+
};
|
|
15792
|
+
}>, {
|
|
15793
|
+
scope: import("./base.ts").Scope | null;
|
|
15794
|
+
} & Record<never, never>>;
|
|
15493
15795
|
slackJoinAccess: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
15494
15796
|
changedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
15495
15797
|
enabled: z.ZodBoolean;
|
|
@@ -16125,6 +16427,7 @@ export declare const managementContract: {
|
|
|
16125
16427
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16126
16428
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16127
16429
|
memberId: z.ZodString;
|
|
16430
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16128
16431
|
revision: z.ZodNumber;
|
|
16129
16432
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16130
16433
|
teamId: z.ZodString;
|
|
@@ -16231,6 +16534,59 @@ export declare const managementContract: {
|
|
|
16231
16534
|
}>, {
|
|
16232
16535
|
scope: import("./base.ts").Scope | null;
|
|
16233
16536
|
} & Record<never, never>>;
|
|
16537
|
+
glance: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
16538
|
+
averageTenureYears: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
16539
|
+
dated: z.ZodNumber;
|
|
16540
|
+
departments: z.ZodArray<z.ZodObject<{
|
|
16541
|
+
label: z.ZodString;
|
|
16542
|
+
value: z.ZodNumber;
|
|
16543
|
+
}, z.core.$strict>>;
|
|
16544
|
+
enough: z.ZodBoolean;
|
|
16545
|
+
growth: z.ZodArray<z.ZodObject<{
|
|
16546
|
+
at: z.ZodString;
|
|
16547
|
+
value: z.ZodNumber;
|
|
16548
|
+
}, z.core.$strict>>;
|
|
16549
|
+
headcount: z.ZodNumber;
|
|
16550
|
+
hiredThisYear: z.ZodNumber;
|
|
16551
|
+
me: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
16552
|
+
joinedAfter: z.ZodNumber;
|
|
16553
|
+
joinedBefore: z.ZodNumber;
|
|
16554
|
+
start: z.ZodString;
|
|
16555
|
+
}, z.core.$strict>]>;
|
|
16556
|
+
tenure: z.ZodArray<z.ZodObject<{
|
|
16557
|
+
label: z.ZodString;
|
|
16558
|
+
value: z.ZodNumber;
|
|
16559
|
+
}, z.core.$strict>>;
|
|
16560
|
+
timezones: z.ZodArray<z.ZodObject<{
|
|
16561
|
+
label: z.ZodString;
|
|
16562
|
+
value: z.ZodNumber;
|
|
16563
|
+
}, z.core.$strict>>;
|
|
16564
|
+
topics: z.ZodArray<z.ZodString>;
|
|
16565
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
16566
|
+
BAD_REQUEST: {
|
|
16567
|
+
message: string;
|
|
16568
|
+
};
|
|
16569
|
+
CONFLICT: {
|
|
16570
|
+
message: string;
|
|
16571
|
+
};
|
|
16572
|
+
FORBIDDEN: {
|
|
16573
|
+
message: string;
|
|
16574
|
+
};
|
|
16575
|
+
NOT_FOUND: {
|
|
16576
|
+
message: string;
|
|
16577
|
+
};
|
|
16578
|
+
PRECONDITION_FAILED: {
|
|
16579
|
+
message: string;
|
|
16580
|
+
};
|
|
16581
|
+
TOO_MANY_REQUESTS: {
|
|
16582
|
+
message: string;
|
|
16583
|
+
};
|
|
16584
|
+
UNAUTHORIZED: {
|
|
16585
|
+
message: string;
|
|
16586
|
+
};
|
|
16587
|
+
}>, {
|
|
16588
|
+
scope: import("./base.ts").Scope | null;
|
|
16589
|
+
} & Record<never, never>>;
|
|
16234
16590
|
managerHistory: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
16235
16591
|
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16236
16592
|
memberId: z.ZodString;
|
|
@@ -16767,6 +17123,7 @@ export declare const managementContract: {
|
|
|
16767
17123
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16768
17124
|
memberId: z.ZodString;
|
|
16769
17125
|
name: z.ZodString;
|
|
17126
|
+
originalStartDate: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
16770
17127
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16771
17128
|
teamIds: z.ZodArray<z.ZodString>;
|
|
16772
17129
|
timezone: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
@@ -16793,6 +17150,7 @@ export declare const managementContract: {
|
|
|
16793
17150
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16794
17151
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16795
17152
|
memberId: z.ZodString;
|
|
17153
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16796
17154
|
revision: z.ZodNumber;
|
|
16797
17155
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16798
17156
|
teamId: z.ZodString;
|