@shuffl/api-contracts 0.2.1 → 0.4.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/company.d.ts +235 -0
- package/dist/company.js +177 -0
- package/dist/index.d.ts +662 -47
- package/dist/index.js +1 -0
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +50 -0
- package/dist/management.generated.d.ts +636 -47
- package/dist/management.generated.js +816 -118
- package/dist/permissions.d.ts +16 -0
- package/dist/permissions.js +4 -0
- package/dist/schemas.d.ts +3 -0
- package/dist/schemas.js +19 -1
- package/openapi.json +24285 -17191
- package/package.json +5 -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.completeTodo">, 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.completeTodo">, 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.completeTodo">, 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;
|
|
@@ -3601,12 +3699,40 @@ export declare const managementContract: {
|
|
|
3601
3699
|
introductionOffsetDays: z.ZodNumber;
|
|
3602
3700
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3603
3701
|
sendTime: z.ZodString;
|
|
3702
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3703
|
+
body: z.ZodString;
|
|
3704
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
3705
|
+
id: z.ZodString;
|
|
3706
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
3707
|
+
offsetDays: z.ZodNumber;
|
|
3708
|
+
personId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3709
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
3710
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3711
|
+
sourceId: z.ZodString;
|
|
3712
|
+
title: z.ZodString;
|
|
3713
|
+
type: z.ZodLiteral<"knowledge">;
|
|
3714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3715
|
+
label: z.ZodString;
|
|
3716
|
+
type: z.ZodLiteral<"link">;
|
|
3717
|
+
url: z.ZodString;
|
|
3718
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3719
|
+
communityId: z.ZodString;
|
|
3720
|
+
name: z.ZodString;
|
|
3721
|
+
type: z.ZodLiteral<"community">;
|
|
3722
|
+
}, z.core.$strict>]>>;
|
|
3723
|
+
title: z.ZodString;
|
|
3724
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
3725
|
+
id: z.ZodString;
|
|
3726
|
+
label: z.ZodString;
|
|
3727
|
+
}, z.core.$strict>>;
|
|
3728
|
+
}, z.core.$strict>>>>;
|
|
3604
3729
|
timezone: z.ZodString;
|
|
3605
3730
|
}, z.core.$strict>]>;
|
|
3606
3731
|
revision: z.ZodNumber;
|
|
3607
3732
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3608
3733
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
3609
3734
|
anchor: z.ZodString;
|
|
3735
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
3610
3736
|
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
3737
|
interval: z.ZodNumber;
|
|
3612
3738
|
timezone: z.ZodString;
|
|
@@ -4257,6 +4383,36 @@ export declare const managementContract: {
|
|
|
4257
4383
|
}>, {
|
|
4258
4384
|
scope: import("./base.ts").Scope | null;
|
|
4259
4385
|
} & Record<never, never>>;
|
|
4386
|
+
places: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
4387
|
+
places: z.ZodArray<z.ZodObject<{
|
|
4388
|
+
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">]>;
|
|
4389
|
+
waiting: z.ZodBoolean;
|
|
4390
|
+
}, z.core.$strict>>;
|
|
4391
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4392
|
+
BAD_REQUEST: {
|
|
4393
|
+
message: string;
|
|
4394
|
+
};
|
|
4395
|
+
CONFLICT: {
|
|
4396
|
+
message: string;
|
|
4397
|
+
};
|
|
4398
|
+
FORBIDDEN: {
|
|
4399
|
+
message: string;
|
|
4400
|
+
};
|
|
4401
|
+
NOT_FOUND: {
|
|
4402
|
+
message: string;
|
|
4403
|
+
};
|
|
4404
|
+
PRECONDITION_FAILED: {
|
|
4405
|
+
message: string;
|
|
4406
|
+
};
|
|
4407
|
+
TOO_MANY_REQUESTS: {
|
|
4408
|
+
message: string;
|
|
4409
|
+
};
|
|
4410
|
+
UNAUTHORIZED: {
|
|
4411
|
+
message: string;
|
|
4412
|
+
};
|
|
4413
|
+
}>, {
|
|
4414
|
+
scope: import("./base.ts").Scope | null;
|
|
4415
|
+
} & Record<never, never>>;
|
|
4260
4416
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4261
4417
|
autoplay: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4262
4418
|
forYou: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
@@ -4750,6 +4906,42 @@ export declare const managementContract: {
|
|
|
4750
4906
|
}>, {
|
|
4751
4907
|
scope: import("./base.ts").Scope | null;
|
|
4752
4908
|
} & Record<never, never>>;
|
|
4909
|
+
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
4910
|
+
createdAt: z.ZodISODateTime;
|
|
4911
|
+
destinationName: z.ZodString;
|
|
4912
|
+
id: z.ZodString;
|
|
4913
|
+
latestReply: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4914
|
+
body: z.ZodString;
|
|
4915
|
+
createdAt: z.ZodISODateTime;
|
|
4916
|
+
}, z.core.$strict>]>;
|
|
4917
|
+
sharedText: z.ZodString;
|
|
4918
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"resolved">, z.ZodLiteral<"waiting_on_employee">, z.ZodLiteral<"waiting_on_hr">]>;
|
|
4919
|
+
updatedAt: z.ZodISODateTime;
|
|
4920
|
+
}, z.core.$strict>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4921
|
+
BAD_REQUEST: {
|
|
4922
|
+
message: string;
|
|
4923
|
+
};
|
|
4924
|
+
CONFLICT: {
|
|
4925
|
+
message: string;
|
|
4926
|
+
};
|
|
4927
|
+
FORBIDDEN: {
|
|
4928
|
+
message: string;
|
|
4929
|
+
};
|
|
4930
|
+
NOT_FOUND: {
|
|
4931
|
+
message: string;
|
|
4932
|
+
};
|
|
4933
|
+
PRECONDITION_FAILED: {
|
|
4934
|
+
message: string;
|
|
4935
|
+
};
|
|
4936
|
+
TOO_MANY_REQUESTS: {
|
|
4937
|
+
message: string;
|
|
4938
|
+
};
|
|
4939
|
+
UNAUTHORIZED: {
|
|
4940
|
+
message: string;
|
|
4941
|
+
};
|
|
4942
|
+
}>, {
|
|
4943
|
+
scope: import("./base.ts").Scope | null;
|
|
4944
|
+
} & Record<never, never>>;
|
|
4753
4945
|
readiness: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
4754
4946
|
ready: z.ZodBoolean;
|
|
4755
4947
|
reason: z.ZodLiteral<"no_destination">;
|
|
@@ -7564,13 +7756,13 @@ export declare const managementContract: {
|
|
|
7564
7756
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
7565
7757
|
groups: z.ZodArray<z.ZodObject<{
|
|
7566
7758
|
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">]>>;
|
|
7759
|
+
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
7760
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
7569
7761
|
}, z.core.$strict>>;
|
|
7570
7762
|
preferences: z.ZodArray<z.ZodObject<{
|
|
7571
7763
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
7572
7764
|
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">]>;
|
|
7765
|
+
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
7766
|
slack: z.ZodBoolean;
|
|
7575
7767
|
teams: z.ZodBoolean;
|
|
7576
7768
|
}, z.core.$strict>>;
|
|
@@ -7603,7 +7795,7 @@ export declare const managementContract: {
|
|
|
7603
7795
|
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7604
7796
|
channel: z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>;
|
|
7605
7797
|
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">]>;
|
|
7798
|
+
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
7799
|
requestKey: z.ZodString;
|
|
7608
7800
|
}, z.core.$strict>, z.ZodObject<{
|
|
7609
7801
|
receipt: z.ZodObject<{
|
|
@@ -7622,13 +7814,13 @@ export declare const managementContract: {
|
|
|
7622
7814
|
result: z.ZodNullable<z.ZodObject<{
|
|
7623
7815
|
groups: z.ZodArray<z.ZodObject<{
|
|
7624
7816
|
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">]>>;
|
|
7817
|
+
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
7818
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
7627
7819
|
}, z.core.$strict>>;
|
|
7628
7820
|
preferences: z.ZodArray<z.ZodObject<{
|
|
7629
7821
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
7630
7822
|
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">]>;
|
|
7823
|
+
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
7824
|
slack: z.ZodBoolean;
|
|
7633
7825
|
teams: z.ZodBoolean;
|
|
7634
7826
|
}, z.core.$strict>>;
|
|
@@ -8055,6 +8247,54 @@ export declare const managementContract: {
|
|
|
8055
8247
|
}>, {
|
|
8056
8248
|
scope: import("./base.ts").Scope | null;
|
|
8057
8249
|
} & Record<never, never>>;
|
|
8250
|
+
completeTodo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8251
|
+
done: z.ZodBoolean;
|
|
8252
|
+
todoId: z.ZodString;
|
|
8253
|
+
confirm: z.ZodLiteral<"onboarding.completeTodo">;
|
|
8254
|
+
requestKey: z.ZodString;
|
|
8255
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8256
|
+
receipt: z.ZodObject<{
|
|
8257
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
8258
|
+
createdAt: z.ZodISODateTime;
|
|
8259
|
+
id: z.ZodString;
|
|
8260
|
+
operation: z.ZodString;
|
|
8261
|
+
requestKey: z.ZodString;
|
|
8262
|
+
status: z.ZodEnum<{
|
|
8263
|
+
failed: "failed";
|
|
8264
|
+
running: "running";
|
|
8265
|
+
succeeded: "succeeded";
|
|
8266
|
+
unknown: "unknown";
|
|
8267
|
+
}>;
|
|
8268
|
+
}, z.core.$strip>;
|
|
8269
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
8270
|
+
changed: z.ZodBoolean;
|
|
8271
|
+
done: z.ZodBoolean;
|
|
8272
|
+
}, z.core.$strict>>;
|
|
8273
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8274
|
+
BAD_REQUEST: {
|
|
8275
|
+
message: string;
|
|
8276
|
+
};
|
|
8277
|
+
CONFLICT: {
|
|
8278
|
+
message: string;
|
|
8279
|
+
};
|
|
8280
|
+
FORBIDDEN: {
|
|
8281
|
+
message: string;
|
|
8282
|
+
};
|
|
8283
|
+
NOT_FOUND: {
|
|
8284
|
+
message: string;
|
|
8285
|
+
};
|
|
8286
|
+
PRECONDITION_FAILED: {
|
|
8287
|
+
message: string;
|
|
8288
|
+
};
|
|
8289
|
+
TOO_MANY_REQUESTS: {
|
|
8290
|
+
message: string;
|
|
8291
|
+
};
|
|
8292
|
+
UNAUTHORIZED: {
|
|
8293
|
+
message: string;
|
|
8294
|
+
};
|
|
8295
|
+
}>, {
|
|
8296
|
+
scope: import("./base.ts").Scope | null;
|
|
8297
|
+
} & Record<never, never>>;
|
|
8058
8298
|
enroll: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8059
8299
|
fingerprint: z.ZodString;
|
|
8060
8300
|
programId: z.ZodString;
|
|
@@ -8124,11 +8364,16 @@ export declare const managementContract: {
|
|
|
8124
8364
|
revision: z.ZodNumber;
|
|
8125
8365
|
steps: z.ZodArray<z.ZodObject<{
|
|
8126
8366
|
dueAt: z.ZodISODateTime;
|
|
8127
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"buddy_invitation">, z.ZodLiteral<"check_in">, z.ZodLiteral<"introduction">]>;
|
|
8367
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"buddy_invitation">, z.ZodLiteral<"check_in">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"introduction">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
8128
8368
|
offsetDays: z.ZodNumber;
|
|
8129
8369
|
pending: z.ZodBoolean;
|
|
8130
8370
|
preview: z.ZodString;
|
|
8371
|
+
recipient: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
8372
|
+
recipientName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8373
|
+
ref: z.ZodString;
|
|
8131
8374
|
status: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"accepted">, z.ZodLiteral<"answered">, z.ZodLiteral<"canceled">, z.ZodLiteral<"declined">, z.ZodLiteral<"failed">, z.ZodLiteral<"needs_review">, z.ZodLiteral<"opened">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"sent">, z.ZodLiteral<"unknown">, z.ZodLiteral<"waiting">]>;
|
|
8375
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8376
|
+
todos: z.ZodArray<z.ZodString>;
|
|
8132
8377
|
}, z.core.$strict>>;
|
|
8133
8378
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8134
8379
|
BAD_REQUEST: {
|
|
@@ -8216,10 +8461,6 @@ export declare const managementContract: {
|
|
|
8216
8461
|
sent: z.ZodNumber;
|
|
8217
8462
|
}, z.core.$strict>>;
|
|
8218
8463
|
floor: z.ZodNumber;
|
|
8219
|
-
manager: z.ZodObject<{
|
|
8220
|
-
booked: z.ZodNumber;
|
|
8221
|
-
sent: z.ZodNumber;
|
|
8222
|
-
}, z.core.$strict>;
|
|
8223
8464
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8224
8465
|
BAD_REQUEST: {
|
|
8225
8466
|
message: string;
|
|
@@ -8245,6 +8486,111 @@ export declare const managementContract: {
|
|
|
8245
8486
|
}>, {
|
|
8246
8487
|
scope: import("./base.ts").Scope | null;
|
|
8247
8488
|
} & Record<never, never>>;
|
|
8489
|
+
journey: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8490
|
+
buddy: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8491
|
+
email: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8492
|
+
id: z.ZodString;
|
|
8493
|
+
name: z.ZodString;
|
|
8494
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8495
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8496
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8497
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8498
|
+
}, z.core.$strict>]>;
|
|
8499
|
+
checkpoints: z.ZodArray<z.ZodObject<{
|
|
8500
|
+
checkpoint: z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>;
|
|
8501
|
+
closesAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
8502
|
+
date: z.ZodString;
|
|
8503
|
+
day: z.ZodNumber;
|
|
8504
|
+
label: z.ZodString;
|
|
8505
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"answered">, z.ZodLiteral<"closed">, z.ZodLiteral<"due">, z.ZodLiteral<"open">, z.ZodLiteral<"skipped">, z.ZodLiteral<"upcoming">]>;
|
|
8506
|
+
title: z.ZodString;
|
|
8507
|
+
}, z.core.$strict>>;
|
|
8508
|
+
day: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
8509
|
+
enrolled: z.ZodBoolean;
|
|
8510
|
+
gettingReady: z.ZodArray<z.ZodObject<{
|
|
8511
|
+
done: z.ZodBoolean;
|
|
8512
|
+
due: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8513
|
+
id: z.ZodString;
|
|
8514
|
+
label: z.ZodString;
|
|
8515
|
+
owner: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8516
|
+
id: z.ZodString;
|
|
8517
|
+
name: z.ZodString;
|
|
8518
|
+
}, z.core.$strict>]>;
|
|
8519
|
+
}, z.core.$strict>>;
|
|
8520
|
+
manager: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8521
|
+
email: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8522
|
+
id: z.ZodString;
|
|
8523
|
+
name: z.ZodString;
|
|
8524
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8525
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8526
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8527
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8528
|
+
}, z.core.$strict>]>;
|
|
8529
|
+
programName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8530
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8531
|
+
day: z.ZodNumber;
|
|
8532
|
+
sourceId: z.ZodString;
|
|
8533
|
+
title: z.ZodString;
|
|
8534
|
+
type: z.ZodLiteral<"knowledge">;
|
|
8535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8536
|
+
day: z.ZodNumber;
|
|
8537
|
+
label: z.ZodString;
|
|
8538
|
+
type: z.ZodLiteral<"link">;
|
|
8539
|
+
url: z.ZodString;
|
|
8540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8541
|
+
communityId: z.ZodString;
|
|
8542
|
+
day: z.ZodNumber;
|
|
8543
|
+
name: z.ZodString;
|
|
8544
|
+
type: z.ZodLiteral<"community">;
|
|
8545
|
+
}, z.core.$strict>]>>;
|
|
8546
|
+
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8547
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
8548
|
+
answer: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"all_good">, z.ZodLiteral<"need_help">]>;
|
|
8549
|
+
date: z.ZodString;
|
|
8550
|
+
day: z.ZodNumber;
|
|
8551
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"introduction">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
8552
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"done">, z.ZodLiteral<"planned">, z.ZodLiteral<"stopped">]>;
|
|
8553
|
+
status: z.ZodString;
|
|
8554
|
+
stepId: z.ZodString;
|
|
8555
|
+
stepKey: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8556
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8557
|
+
}, z.core.$strict>>;
|
|
8558
|
+
today: z.ZodString;
|
|
8559
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
8560
|
+
done: z.ZodBoolean;
|
|
8561
|
+
due: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8562
|
+
id: z.ZodString;
|
|
8563
|
+
label: z.ZodString;
|
|
8564
|
+
owner: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8565
|
+
id: z.ZodString;
|
|
8566
|
+
name: z.ZodString;
|
|
8567
|
+
}, z.core.$strict>]>;
|
|
8568
|
+
}, z.core.$strict>>;
|
|
8569
|
+
}, z.core.$strict>]>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8570
|
+
BAD_REQUEST: {
|
|
8571
|
+
message: string;
|
|
8572
|
+
};
|
|
8573
|
+
CONFLICT: {
|
|
8574
|
+
message: string;
|
|
8575
|
+
};
|
|
8576
|
+
FORBIDDEN: {
|
|
8577
|
+
message: string;
|
|
8578
|
+
};
|
|
8579
|
+
NOT_FOUND: {
|
|
8580
|
+
message: string;
|
|
8581
|
+
};
|
|
8582
|
+
PRECONDITION_FAILED: {
|
|
8583
|
+
message: string;
|
|
8584
|
+
};
|
|
8585
|
+
TOO_MANY_REQUESTS: {
|
|
8586
|
+
message: string;
|
|
8587
|
+
};
|
|
8588
|
+
UNAUTHORIZED: {
|
|
8589
|
+
message: string;
|
|
8590
|
+
};
|
|
8591
|
+
}>, {
|
|
8592
|
+
scope: import("./base.ts").Scope | null;
|
|
8593
|
+
} & Record<never, never>>;
|
|
8248
8594
|
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
8249
8595
|
buddyAsks: z.ZodArray<z.ZodNever>;
|
|
8250
8596
|
buddyName: z.ZodNull;
|
|
@@ -8438,6 +8784,33 @@ export declare const managementContract: {
|
|
|
8438
8784
|
introductionOffsetDays: z.ZodNumber;
|
|
8439
8785
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8440
8786
|
sendTime: z.ZodString;
|
|
8787
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8788
|
+
body: z.ZodString;
|
|
8789
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
8790
|
+
id: z.ZodString;
|
|
8791
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
8792
|
+
offsetDays: z.ZodNumber;
|
|
8793
|
+
personId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8794
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
8795
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
8796
|
+
sourceId: z.ZodString;
|
|
8797
|
+
title: z.ZodString;
|
|
8798
|
+
type: z.ZodLiteral<"knowledge">;
|
|
8799
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8800
|
+
label: z.ZodString;
|
|
8801
|
+
type: z.ZodLiteral<"link">;
|
|
8802
|
+
url: z.ZodString;
|
|
8803
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8804
|
+
communityId: z.ZodString;
|
|
8805
|
+
name: z.ZodString;
|
|
8806
|
+
type: z.ZodLiteral<"community">;
|
|
8807
|
+
}, z.core.$strict>]>>;
|
|
8808
|
+
title: z.ZodString;
|
|
8809
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
8810
|
+
id: z.ZodString;
|
|
8811
|
+
label: z.ZodString;
|
|
8812
|
+
}, z.core.$strict>>;
|
|
8813
|
+
}, z.core.$strict>>>>;
|
|
8441
8814
|
timezone: z.ZodString;
|
|
8442
8815
|
}, z.core.$strict>;
|
|
8443
8816
|
intro: z.ZodString;
|
|
@@ -8487,13 +8860,16 @@ export declare const managementContract: {
|
|
|
8487
8860
|
status: z.ZodString;
|
|
8488
8861
|
}, z.core.$strict>]>;
|
|
8489
8862
|
id: z.ZodString;
|
|
8490
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"buddy_invitation">, z.ZodLiteral<"check_in">, z.ZodLiteral<"follow_up">, z.ZodLiteral<"introduction">]>;
|
|
8863
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"buddy_invitation">, z.ZodLiteral<"check_in">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"follow_up">, z.ZodLiteral<"form">, z.ZodLiteral<"introduction">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
8491
8864
|
offsetDays: z.ZodNumber;
|
|
8492
8865
|
sentAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
8493
8866
|
status: z.ZodUnion<readonly [z.ZodLiteral<"accepted">, z.ZodLiteral<"answered">, z.ZodLiteral<"canceled">, z.ZodLiteral<"declined">, z.ZodLiteral<"failed">, z.ZodLiteral<"needs_review">, z.ZodLiteral<"opened">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"sent">, z.ZodLiteral<"unknown">, z.ZodLiteral<"waiting">]>;
|
|
8867
|
+
stepKey: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8868
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8494
8869
|
}, z.core.$strict>>;
|
|
8495
8870
|
timezone: z.ZodString;
|
|
8496
8871
|
}, z.core.$strict>>;
|
|
8872
|
+
stepPeople: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
8497
8873
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8498
8874
|
BAD_REQUEST: {
|
|
8499
8875
|
message: string;
|
|
@@ -8671,6 +9047,33 @@ export declare const managementContract: {
|
|
|
8671
9047
|
introductionOffsetDays: z.ZodNumber;
|
|
8672
9048
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8673
9049
|
sendTime: z.ZodString;
|
|
9050
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9051
|
+
body: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
9052
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
9053
|
+
id: z.ZodString;
|
|
9054
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"checkpoint">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
9055
|
+
offsetDays: z.ZodNumber;
|
|
9056
|
+
personId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
9057
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
9058
|
+
resources: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9059
|
+
sourceId: z.ZodString;
|
|
9060
|
+
title: z.ZodString;
|
|
9061
|
+
type: z.ZodLiteral<"knowledge">;
|
|
9062
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9063
|
+
label: z.ZodString;
|
|
9064
|
+
type: z.ZodLiteral<"link">;
|
|
9065
|
+
url: z.ZodString;
|
|
9066
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9067
|
+
communityId: z.ZodString;
|
|
9068
|
+
name: z.ZodString;
|
|
9069
|
+
type: z.ZodLiteral<"community">;
|
|
9070
|
+
}, z.core.$strict>]>>>>;
|
|
9071
|
+
title: z.ZodString;
|
|
9072
|
+
todos: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9073
|
+
id: z.ZodString;
|
|
9074
|
+
label: z.ZodString;
|
|
9075
|
+
}, z.core.$strict>>>>;
|
|
9076
|
+
}, z.core.$strict>>>>;
|
|
8674
9077
|
timezone: z.ZodString;
|
|
8675
9078
|
}, z.core.$strict>;
|
|
8676
9079
|
}, z.core.$strict>;
|
|
@@ -8728,12 +9131,40 @@ export declare const managementContract: {
|
|
|
8728
9131
|
introductionOffsetDays: z.ZodNumber;
|
|
8729
9132
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8730
9133
|
sendTime: z.ZodString;
|
|
9134
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9135
|
+
body: z.ZodString;
|
|
9136
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
9137
|
+
id: z.ZodString;
|
|
9138
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
9139
|
+
offsetDays: z.ZodNumber;
|
|
9140
|
+
personId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
9141
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
9142
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9143
|
+
sourceId: z.ZodString;
|
|
9144
|
+
title: z.ZodString;
|
|
9145
|
+
type: z.ZodLiteral<"knowledge">;
|
|
9146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9147
|
+
label: z.ZodString;
|
|
9148
|
+
type: z.ZodLiteral<"link">;
|
|
9149
|
+
url: z.ZodString;
|
|
9150
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9151
|
+
communityId: z.ZodString;
|
|
9152
|
+
name: z.ZodString;
|
|
9153
|
+
type: z.ZodLiteral<"community">;
|
|
9154
|
+
}, z.core.$strict>]>>;
|
|
9155
|
+
title: z.ZodString;
|
|
9156
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
9157
|
+
id: z.ZodString;
|
|
9158
|
+
label: z.ZodString;
|
|
9159
|
+
}, z.core.$strict>>;
|
|
9160
|
+
}, z.core.$strict>>>>;
|
|
8731
9161
|
timezone: z.ZodString;
|
|
8732
9162
|
}, z.core.$strict>]>;
|
|
8733
9163
|
revision: z.ZodNumber;
|
|
8734
9164
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
8735
9165
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
8736
9166
|
anchor: z.ZodString;
|
|
9167
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
8737
9168
|
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
9169
|
interval: z.ZodNumber;
|
|
8739
9170
|
timezone: z.ZodString;
|
|
@@ -8864,6 +9295,7 @@ export declare const managementContract: {
|
|
|
8864
9295
|
entityId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8865
9296
|
entityName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
8866
9297
|
id: z.ZodString;
|
|
9298
|
+
summary: z.ZodString;
|
|
8867
9299
|
teamId: z.ZodString;
|
|
8868
9300
|
}, z.core.$strict>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
8869
9301
|
BAD_REQUEST: {
|
|
@@ -9205,6 +9637,8 @@ export declare const managementContract: {
|
|
|
9205
9637
|
}, z.core.$strict>>;
|
|
9206
9638
|
weeks: z.ZodArray<z.ZodObject<{
|
|
9207
9639
|
count: z.ZodNumber;
|
|
9640
|
+
givers: z.ZodNumber;
|
|
9641
|
+
recognized: z.ZodNumber;
|
|
9208
9642
|
week: z.ZodString;
|
|
9209
9643
|
}, z.core.$strict>>;
|
|
9210
9644
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -9466,7 +9900,7 @@ export declare const managementContract: {
|
|
|
9466
9900
|
send: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9467
9901
|
channelId: z.ZodString;
|
|
9468
9902
|
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">]>>>;
|
|
9903
|
+
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
9904
|
recipientIds: z.ZodArray<z.ZodString>;
|
|
9471
9905
|
text: z.ZodString;
|
|
9472
9906
|
values: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -9632,6 +10066,10 @@ export declare const managementContract: {
|
|
|
9632
10066
|
reactionReadScope: z.ZodBoolean;
|
|
9633
10067
|
reactionScope: z.ZodBoolean;
|
|
9634
10068
|
revision: z.ZodNumber;
|
|
10069
|
+
slack: z.ZodObject<{
|
|
10070
|
+
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">]>;
|
|
10071
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
10072
|
+
}, z.core.$strict>;
|
|
9635
10073
|
status: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"on">]>;
|
|
9636
10074
|
valuesPages: z.ZodArray<z.ZodObject<{
|
|
9637
10075
|
id: z.ZodString;
|
|
@@ -10205,6 +10643,7 @@ export declare const managementContract: {
|
|
|
10205
10643
|
scope: import("./base.ts").Scope | null;
|
|
10206
10644
|
} & Record<never, never>>;
|
|
10207
10645
|
whoKnows: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10646
|
+
from: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"command_palette">, z.ZodLiteral<"people_page">]>>>;
|
|
10208
10647
|
limit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
10209
10648
|
personIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
10210
10649
|
topic: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -10406,6 +10845,7 @@ export declare const managementContract: {
|
|
|
10406
10845
|
version: z.ZodLiteral<1>;
|
|
10407
10846
|
}, z.core.$strict>, z.ZodObject<{
|
|
10408
10847
|
anchor: z.ZodString;
|
|
10848
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
10409
10849
|
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
10850
|
interval: z.ZodNumber;
|
|
10411
10851
|
timezone: z.ZodString;
|
|
@@ -11331,6 +11771,10 @@ export declare const managementContract: {
|
|
|
11331
11771
|
tone: z.ZodUnion<readonly [z.ZodLiteral<"down">, z.ZodLiteral<"steady">, z.ZodLiteral<"up">, z.ZodLiteral<"watch">]>;
|
|
11332
11772
|
}, z.core.$strict>>;
|
|
11333
11773
|
floorMet: z.ZodBoolean;
|
|
11774
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
11775
|
+
label: z.ZodString;
|
|
11776
|
+
value: z.ZodNumber;
|
|
11777
|
+
}, z.core.$strict>>;
|
|
11334
11778
|
invited: z.ZodNumber;
|
|
11335
11779
|
participationPct: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
11336
11780
|
questionText: z.ZodString;
|
|
@@ -11449,8 +11893,12 @@ export declare const managementContract: {
|
|
|
11449
11893
|
openHours: z.ZodNumber;
|
|
11450
11894
|
reportingFloor: z.ZodNumber;
|
|
11451
11895
|
sendDays: z.ZodArray<z.ZodNumber>;
|
|
11896
|
+
sendEvery: z.ZodNumber;
|
|
11452
11897
|
sendHour: z.ZodNumber;
|
|
11453
11898
|
sendMinute: z.ZodNumber;
|
|
11899
|
+
sendMonthWeek: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
11900
|
+
sendStart: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
11901
|
+
sendUnit: z.ZodUnion<readonly [z.ZodLiteral<"day">, z.ZodLiteral<"month">, z.ZodLiteral<"week">]>;
|
|
11454
11902
|
timezone: z.ZodString;
|
|
11455
11903
|
}, z.core.$strict>;
|
|
11456
11904
|
slackReachable: z.ZodNumber;
|
|
@@ -11954,8 +12402,12 @@ export declare const managementContract: {
|
|
|
11954
12402
|
openHours: z.ZodNumber;
|
|
11955
12403
|
reportingFloor: z.ZodNumber;
|
|
11956
12404
|
sendDays: z.ZodArray<z.ZodNumber>;
|
|
12405
|
+
sendEvery: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
11957
12406
|
sendHour: z.ZodNumber;
|
|
11958
12407
|
sendMinute: z.ZodNumber;
|
|
12408
|
+
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>]>>>;
|
|
12409
|
+
sendStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
12410
|
+
sendUnit: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day">, z.ZodLiteral<"month">, z.ZodLiteral<"week">]>>>;
|
|
11959
12411
|
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">]>;
|
|
11960
12412
|
timezone: z.ZodString;
|
|
11961
12413
|
confirm: z.ZodLiteral<"pulse.saveProgram">;
|
|
@@ -12266,11 +12718,11 @@ export declare const managementContract: {
|
|
|
12266
12718
|
reminders: {
|
|
12267
12719
|
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
12268
12720
|
kinds: z.ZodArray<z.ZodObject<{
|
|
12269
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12270
|
-
effective: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12271
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"
|
|
12272
|
-
options: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12273
|
-
team: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12721
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"default">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12722
|
+
effective: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12723
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
12724
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"quarterly">]>>;
|
|
12725
|
+
team: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12274
12726
|
}, z.core.$strict>>;
|
|
12275
12727
|
linked: z.ZodBoolean;
|
|
12276
12728
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -12300,7 +12752,7 @@ export declare const managementContract: {
|
|
|
12300
12752
|
} & Record<never, never>>;
|
|
12301
12753
|
saveMine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
12302
12754
|
choice: z.ZodString;
|
|
12303
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"
|
|
12755
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
12304
12756
|
confirm: z.ZodLiteral<"reminders.saveMine">;
|
|
12305
12757
|
requestKey: z.ZodString;
|
|
12306
12758
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -12320,11 +12772,11 @@ export declare const managementContract: {
|
|
|
12320
12772
|
result: z.ZodNullable<z.ZodObject<{
|
|
12321
12773
|
changed: z.ZodBoolean;
|
|
12322
12774
|
kinds: z.ZodArray<z.ZodObject<{
|
|
12323
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12324
|
-
effective: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12325
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"
|
|
12326
|
-
options: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12327
|
-
team: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12775
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"default">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12776
|
+
effective: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12777
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
12778
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"quarterly">]>>;
|
|
12779
|
+
team: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12328
12780
|
}, z.core.$strict>>;
|
|
12329
12781
|
linked: z.ZodBoolean;
|
|
12330
12782
|
}, z.core.$strict>>;
|
|
@@ -12355,7 +12807,8 @@ export declare const managementContract: {
|
|
|
12355
12807
|
} & Record<never, never>>;
|
|
12356
12808
|
saveSetting: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
12357
12809
|
choice: z.ZodString;
|
|
12358
|
-
|
|
12810
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
12811
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
12359
12812
|
confirm: z.ZodLiteral<"reminders.saveSetting">;
|
|
12360
12813
|
requestKey: z.ZodString;
|
|
12361
12814
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -12374,8 +12827,9 @@ export declare const managementContract: {
|
|
|
12374
12827
|
}, z.core.$strip>;
|
|
12375
12828
|
result: z.ZodNullable<z.ZodObject<{
|
|
12376
12829
|
changed: z.ZodBoolean;
|
|
12377
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12378
|
-
|
|
12830
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12831
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
12832
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
12379
12833
|
}, z.core.$strict>>;
|
|
12380
12834
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
12381
12835
|
BAD_REQUEST: {
|
|
@@ -12403,27 +12857,17 @@ export declare const managementContract: {
|
|
|
12403
12857
|
scope: import("./base.ts").Scope | null;
|
|
12404
12858
|
} & Record<never, never>>;
|
|
12405
12859
|
settings: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
12406
|
-
manager_check_in: z.ZodObject<{
|
|
12407
|
-
available: z.ZodBoolean;
|
|
12408
|
-
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">]>;
|
|
12409
|
-
optedOut: z.ZodNumber;
|
|
12410
|
-
options: z.ZodArray<z.ZodString>;
|
|
12411
|
-
}, z.core.$strict>;
|
|
12412
|
-
new_hire_check_in: z.ZodObject<{
|
|
12413
|
-
available: z.ZodBoolean;
|
|
12414
|
-
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">]>;
|
|
12415
|
-
optedOut: z.ZodNumber;
|
|
12416
|
-
options: z.ZodArray<z.ZodString>;
|
|
12417
|
-
}, z.core.$strict>;
|
|
12418
12860
|
praise: z.ZodObject<{
|
|
12419
12861
|
available: z.ZodBoolean;
|
|
12420
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12862
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12863
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
12421
12864
|
optedOut: z.ZodNumber;
|
|
12422
12865
|
options: z.ZodArray<z.ZodString>;
|
|
12423
12866
|
}, z.core.$strict>;
|
|
12424
12867
|
pulse: z.ZodObject<{
|
|
12425
12868
|
available: z.ZodBoolean;
|
|
12426
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
12869
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
12870
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
12427
12871
|
optedOut: z.ZodNumber;
|
|
12428
12872
|
options: z.ZodArray<z.ZodString>;
|
|
12429
12873
|
}, z.core.$strict>;
|
|
@@ -13378,6 +13822,11 @@ export declare const managementContract: {
|
|
|
13378
13822
|
failed: z.ZodNumber;
|
|
13379
13823
|
onTime: z.ZodNumber;
|
|
13380
13824
|
sent: z.ZodNumber;
|
|
13825
|
+
weekly: z.ZodArray<z.ZodObject<{
|
|
13826
|
+
onTime: z.ZodNumber;
|
|
13827
|
+
sent: z.ZodNumber;
|
|
13828
|
+
week: z.ZodString;
|
|
13829
|
+
}, z.core.$strict>>;
|
|
13381
13830
|
}, z.core.$strict>;
|
|
13382
13831
|
start: z.ZodISODateTime;
|
|
13383
13832
|
weekly: z.ZodArray<z.ZodObject<{
|
|
@@ -13469,12 +13918,40 @@ export declare const managementContract: {
|
|
|
13469
13918
|
introductionOffsetDays: z.ZodNumber;
|
|
13470
13919
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
13471
13920
|
sendTime: z.ZodString;
|
|
13921
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13922
|
+
body: z.ZodString;
|
|
13923
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
13924
|
+
id: z.ZodString;
|
|
13925
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
13926
|
+
offsetDays: z.ZodNumber;
|
|
13927
|
+
personId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
13928
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
13929
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
13930
|
+
sourceId: z.ZodString;
|
|
13931
|
+
title: z.ZodString;
|
|
13932
|
+
type: z.ZodLiteral<"knowledge">;
|
|
13933
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13934
|
+
label: z.ZodString;
|
|
13935
|
+
type: z.ZodLiteral<"link">;
|
|
13936
|
+
url: z.ZodString;
|
|
13937
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
13938
|
+
communityId: z.ZodString;
|
|
13939
|
+
name: z.ZodString;
|
|
13940
|
+
type: z.ZodLiteral<"community">;
|
|
13941
|
+
}, z.core.$strict>]>>;
|
|
13942
|
+
title: z.ZodString;
|
|
13943
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
13944
|
+
id: z.ZodString;
|
|
13945
|
+
label: z.ZodString;
|
|
13946
|
+
}, z.core.$strict>>;
|
|
13947
|
+
}, z.core.$strict>>>>;
|
|
13472
13948
|
timezone: z.ZodString;
|
|
13473
13949
|
}, z.core.$strict>]>;
|
|
13474
13950
|
revision: z.ZodNumber;
|
|
13475
13951
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
13476
13952
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
13477
13953
|
anchor: z.ZodString;
|
|
13954
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
13478
13955
|
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
13956
|
interval: z.ZodNumber;
|
|
13480
13957
|
timezone: z.ZodString;
|
|
@@ -13626,6 +14103,24 @@ export declare const managementContract: {
|
|
|
13626
14103
|
onLeave: z.ZodNumber;
|
|
13627
14104
|
withStartDate: z.ZodNumber;
|
|
13628
14105
|
}, z.core.$strict>;
|
|
14106
|
+
history: z.ZodObject<{
|
|
14107
|
+
departments: z.ZodArray<z.ZodObject<{
|
|
14108
|
+
label: z.ZodString;
|
|
14109
|
+
value: z.ZodNumber;
|
|
14110
|
+
}, z.core.$strict>>;
|
|
14111
|
+
monthly: z.ZodArray<z.ZodObject<{
|
|
14112
|
+
headcount: z.ZodNumber;
|
|
14113
|
+
joined: z.ZodNumber;
|
|
14114
|
+
left: z.ZodNumber;
|
|
14115
|
+
month: z.ZodString;
|
|
14116
|
+
}, z.core.$strict>>;
|
|
14117
|
+
noDepartment: z.ZodNumber;
|
|
14118
|
+
tenure: z.ZodArray<z.ZodObject<{
|
|
14119
|
+
label: z.ZodString;
|
|
14120
|
+
value: z.ZodNumber;
|
|
14121
|
+
}, z.core.$strict>>;
|
|
14122
|
+
undated: z.ZodNumber;
|
|
14123
|
+
}, z.core.$strict>;
|
|
13629
14124
|
joins: z.ZodObject<{
|
|
13630
14125
|
current: z.ZodNumber;
|
|
13631
14126
|
previous: z.ZodNumber;
|
|
@@ -14278,6 +14773,7 @@ export declare const managementContract: {
|
|
|
14278
14773
|
} & Record<never, never>>;
|
|
14279
14774
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
14280
14775
|
body: z.ZodString;
|
|
14776
|
+
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
14777
|
subject: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14282
14778
|
requestKey: z.ZodString;
|
|
14283
14779
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -14627,6 +15123,10 @@ export declare const managementContract: {
|
|
|
14627
15123
|
status: z.ZodString;
|
|
14628
15124
|
trigger: z.ZodString;
|
|
14629
15125
|
}, z.core.$strict>>;
|
|
15126
|
+
slack: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
15127
|
+
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">]>;
|
|
15128
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
15129
|
+
}, z.core.$strict>]>;
|
|
14630
15130
|
status: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"needs_attention">]>;
|
|
14631
15131
|
}, z.core.$strict>>;
|
|
14632
15132
|
organizationId: z.ZodString;
|
|
@@ -15404,10 +15904,11 @@ export declare const managementContract: {
|
|
|
15404
15904
|
}, z.core.$strict>;
|
|
15405
15905
|
slack: z.ZodObject<{
|
|
15406
15906
|
available: z.ZodBoolean;
|
|
15407
|
-
|
|
15907
|
+
live: z.ZodBoolean;
|
|
15408
15908
|
missingScopes: z.ZodArray<z.ZodString>;
|
|
15409
15909
|
ready: z.ZodBoolean;
|
|
15410
|
-
|
|
15910
|
+
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">]>;
|
|
15911
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
15411
15912
|
}, z.core.$strict>;
|
|
15412
15913
|
steps: z.ZodArray<z.ZodObject<{
|
|
15413
15914
|
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 +15991,38 @@ export declare const managementContract: {
|
|
|
15490
15991
|
}>, {
|
|
15491
15992
|
scope: import("./base.ts").Scope | null;
|
|
15492
15993
|
} & Record<never, never>>;
|
|
15994
|
+
slackConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
15995
|
+
available: z.ZodBoolean;
|
|
15996
|
+
live: z.ZodBoolean;
|
|
15997
|
+
missingScopes: z.ZodArray<z.ZodString>;
|
|
15998
|
+
ready: z.ZodBoolean;
|
|
15999
|
+
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">]>;
|
|
16000
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
16001
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
16002
|
+
BAD_REQUEST: {
|
|
16003
|
+
message: string;
|
|
16004
|
+
};
|
|
16005
|
+
CONFLICT: {
|
|
16006
|
+
message: string;
|
|
16007
|
+
};
|
|
16008
|
+
FORBIDDEN: {
|
|
16009
|
+
message: string;
|
|
16010
|
+
};
|
|
16011
|
+
NOT_FOUND: {
|
|
16012
|
+
message: string;
|
|
16013
|
+
};
|
|
16014
|
+
PRECONDITION_FAILED: {
|
|
16015
|
+
message: string;
|
|
16016
|
+
};
|
|
16017
|
+
TOO_MANY_REQUESTS: {
|
|
16018
|
+
message: string;
|
|
16019
|
+
};
|
|
16020
|
+
UNAUTHORIZED: {
|
|
16021
|
+
message: string;
|
|
16022
|
+
};
|
|
16023
|
+
}>, {
|
|
16024
|
+
scope: import("./base.ts").Scope | null;
|
|
16025
|
+
} & Record<never, never>>;
|
|
15493
16026
|
slackJoinAccess: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
15494
16027
|
changedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
15495
16028
|
enabled: z.ZodBoolean;
|
|
@@ -16125,6 +16658,7 @@ export declare const managementContract: {
|
|
|
16125
16658
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16126
16659
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16127
16660
|
memberId: z.ZodString;
|
|
16661
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16128
16662
|
revision: z.ZodNumber;
|
|
16129
16663
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16130
16664
|
teamId: z.ZodString;
|
|
@@ -16231,6 +16765,59 @@ export declare const managementContract: {
|
|
|
16231
16765
|
}>, {
|
|
16232
16766
|
scope: import("./base.ts").Scope | null;
|
|
16233
16767
|
} & Record<never, never>>;
|
|
16768
|
+
glance: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
16769
|
+
averageTenureYears: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
16770
|
+
dated: z.ZodNumber;
|
|
16771
|
+
departments: z.ZodArray<z.ZodObject<{
|
|
16772
|
+
label: z.ZodString;
|
|
16773
|
+
value: z.ZodNumber;
|
|
16774
|
+
}, z.core.$strict>>;
|
|
16775
|
+
enough: z.ZodBoolean;
|
|
16776
|
+
growth: z.ZodArray<z.ZodObject<{
|
|
16777
|
+
at: z.ZodString;
|
|
16778
|
+
value: z.ZodNumber;
|
|
16779
|
+
}, z.core.$strict>>;
|
|
16780
|
+
headcount: z.ZodNumber;
|
|
16781
|
+
hiredThisYear: z.ZodNumber;
|
|
16782
|
+
me: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
16783
|
+
joinedAfter: z.ZodNumber;
|
|
16784
|
+
joinedBefore: z.ZodNumber;
|
|
16785
|
+
start: z.ZodString;
|
|
16786
|
+
}, z.core.$strict>]>;
|
|
16787
|
+
tenure: z.ZodArray<z.ZodObject<{
|
|
16788
|
+
label: z.ZodString;
|
|
16789
|
+
value: z.ZodNumber;
|
|
16790
|
+
}, z.core.$strict>>;
|
|
16791
|
+
timezones: z.ZodArray<z.ZodObject<{
|
|
16792
|
+
label: z.ZodString;
|
|
16793
|
+
value: z.ZodNumber;
|
|
16794
|
+
}, z.core.$strict>>;
|
|
16795
|
+
topics: z.ZodArray<z.ZodString>;
|
|
16796
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
16797
|
+
BAD_REQUEST: {
|
|
16798
|
+
message: string;
|
|
16799
|
+
};
|
|
16800
|
+
CONFLICT: {
|
|
16801
|
+
message: string;
|
|
16802
|
+
};
|
|
16803
|
+
FORBIDDEN: {
|
|
16804
|
+
message: string;
|
|
16805
|
+
};
|
|
16806
|
+
NOT_FOUND: {
|
|
16807
|
+
message: string;
|
|
16808
|
+
};
|
|
16809
|
+
PRECONDITION_FAILED: {
|
|
16810
|
+
message: string;
|
|
16811
|
+
};
|
|
16812
|
+
TOO_MANY_REQUESTS: {
|
|
16813
|
+
message: string;
|
|
16814
|
+
};
|
|
16815
|
+
UNAUTHORIZED: {
|
|
16816
|
+
message: string;
|
|
16817
|
+
};
|
|
16818
|
+
}>, {
|
|
16819
|
+
scope: import("./base.ts").Scope | null;
|
|
16820
|
+
} & Record<never, never>>;
|
|
16234
16821
|
managerHistory: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
16235
16822
|
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16236
16823
|
memberId: z.ZodString;
|
|
@@ -16767,6 +17354,7 @@ export declare const managementContract: {
|
|
|
16767
17354
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16768
17355
|
memberId: z.ZodString;
|
|
16769
17356
|
name: z.ZodString;
|
|
17357
|
+
originalStartDate: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
16770
17358
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16771
17359
|
teamIds: z.ZodArray<z.ZodString>;
|
|
16772
17360
|
timezone: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
@@ -16793,6 +17381,7 @@ export declare const managementContract: {
|
|
|
16793
17381
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16794
17382
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16795
17383
|
memberId: z.ZodString;
|
|
17384
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16796
17385
|
revision: z.ZodNumber;
|
|
16797
17386
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
16798
17387
|
teamId: z.ZodString;
|