@shuffl/api-contracts 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +394 -13
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +43 -0
- package/dist/management.generated.d.ts +371 -13
- package/dist/management.generated.js +436 -8
- package/dist/permissions.d.ts +14 -0
- package/dist/permissions.js +4 -0
- package/dist/schemas.d.ts +3 -0
- package/dist/schemas.js +19 -1
- package/openapi.json +6947 -2181
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ export declare const programSchema: z.ZodObject<{
|
|
|
82
82
|
name: z.ZodString;
|
|
83
83
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
84
84
|
anchor: z.ZodString;
|
|
85
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
85
86
|
frequency: z.ZodEnum<{
|
|
86
87
|
days: "days";
|
|
87
88
|
hours: "hours";
|
|
@@ -1648,6 +1649,7 @@ export declare const contract: {
|
|
|
1648
1649
|
enabled: z.ZodBoolean;
|
|
1649
1650
|
}, z.core.$strict>;
|
|
1650
1651
|
}, z.core.$strict>;
|
|
1652
|
+
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
1651
1653
|
updatedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
1652
1654
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1653
1655
|
BAD_REQUEST: {
|
|
@@ -1683,7 +1685,6 @@ export declare const contract: {
|
|
|
1683
1685
|
sendMinute: z.ZodNumber;
|
|
1684
1686
|
template: z.ZodString;
|
|
1685
1687
|
}, z.core.$strict>, z.ZodObject<{
|
|
1686
|
-
fingerprint: z.ZodString;
|
|
1687
1688
|
messages: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1688
1689
|
audience: z.ZodLiteral<"person">;
|
|
1689
1690
|
recipient: z.ZodString;
|
|
@@ -1957,7 +1958,6 @@ export declare const contract: {
|
|
|
1957
1958
|
enabled: z.ZodBoolean;
|
|
1958
1959
|
eventType: z.ZodUnion<readonly [z.ZodLiteral<"anniversary">, z.ZodLiteral<"birthday">]>;
|
|
1959
1960
|
expectedRevision: z.ZodNumber;
|
|
1960
|
-
previewFingerprint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
1961
1961
|
sendHour: z.ZodNumber;
|
|
1962
1962
|
sendMinute: z.ZodNumber;
|
|
1963
1963
|
template: z.ZodString;
|
|
@@ -2008,6 +2008,55 @@ export declare const contract: {
|
|
|
2008
2008
|
}>, {
|
|
2009
2009
|
scope: import("./base.ts").Scope | null;
|
|
2010
2010
|
} & Record<never, never>>;
|
|
2011
|
+
saveAnniversaryDate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2012
|
+
anniversaryDate: z.ZodUnion<readonly [z.ZodLiteral<"latest_hire">, z.ZodLiteral<"original_hire">]>;
|
|
2013
|
+
expectedRevision: z.ZodNumber;
|
|
2014
|
+
confirm: z.ZodLiteral<"celebrations.saveAnniversaryDate">;
|
|
2015
|
+
requestKey: z.ZodString;
|
|
2016
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2017
|
+
receipt: z.ZodObject<{
|
|
2018
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2019
|
+
createdAt: z.ZodISODateTime;
|
|
2020
|
+
id: z.ZodString;
|
|
2021
|
+
operation: z.ZodString;
|
|
2022
|
+
requestKey: z.ZodString;
|
|
2023
|
+
status: z.ZodEnum<{
|
|
2024
|
+
failed: "failed";
|
|
2025
|
+
running: "running";
|
|
2026
|
+
succeeded: "succeeded";
|
|
2027
|
+
unknown: "unknown";
|
|
2028
|
+
}>;
|
|
2029
|
+
}, z.core.$strip>;
|
|
2030
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
2031
|
+
changed: z.ZodBoolean;
|
|
2032
|
+
revision: z.ZodNumber;
|
|
2033
|
+
scheduled: z.ZodNumber;
|
|
2034
|
+
}, z.core.$strict>>;
|
|
2035
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2036
|
+
BAD_REQUEST: {
|
|
2037
|
+
message: string;
|
|
2038
|
+
};
|
|
2039
|
+
CONFLICT: {
|
|
2040
|
+
message: string;
|
|
2041
|
+
};
|
|
2042
|
+
FORBIDDEN: {
|
|
2043
|
+
message: string;
|
|
2044
|
+
};
|
|
2045
|
+
NOT_FOUND: {
|
|
2046
|
+
message: string;
|
|
2047
|
+
};
|
|
2048
|
+
PRECONDITION_FAILED: {
|
|
2049
|
+
message: string;
|
|
2050
|
+
};
|
|
2051
|
+
TOO_MANY_REQUESTS: {
|
|
2052
|
+
message: string;
|
|
2053
|
+
};
|
|
2054
|
+
UNAUTHORIZED: {
|
|
2055
|
+
message: string;
|
|
2056
|
+
};
|
|
2057
|
+
}>, {
|
|
2058
|
+
scope: import("./base.ts").Scope | null;
|
|
2059
|
+
} & Record<never, never>>;
|
|
2011
2060
|
savePreferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2012
2061
|
anniversaryOptOut: z.ZodBoolean;
|
|
2013
2062
|
anniversaryShare: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
@@ -2175,6 +2224,48 @@ export declare const contract: {
|
|
|
2175
2224
|
}>, {
|
|
2176
2225
|
scope: import("./base.ts").Scope | null;
|
|
2177
2226
|
} & Record<never, never>>;
|
|
2227
|
+
startDates: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
2228
|
+
anniversariesOn: z.ZodBoolean;
|
|
2229
|
+
anniversaryDate: z.ZodUnion<readonly [z.ZodLiteral<"latest_hire">, z.ZodLiteral<"original_hire">]>;
|
|
2230
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2231
|
+
count: z.ZodNumber;
|
|
2232
|
+
date: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
2233
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"future">, z.ZodLiteral<"long_ago">, z.ZodLiteral<"shared">]>;
|
|
2234
|
+
people: z.ZodArray<z.ZodObject<{
|
|
2235
|
+
id: z.ZodString;
|
|
2236
|
+
name: z.ZodString;
|
|
2237
|
+
startDate: z.ZodString;
|
|
2238
|
+
}, z.core.$strict>>;
|
|
2239
|
+
}, z.core.$strict>>;
|
|
2240
|
+
firstHires: z.ZodNumber;
|
|
2241
|
+
lastCheckedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2242
|
+
nextCheckAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2243
|
+
revision: z.ZodNumber;
|
|
2244
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2245
|
+
BAD_REQUEST: {
|
|
2246
|
+
message: string;
|
|
2247
|
+
};
|
|
2248
|
+
CONFLICT: {
|
|
2249
|
+
message: string;
|
|
2250
|
+
};
|
|
2251
|
+
FORBIDDEN: {
|
|
2252
|
+
message: string;
|
|
2253
|
+
};
|
|
2254
|
+
NOT_FOUND: {
|
|
2255
|
+
message: string;
|
|
2256
|
+
};
|
|
2257
|
+
PRECONDITION_FAILED: {
|
|
2258
|
+
message: string;
|
|
2259
|
+
};
|
|
2260
|
+
TOO_MANY_REQUESTS: {
|
|
2261
|
+
message: string;
|
|
2262
|
+
};
|
|
2263
|
+
UNAUTHORIZED: {
|
|
2264
|
+
message: string;
|
|
2265
|
+
};
|
|
2266
|
+
}>, {
|
|
2267
|
+
scope: import("./base.ts").Scope | null;
|
|
2268
|
+
} & Record<never, never>>;
|
|
2178
2269
|
};
|
|
2179
2270
|
communities: {
|
|
2180
2271
|
archive: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -2682,6 +2773,7 @@ export declare const contract: {
|
|
|
2682
2773
|
members: z.ZodArray<z.ZodObject<{
|
|
2683
2774
|
canRemove: z.ZodBoolean;
|
|
2684
2775
|
id: z.ZodString;
|
|
2776
|
+
joinedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2685
2777
|
name: z.ZodString;
|
|
2686
2778
|
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
2687
2779
|
role: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"moderator">, z.ZodLiteral<"owner">]>;
|
|
@@ -3056,7 +3148,7 @@ export declare const contract: {
|
|
|
3056
3148
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3057
3149
|
acknowledgeExternalAccess: z.ZodLiteral<true>;
|
|
3058
3150
|
name: z.ZodString;
|
|
3059
|
-
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">]>>;
|
|
3151
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.audienceOptions">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionAudience">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">]>>;
|
|
3060
3152
|
confirm: z.ZodLiteral<"credentials.api.create">;
|
|
3061
3153
|
requestKey: z.ZodString;
|
|
3062
3154
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3113,7 +3205,7 @@ export declare const contract: {
|
|
|
3113
3205
|
isActive: z.ZodBoolean;
|
|
3114
3206
|
lastUsedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3115
3207
|
name: z.ZodString;
|
|
3116
|
-
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">]>>;
|
|
3208
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.audienceOptions">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionAudience">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">]>>;
|
|
3117
3209
|
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">]>>;
|
|
3118
3210
|
}, z.core.$strict>>;
|
|
3119
3211
|
permissionCatalog: z.ZodArray<z.ZodObject<{
|
|
@@ -3122,7 +3214,7 @@ export declare const contract: {
|
|
|
3122
3214
|
description: z.ZodString;
|
|
3123
3215
|
grantable: z.ZodBoolean;
|
|
3124
3216
|
granted: z.ZodBoolean;
|
|
3125
|
-
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">]>;
|
|
3217
|
+
id: z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.audienceOptions">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionAudience">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">]>;
|
|
3126
3218
|
resource: z.ZodString;
|
|
3127
3219
|
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">]>;
|
|
3128
3220
|
}, z.core.$strict>>;
|
|
@@ -3432,6 +3524,11 @@ export declare const contract: {
|
|
|
3432
3524
|
path: z.ZodString;
|
|
3433
3525
|
}, z.core.$strict>;
|
|
3434
3526
|
note: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3527
|
+
ratio: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3528
|
+
label: z.ZodString;
|
|
3529
|
+
part: z.ZodNumber;
|
|
3530
|
+
whole: z.ZodNumber;
|
|
3531
|
+
}, z.core.$strict>>>;
|
|
3435
3532
|
stats: z.ZodArray<z.ZodObject<{
|
|
3436
3533
|
label: z.ZodString;
|
|
3437
3534
|
value: z.ZodString;
|
|
@@ -3445,6 +3542,7 @@ export declare const contract: {
|
|
|
3445
3542
|
message: z.ZodString;
|
|
3446
3543
|
path: z.ZodString;
|
|
3447
3544
|
}, z.core.$strict>]>;
|
|
3545
|
+
trend: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
3448
3546
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3449
3547
|
BAD_REQUEST: {
|
|
3450
3548
|
message: string;
|
|
@@ -3765,6 +3863,7 @@ export declare const contract: {
|
|
|
3765
3863
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3766
3864
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3767
3865
|
memberId: z.ZodString;
|
|
3866
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3768
3867
|
revision: z.ZodNumber;
|
|
3769
3868
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3770
3869
|
teamId: z.ZodString;
|
|
@@ -3828,6 +3927,7 @@ export declare const contract: {
|
|
|
3828
3927
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3829
3928
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
3830
3929
|
anchor: z.ZodString;
|
|
3930
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
3831
3931
|
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">]>;
|
|
3832
3932
|
interval: z.ZodNumber;
|
|
3833
3933
|
timezone: z.ZodString;
|
|
@@ -4478,6 +4578,36 @@ export declare const contract: {
|
|
|
4478
4578
|
}>, {
|
|
4479
4579
|
scope: import("./base.ts").Scope | null;
|
|
4480
4580
|
} & Record<never, never>>;
|
|
4581
|
+
places: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
4582
|
+
places: z.ZodArray<z.ZodObject<{
|
|
4583
|
+
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">]>;
|
|
4584
|
+
waiting: z.ZodBoolean;
|
|
4585
|
+
}, z.core.$strict>>;
|
|
4586
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4587
|
+
BAD_REQUEST: {
|
|
4588
|
+
message: string;
|
|
4589
|
+
};
|
|
4590
|
+
CONFLICT: {
|
|
4591
|
+
message: string;
|
|
4592
|
+
};
|
|
4593
|
+
FORBIDDEN: {
|
|
4594
|
+
message: string;
|
|
4595
|
+
};
|
|
4596
|
+
NOT_FOUND: {
|
|
4597
|
+
message: string;
|
|
4598
|
+
};
|
|
4599
|
+
PRECONDITION_FAILED: {
|
|
4600
|
+
message: string;
|
|
4601
|
+
};
|
|
4602
|
+
TOO_MANY_REQUESTS: {
|
|
4603
|
+
message: string;
|
|
4604
|
+
};
|
|
4605
|
+
UNAUTHORIZED: {
|
|
4606
|
+
message: string;
|
|
4607
|
+
};
|
|
4608
|
+
}>, {
|
|
4609
|
+
scope: import("./base.ts").Scope | null;
|
|
4610
|
+
} & Record<never, never>>;
|
|
4481
4611
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4482
4612
|
autoplay: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4483
4613
|
forYou: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
@@ -4971,6 +5101,42 @@ export declare const contract: {
|
|
|
4971
5101
|
}>, {
|
|
4972
5102
|
scope: import("./base.ts").Scope | null;
|
|
4973
5103
|
} & Record<never, never>>;
|
|
5104
|
+
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
5105
|
+
createdAt: z.ZodISODateTime;
|
|
5106
|
+
destinationName: z.ZodString;
|
|
5107
|
+
id: z.ZodString;
|
|
5108
|
+
latestReply: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5109
|
+
body: z.ZodString;
|
|
5110
|
+
createdAt: z.ZodISODateTime;
|
|
5111
|
+
}, z.core.$strict>]>;
|
|
5112
|
+
sharedText: z.ZodString;
|
|
5113
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"resolved">, z.ZodLiteral<"waiting_on_employee">, z.ZodLiteral<"waiting_on_hr">]>;
|
|
5114
|
+
updatedAt: z.ZodISODateTime;
|
|
5115
|
+
}, z.core.$strict>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5116
|
+
BAD_REQUEST: {
|
|
5117
|
+
message: string;
|
|
5118
|
+
};
|
|
5119
|
+
CONFLICT: {
|
|
5120
|
+
message: string;
|
|
5121
|
+
};
|
|
5122
|
+
FORBIDDEN: {
|
|
5123
|
+
message: string;
|
|
5124
|
+
};
|
|
5125
|
+
NOT_FOUND: {
|
|
5126
|
+
message: string;
|
|
5127
|
+
};
|
|
5128
|
+
PRECONDITION_FAILED: {
|
|
5129
|
+
message: string;
|
|
5130
|
+
};
|
|
5131
|
+
TOO_MANY_REQUESTS: {
|
|
5132
|
+
message: string;
|
|
5133
|
+
};
|
|
5134
|
+
UNAUTHORIZED: {
|
|
5135
|
+
message: string;
|
|
5136
|
+
};
|
|
5137
|
+
}>, {
|
|
5138
|
+
scope: import("./base.ts").Scope | null;
|
|
5139
|
+
} & Record<never, never>>;
|
|
4974
5140
|
readiness: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
4975
5141
|
ready: z.ZodBoolean;
|
|
4976
5142
|
reason: z.ZodLiteral<"no_destination">;
|
|
@@ -6190,13 +6356,13 @@ export declare const contract: {
|
|
|
6190
6356
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
6191
6357
|
groups: z.ZodArray<z.ZodObject<{
|
|
6192
6358
|
id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
|
|
6193
|
-
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">]>>;
|
|
6359
|
+
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">]>>;
|
|
6194
6360
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
6195
6361
|
}, z.core.$strict>>;
|
|
6196
6362
|
preferences: z.ZodArray<z.ZodObject<{
|
|
6197
6363
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
6198
6364
|
email: z.ZodBoolean;
|
|
6199
|
-
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">]>;
|
|
6365
|
+
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">]>;
|
|
6200
6366
|
slack: z.ZodBoolean;
|
|
6201
6367
|
teams: z.ZodBoolean;
|
|
6202
6368
|
}, z.core.$strict>>;
|
|
@@ -6229,7 +6395,7 @@ export declare const contract: {
|
|
|
6229
6395
|
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6230
6396
|
channel: z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>;
|
|
6231
6397
|
enabled: z.ZodBoolean;
|
|
6232
|
-
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">]>;
|
|
6398
|
+
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">]>;
|
|
6233
6399
|
requestKey: z.ZodString;
|
|
6234
6400
|
}, z.core.$strict>, z.ZodObject<{
|
|
6235
6401
|
receipt: z.ZodObject<{
|
|
@@ -6248,13 +6414,13 @@ export declare const contract: {
|
|
|
6248
6414
|
result: z.ZodNullable<z.ZodObject<{
|
|
6249
6415
|
groups: z.ZodArray<z.ZodObject<{
|
|
6250
6416
|
id: z.ZodUnion<readonly [z.ZodLiteral<"programs">, z.ZodLiteral<"requests">, z.ZodLiteral<"shuffl">]>;
|
|
6251
|
-
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">]>>;
|
|
6417
|
+
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">]>>;
|
|
6252
6418
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
6253
6419
|
}, z.core.$strict>>;
|
|
6254
6420
|
preferences: z.ZodArray<z.ZodObject<{
|
|
6255
6421
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
6256
6422
|
email: z.ZodBoolean;
|
|
6257
|
-
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">]>;
|
|
6423
|
+
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">]>;
|
|
6258
6424
|
slack: z.ZodBoolean;
|
|
6259
6425
|
teams: z.ZodBoolean;
|
|
6260
6426
|
}, z.core.$strict>>;
|
|
@@ -6871,6 +7037,78 @@ export declare const contract: {
|
|
|
6871
7037
|
}>, {
|
|
6872
7038
|
scope: import("./base.ts").Scope | null;
|
|
6873
7039
|
} & Record<never, never>>;
|
|
7040
|
+
journey: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7041
|
+
buddy: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7042
|
+
email: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7043
|
+
id: z.ZodString;
|
|
7044
|
+
name: z.ZodString;
|
|
7045
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7046
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7047
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7048
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7049
|
+
}, z.core.$strict>]>;
|
|
7050
|
+
checkpoints: z.ZodArray<z.ZodObject<{
|
|
7051
|
+
checkpoint: z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>;
|
|
7052
|
+
closesAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
7053
|
+
date: z.ZodString;
|
|
7054
|
+
day: z.ZodNumber;
|
|
7055
|
+
label: z.ZodString;
|
|
7056
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"answered">, z.ZodLiteral<"closed">, z.ZodLiteral<"due">, z.ZodLiteral<"open">, z.ZodLiteral<"skipped">, z.ZodLiteral<"upcoming">]>;
|
|
7057
|
+
title: z.ZodString;
|
|
7058
|
+
}, z.core.$strict>>;
|
|
7059
|
+
day: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
7060
|
+
enrolled: z.ZodBoolean;
|
|
7061
|
+
manager: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7062
|
+
email: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7063
|
+
id: z.ZodString;
|
|
7064
|
+
name: z.ZodString;
|
|
7065
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7066
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7067
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7068
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7069
|
+
}, z.core.$strict>]>;
|
|
7070
|
+
managerCheckIns: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7071
|
+
cadence: z.ZodUnion<readonly [z.ZodLiteral<"biweekly">, z.ZodLiteral<"weekly">]>;
|
|
7072
|
+
week: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
7073
|
+
weeks: z.ZodNumber;
|
|
7074
|
+
}, z.core.$strict>]>;
|
|
7075
|
+
programName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7076
|
+
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7077
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
7078
|
+
answer: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"all_good">, z.ZodLiteral<"need_help">]>;
|
|
7079
|
+
date: z.ZodString;
|
|
7080
|
+
day: z.ZodNumber;
|
|
7081
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"introduction">]>;
|
|
7082
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"done">, z.ZodLiteral<"planned">, z.ZodLiteral<"stopped">]>;
|
|
7083
|
+
status: z.ZodString;
|
|
7084
|
+
stepId: z.ZodString;
|
|
7085
|
+
}, z.core.$strict>>;
|
|
7086
|
+
today: z.ZodString;
|
|
7087
|
+
}, z.core.$strict>]>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
7088
|
+
BAD_REQUEST: {
|
|
7089
|
+
message: string;
|
|
7090
|
+
};
|
|
7091
|
+
CONFLICT: {
|
|
7092
|
+
message: string;
|
|
7093
|
+
};
|
|
7094
|
+
FORBIDDEN: {
|
|
7095
|
+
message: string;
|
|
7096
|
+
};
|
|
7097
|
+
NOT_FOUND: {
|
|
7098
|
+
message: string;
|
|
7099
|
+
};
|
|
7100
|
+
PRECONDITION_FAILED: {
|
|
7101
|
+
message: string;
|
|
7102
|
+
};
|
|
7103
|
+
TOO_MANY_REQUESTS: {
|
|
7104
|
+
message: string;
|
|
7105
|
+
};
|
|
7106
|
+
UNAUTHORIZED: {
|
|
7107
|
+
message: string;
|
|
7108
|
+
};
|
|
7109
|
+
}>, {
|
|
7110
|
+
scope: import("./base.ts").Scope | null;
|
|
7111
|
+
} & Record<never, never>>;
|
|
6874
7112
|
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
6875
7113
|
buddyAsks: z.ZodArray<z.ZodNever>;
|
|
6876
7114
|
buddyName: z.ZodNull;
|
|
@@ -7360,6 +7598,7 @@ export declare const contract: {
|
|
|
7360
7598
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
7361
7599
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
7362
7600
|
anchor: z.ZodString;
|
|
7601
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
7363
7602
|
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">]>;
|
|
7364
7603
|
interval: z.ZodNumber;
|
|
7365
7604
|
timezone: z.ZodString;
|
|
@@ -7490,6 +7729,7 @@ export declare const contract: {
|
|
|
7490
7729
|
entityId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7491
7730
|
entityName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7492
7731
|
id: z.ZodString;
|
|
7732
|
+
summary: z.ZodString;
|
|
7493
7733
|
teamId: z.ZodString;
|
|
7494
7734
|
}, z.core.$strict>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
7495
7735
|
BAD_REQUEST: {
|
|
@@ -8092,7 +8332,7 @@ export declare const contract: {
|
|
|
8092
8332
|
send: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8093
8333
|
channelId: z.ZodString;
|
|
8094
8334
|
composerKey: z.ZodString;
|
|
8095
|
-
from: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"feed">, z.ZodLiteral<"nudge">, z.ZodLiteral<"profile">, z.ZodLiteral<"suggestion">, z.ZodLiteral<"yours">]>>>;
|
|
8335
|
+
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">]>>>;
|
|
8096
8336
|
recipientIds: z.ZodArray<z.ZodString>;
|
|
8097
8337
|
text: z.ZodString;
|
|
8098
8338
|
values: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -8258,6 +8498,10 @@ export declare const contract: {
|
|
|
8258
8498
|
reactionReadScope: z.ZodBoolean;
|
|
8259
8499
|
reactionScope: z.ZodBoolean;
|
|
8260
8500
|
revision: z.ZodNumber;
|
|
8501
|
+
slack: z.ZodObject<{
|
|
8502
|
+
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">]>;
|
|
8503
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
8504
|
+
}, z.core.$strict>;
|
|
8261
8505
|
status: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"on">]>;
|
|
8262
8506
|
valuesPages: z.ZodArray<z.ZodObject<{
|
|
8263
8507
|
id: z.ZodString;
|
|
@@ -8831,6 +9075,7 @@ export declare const contract: {
|
|
|
8831
9075
|
scope: import("./base.ts").Scope | null;
|
|
8832
9076
|
} & Record<never, never>>;
|
|
8833
9077
|
whoKnows: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9078
|
+
from: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"command_palette">, z.ZodLiteral<"people_page">]>>>;
|
|
8834
9079
|
limit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
8835
9080
|
personIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8836
9081
|
topic: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -9773,6 +10018,10 @@ export declare const contract: {
|
|
|
9773
10018
|
tone: z.ZodUnion<readonly [z.ZodLiteral<"down">, z.ZodLiteral<"steady">, z.ZodLiteral<"up">, z.ZodLiteral<"watch">]>;
|
|
9774
10019
|
}, z.core.$strict>>;
|
|
9775
10020
|
floorMet: z.ZodBoolean;
|
|
10021
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
10022
|
+
label: z.ZodString;
|
|
10023
|
+
value: z.ZodNumber;
|
|
10024
|
+
}, z.core.$strict>>;
|
|
9776
10025
|
invited: z.ZodNumber;
|
|
9777
10026
|
participationPct: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
9778
10027
|
questionText: z.ZodString;
|
|
@@ -9891,8 +10140,12 @@ export declare const contract: {
|
|
|
9891
10140
|
openHours: z.ZodNumber;
|
|
9892
10141
|
reportingFloor: z.ZodNumber;
|
|
9893
10142
|
sendDays: z.ZodArray<z.ZodNumber>;
|
|
10143
|
+
sendEvery: z.ZodNumber;
|
|
9894
10144
|
sendHour: z.ZodNumber;
|
|
9895
10145
|
sendMinute: z.ZodNumber;
|
|
10146
|
+
sendMonthWeek: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
10147
|
+
sendStart: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10148
|
+
sendUnit: z.ZodUnion<readonly [z.ZodLiteral<"day">, z.ZodLiteral<"month">, z.ZodLiteral<"week">]>;
|
|
9896
10149
|
timezone: z.ZodString;
|
|
9897
10150
|
}, z.core.$strict>;
|
|
9898
10151
|
slackReachable: z.ZodNumber;
|
|
@@ -10396,8 +10649,12 @@ export declare const contract: {
|
|
|
10396
10649
|
openHours: z.ZodNumber;
|
|
10397
10650
|
reportingFloor: z.ZodNumber;
|
|
10398
10651
|
sendDays: z.ZodArray<z.ZodNumber>;
|
|
10652
|
+
sendEvery: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
10399
10653
|
sendHour: z.ZodNumber;
|
|
10400
10654
|
sendMinute: z.ZodNumber;
|
|
10655
|
+
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>]>>>;
|
|
10656
|
+
sendStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
10657
|
+
sendUnit: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day">, z.ZodLiteral<"month">, z.ZodLiteral<"week">]>>>;
|
|
10401
10658
|
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">]>;
|
|
10402
10659
|
timezone: z.ZodString;
|
|
10403
10660
|
confirm: z.ZodLiteral<"pulse.saveProgram">;
|
|
@@ -10797,6 +11054,7 @@ export declare const contract: {
|
|
|
10797
11054
|
} & Record<never, never>>;
|
|
10798
11055
|
saveSetting: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10799
11056
|
choice: z.ZodString;
|
|
11057
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
10800
11058
|
kind: z.ZodUnion<readonly [z.ZodLiteral<"manager_check_in">, z.ZodLiteral<"new_hire_check_in">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
10801
11059
|
confirm: z.ZodLiteral<"reminders.saveSetting">;
|
|
10802
11060
|
requestKey: z.ZodString;
|
|
@@ -10817,6 +11075,7 @@ export declare const contract: {
|
|
|
10817
11075
|
result: z.ZodNullable<z.ZodObject<{
|
|
10818
11076
|
changed: z.ZodBoolean;
|
|
10819
11077
|
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">]>;
|
|
11078
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
10820
11079
|
kind: z.ZodUnion<readonly [z.ZodLiteral<"manager_check_in">, z.ZodLiteral<"new_hire_check_in">, z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
10821
11080
|
}, z.core.$strict>>;
|
|
10822
11081
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -10848,24 +11107,28 @@ export declare const contract: {
|
|
|
10848
11107
|
manager_check_in: z.ZodObject<{
|
|
10849
11108
|
available: z.ZodBoolean;
|
|
10850
11109
|
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">]>;
|
|
11110
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
10851
11111
|
optedOut: z.ZodNumber;
|
|
10852
11112
|
options: z.ZodArray<z.ZodString>;
|
|
10853
11113
|
}, z.core.$strict>;
|
|
10854
11114
|
new_hire_check_in: z.ZodObject<{
|
|
10855
11115
|
available: z.ZodBoolean;
|
|
10856
11116
|
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">]>;
|
|
11117
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
10857
11118
|
optedOut: z.ZodNumber;
|
|
10858
11119
|
options: z.ZodArray<z.ZodString>;
|
|
10859
11120
|
}, z.core.$strict>;
|
|
10860
11121
|
praise: z.ZodObject<{
|
|
10861
11122
|
available: z.ZodBoolean;
|
|
10862
11123
|
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">]>;
|
|
11124
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
10863
11125
|
optedOut: z.ZodNumber;
|
|
10864
11126
|
options: z.ZodArray<z.ZodString>;
|
|
10865
11127
|
}, z.core.$strict>;
|
|
10866
11128
|
pulse: z.ZodObject<{
|
|
10867
11129
|
available: z.ZodBoolean;
|
|
10868
11130
|
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">]>;
|
|
11131
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
10869
11132
|
optedOut: z.ZodNumber;
|
|
10870
11133
|
options: z.ZodArray<z.ZodString>;
|
|
10871
11134
|
}, z.core.$strict>;
|
|
@@ -11917,6 +12180,7 @@ export declare const contract: {
|
|
|
11917
12180
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
11918
12181
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
11919
12182
|
anchor: z.ZodString;
|
|
12183
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
11920
12184
|
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">]>;
|
|
11921
12185
|
interval: z.ZodNumber;
|
|
11922
12186
|
timezone: z.ZodString;
|
|
@@ -12213,6 +12477,7 @@ export declare const contract: {
|
|
|
12213
12477
|
} & Record<never, never>>;
|
|
12214
12478
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
12215
12479
|
body: z.ZodString;
|
|
12480
|
+
guides: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"abstain">, z.ZodLiteral<"answer">, z.ZodLiteral<"empty">, z.ZodLiteral<"not_checked">, z.ZodLiteral<"unavailable">]>>>;
|
|
12216
12481
|
subject: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12217
12482
|
requestKey: z.ZodString;
|
|
12218
12483
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -12562,6 +12827,10 @@ export declare const contract: {
|
|
|
12562
12827
|
status: z.ZodString;
|
|
12563
12828
|
trigger: z.ZodString;
|
|
12564
12829
|
}, z.core.$strict>>;
|
|
12830
|
+
slack: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12831
|
+
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">]>;
|
|
12832
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
12833
|
+
}, z.core.$strict>]>;
|
|
12565
12834
|
status: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"needs_attention">]>;
|
|
12566
12835
|
}, z.core.$strict>>;
|
|
12567
12836
|
organizationId: z.ZodString;
|
|
@@ -14876,8 +15145,10 @@ export declare const contract: {
|
|
|
14876
15145
|
"celebrations.removeCardNote": "celebrations.removeCardNote";
|
|
14877
15146
|
"celebrations.review": "celebrations.review";
|
|
14878
15147
|
"celebrations.save": "celebrations.save";
|
|
15148
|
+
"celebrations.saveAnniversaryDate": "celebrations.saveAnniversaryDate";
|
|
14879
15149
|
"celebrations.savePreferences": "celebrations.savePreferences";
|
|
14880
15150
|
"celebrations.signCard": "celebrations.signCard";
|
|
15151
|
+
"celebrations.startDates": "celebrations.startDates";
|
|
14881
15152
|
"channels.list": "channels.list";
|
|
14882
15153
|
"commands.get": "commands.get";
|
|
14883
15154
|
"communities.archive": "communities.archive";
|
|
@@ -14917,6 +15188,7 @@ export declare const contract: {
|
|
|
14917
15188
|
"getStarted.intro": "getStarted.intro";
|
|
14918
15189
|
"getStarted.wizard": "getStarted.wizard";
|
|
14919
15190
|
"home.feed": "home.feed";
|
|
15191
|
+
"home.places": "home.places";
|
|
14920
15192
|
"home.preferences": "home.preferences";
|
|
14921
15193
|
"home.react": "home.react";
|
|
14922
15194
|
"home.story": "home.story";
|
|
@@ -14926,6 +15198,7 @@ export declare const contract: {
|
|
|
14926
15198
|
"hr.deliver": "hr.deliver";
|
|
14927
15199
|
"hr.get": "hr.get";
|
|
14928
15200
|
"hr.list": "hr.list";
|
|
15201
|
+
"hr.mine": "hr.mine";
|
|
14929
15202
|
"hr.readiness": "hr.readiness";
|
|
14930
15203
|
"hr.rebuildCategories": "hr.rebuildCategories";
|
|
14931
15204
|
"hr.renameTeam": "hr.renameTeam";
|
|
@@ -14995,6 +15268,7 @@ export declare const contract: {
|
|
|
14995
15268
|
"onboarding.enrollmentPreview": "onboarding.enrollmentPreview";
|
|
14996
15269
|
"onboarding.firstDaysCheckIns": "onboarding.firstDaysCheckIns";
|
|
14997
15270
|
"onboarding.firstDaysResults": "onboarding.firstDaysResults";
|
|
15271
|
+
"onboarding.journey": "onboarding.journey";
|
|
14998
15272
|
"onboarding.mine": "onboarding.mine";
|
|
14999
15273
|
"onboarding.person": "onboarding.person";
|
|
15000
15274
|
"onboarding.previewEnrollment": "onboarding.previewEnrollment";
|
|
@@ -15117,6 +15391,7 @@ export declare const contract: {
|
|
|
15117
15391
|
"teams.saveSlackProfileLink": "teams.saveSlackProfileLink";
|
|
15118
15392
|
"teams.setup": "teams.setup";
|
|
15119
15393
|
"teams.slackChannels": "teams.slackChannels";
|
|
15394
|
+
"teams.slackConnection": "teams.slackConnection";
|
|
15120
15395
|
"teams.slackJoinAccess": "teams.slackJoinAccess";
|
|
15121
15396
|
"teams.slackProfileLink": "teams.slackProfileLink";
|
|
15122
15397
|
"teams.status": "teams.status";
|
|
@@ -15133,6 +15408,7 @@ export declare const contract: {
|
|
|
15133
15408
|
"users.details": "users.details";
|
|
15134
15409
|
"users.filterOptions": "users.filterOptions";
|
|
15135
15410
|
"users.get": "users.get";
|
|
15411
|
+
"users.glance": "users.glance";
|
|
15136
15412
|
"users.list": "users.list";
|
|
15137
15413
|
"users.managerHistory": "users.managerHistory";
|
|
15138
15414
|
"users.managers": "users.managers";
|
|
@@ -15232,8 +15508,10 @@ export declare const contract: {
|
|
|
15232
15508
|
"celebrations.removeCardNote": "celebrations.removeCardNote";
|
|
15233
15509
|
"celebrations.review": "celebrations.review";
|
|
15234
15510
|
"celebrations.save": "celebrations.save";
|
|
15511
|
+
"celebrations.saveAnniversaryDate": "celebrations.saveAnniversaryDate";
|
|
15235
15512
|
"celebrations.savePreferences": "celebrations.savePreferences";
|
|
15236
15513
|
"celebrations.signCard": "celebrations.signCard";
|
|
15514
|
+
"celebrations.startDates": "celebrations.startDates";
|
|
15237
15515
|
"channels.list": "channels.list";
|
|
15238
15516
|
"commands.get": "commands.get";
|
|
15239
15517
|
"communities.archive": "communities.archive";
|
|
@@ -15273,6 +15551,7 @@ export declare const contract: {
|
|
|
15273
15551
|
"getStarted.intro": "getStarted.intro";
|
|
15274
15552
|
"getStarted.wizard": "getStarted.wizard";
|
|
15275
15553
|
"home.feed": "home.feed";
|
|
15554
|
+
"home.places": "home.places";
|
|
15276
15555
|
"home.preferences": "home.preferences";
|
|
15277
15556
|
"home.react": "home.react";
|
|
15278
15557
|
"home.story": "home.story";
|
|
@@ -15282,6 +15561,7 @@ export declare const contract: {
|
|
|
15282
15561
|
"hr.deliver": "hr.deliver";
|
|
15283
15562
|
"hr.get": "hr.get";
|
|
15284
15563
|
"hr.list": "hr.list";
|
|
15564
|
+
"hr.mine": "hr.mine";
|
|
15285
15565
|
"hr.readiness": "hr.readiness";
|
|
15286
15566
|
"hr.rebuildCategories": "hr.rebuildCategories";
|
|
15287
15567
|
"hr.renameTeam": "hr.renameTeam";
|
|
@@ -15351,6 +15631,7 @@ export declare const contract: {
|
|
|
15351
15631
|
"onboarding.enrollmentPreview": "onboarding.enrollmentPreview";
|
|
15352
15632
|
"onboarding.firstDaysCheckIns": "onboarding.firstDaysCheckIns";
|
|
15353
15633
|
"onboarding.firstDaysResults": "onboarding.firstDaysResults";
|
|
15634
|
+
"onboarding.journey": "onboarding.journey";
|
|
15354
15635
|
"onboarding.mine": "onboarding.mine";
|
|
15355
15636
|
"onboarding.person": "onboarding.person";
|
|
15356
15637
|
"onboarding.previewEnrollment": "onboarding.previewEnrollment";
|
|
@@ -15473,6 +15754,7 @@ export declare const contract: {
|
|
|
15473
15754
|
"teams.saveSlackProfileLink": "teams.saveSlackProfileLink";
|
|
15474
15755
|
"teams.setup": "teams.setup";
|
|
15475
15756
|
"teams.slackChannels": "teams.slackChannels";
|
|
15757
|
+
"teams.slackConnection": "teams.slackConnection";
|
|
15476
15758
|
"teams.slackJoinAccess": "teams.slackJoinAccess";
|
|
15477
15759
|
"teams.slackProfileLink": "teams.slackProfileLink";
|
|
15478
15760
|
"teams.status": "teams.status";
|
|
@@ -15489,6 +15771,7 @@ export declare const contract: {
|
|
|
15489
15771
|
"users.details": "users.details";
|
|
15490
15772
|
"users.filterOptions": "users.filterOptions";
|
|
15491
15773
|
"users.get": "users.get";
|
|
15774
|
+
"users.glance": "users.glance";
|
|
15492
15775
|
"users.list": "users.list";
|
|
15493
15776
|
"users.managerHistory": "users.managerHistory";
|
|
15494
15777
|
"users.managers": "users.managers";
|
|
@@ -15680,6 +15963,7 @@ export declare const contract: {
|
|
|
15680
15963
|
version: z.ZodLiteral<1>;
|
|
15681
15964
|
}, z.core.$strict>, z.ZodObject<{
|
|
15682
15965
|
anchor: z.ZodString;
|
|
15966
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
15683
15967
|
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">]>;
|
|
15684
15968
|
interval: z.ZodNumber;
|
|
15685
15969
|
timezone: z.ZodString;
|
|
@@ -15763,6 +16047,7 @@ export declare const contract: {
|
|
|
15763
16047
|
name: z.ZodString;
|
|
15764
16048
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
15765
16049
|
anchor: z.ZodString;
|
|
16050
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
15766
16051
|
frequency: z.ZodEnum<{
|
|
15767
16052
|
days: "days";
|
|
15768
16053
|
hours: "hours";
|
|
@@ -15909,6 +16194,7 @@ export declare const contract: {
|
|
|
15909
16194
|
name: z.ZodString;
|
|
15910
16195
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
15911
16196
|
anchor: z.ZodString;
|
|
16197
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
15912
16198
|
frequency: z.ZodEnum<{
|
|
15913
16199
|
days: "days";
|
|
15914
16200
|
hours: "hours";
|
|
@@ -16018,6 +16304,7 @@ export declare const contract: {
|
|
|
16018
16304
|
name: z.ZodString;
|
|
16019
16305
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16020
16306
|
anchor: z.ZodString;
|
|
16307
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16021
16308
|
frequency: z.ZodEnum<{
|
|
16022
16309
|
days: "days";
|
|
16023
16310
|
hours: "hours";
|
|
@@ -16164,6 +16451,7 @@ export declare const contract: {
|
|
|
16164
16451
|
name: z.ZodString;
|
|
16165
16452
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16166
16453
|
anchor: z.ZodString;
|
|
16454
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16167
16455
|
frequency: z.ZodEnum<{
|
|
16168
16456
|
days: "days";
|
|
16169
16457
|
hours: "hours";
|
|
@@ -16312,6 +16600,7 @@ export declare const contract: {
|
|
|
16312
16600
|
name: z.ZodString;
|
|
16313
16601
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16314
16602
|
anchor: z.ZodString;
|
|
16603
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16315
16604
|
frequency: z.ZodEnum<{
|
|
16316
16605
|
days: "days";
|
|
16317
16606
|
hours: "hours";
|
|
@@ -16540,6 +16829,7 @@ export declare const contract: {
|
|
|
16540
16829
|
name: z.ZodString;
|
|
16541
16830
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16542
16831
|
anchor: z.ZodString;
|
|
16832
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16543
16833
|
frequency: z.ZodEnum<{
|
|
16544
16834
|
days: "days";
|
|
16545
16835
|
hours: "hours";
|
|
@@ -16739,6 +17029,7 @@ export declare const contract: {
|
|
|
16739
17029
|
name: z.ZodString;
|
|
16740
17030
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16741
17031
|
anchor: z.ZodString;
|
|
17032
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16742
17033
|
frequency: z.ZodEnum<{
|
|
16743
17034
|
days: "days";
|
|
16744
17035
|
hours: "hours";
|
|
@@ -16967,6 +17258,7 @@ export declare const contract: {
|
|
|
16967
17258
|
name: z.ZodString;
|
|
16968
17259
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16969
17260
|
anchor: z.ZodString;
|
|
17261
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16970
17262
|
frequency: z.ZodEnum<{
|
|
16971
17263
|
days: "days";
|
|
16972
17264
|
hours: "hours";
|
|
@@ -18123,10 +18415,11 @@ export declare const contract: {
|
|
|
18123
18415
|
}, z.core.$strict>;
|
|
18124
18416
|
slack: z.ZodObject<{
|
|
18125
18417
|
available: z.ZodBoolean;
|
|
18126
|
-
|
|
18418
|
+
live: z.ZodBoolean;
|
|
18127
18419
|
missingScopes: z.ZodArray<z.ZodString>;
|
|
18128
18420
|
ready: z.ZodBoolean;
|
|
18129
|
-
|
|
18421
|
+
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">]>;
|
|
18422
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
18130
18423
|
}, z.core.$strict>;
|
|
18131
18424
|
steps: z.ZodArray<z.ZodObject<{
|
|
18132
18425
|
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">]>;
|
|
@@ -18209,6 +18502,38 @@ export declare const contract: {
|
|
|
18209
18502
|
}>, {
|
|
18210
18503
|
scope: import("./base.ts").Scope | null;
|
|
18211
18504
|
} & Record<never, never>>;
|
|
18505
|
+
slackConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
18506
|
+
available: z.ZodBoolean;
|
|
18507
|
+
live: z.ZodBoolean;
|
|
18508
|
+
missingScopes: z.ZodArray<z.ZodString>;
|
|
18509
|
+
ready: z.ZodBoolean;
|
|
18510
|
+
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">]>;
|
|
18511
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
18512
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
18513
|
+
BAD_REQUEST: {
|
|
18514
|
+
message: string;
|
|
18515
|
+
};
|
|
18516
|
+
CONFLICT: {
|
|
18517
|
+
message: string;
|
|
18518
|
+
};
|
|
18519
|
+
FORBIDDEN: {
|
|
18520
|
+
message: string;
|
|
18521
|
+
};
|
|
18522
|
+
NOT_FOUND: {
|
|
18523
|
+
message: string;
|
|
18524
|
+
};
|
|
18525
|
+
PRECONDITION_FAILED: {
|
|
18526
|
+
message: string;
|
|
18527
|
+
};
|
|
18528
|
+
TOO_MANY_REQUESTS: {
|
|
18529
|
+
message: string;
|
|
18530
|
+
};
|
|
18531
|
+
UNAUTHORIZED: {
|
|
18532
|
+
message: string;
|
|
18533
|
+
};
|
|
18534
|
+
}>, {
|
|
18535
|
+
scope: import("./base.ts").Scope | null;
|
|
18536
|
+
} & Record<never, never>>;
|
|
18212
18537
|
slackJoinAccess: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
18213
18538
|
changedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
18214
18539
|
enabled: z.ZodBoolean;
|
|
@@ -18688,6 +19013,7 @@ export declare const contract: {
|
|
|
18688
19013
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
18689
19014
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
18690
19015
|
memberId: z.ZodString;
|
|
19016
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
18691
19017
|
revision: z.ZodNumber;
|
|
18692
19018
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
18693
19019
|
teamId: z.ZodString;
|
|
@@ -18794,6 +19120,59 @@ export declare const contract: {
|
|
|
18794
19120
|
}>, {
|
|
18795
19121
|
scope: import("./base.ts").Scope | null;
|
|
18796
19122
|
} & Record<never, never>>;
|
|
19123
|
+
glance: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
19124
|
+
averageTenureYears: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
19125
|
+
dated: z.ZodNumber;
|
|
19126
|
+
departments: z.ZodArray<z.ZodObject<{
|
|
19127
|
+
label: z.ZodString;
|
|
19128
|
+
value: z.ZodNumber;
|
|
19129
|
+
}, z.core.$strict>>;
|
|
19130
|
+
enough: z.ZodBoolean;
|
|
19131
|
+
growth: z.ZodArray<z.ZodObject<{
|
|
19132
|
+
at: z.ZodString;
|
|
19133
|
+
value: z.ZodNumber;
|
|
19134
|
+
}, z.core.$strict>>;
|
|
19135
|
+
headcount: z.ZodNumber;
|
|
19136
|
+
hiredThisYear: z.ZodNumber;
|
|
19137
|
+
me: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
19138
|
+
joinedAfter: z.ZodNumber;
|
|
19139
|
+
joinedBefore: z.ZodNumber;
|
|
19140
|
+
start: z.ZodString;
|
|
19141
|
+
}, z.core.$strict>]>;
|
|
19142
|
+
tenure: z.ZodArray<z.ZodObject<{
|
|
19143
|
+
label: z.ZodString;
|
|
19144
|
+
value: z.ZodNumber;
|
|
19145
|
+
}, z.core.$strict>>;
|
|
19146
|
+
timezones: z.ZodArray<z.ZodObject<{
|
|
19147
|
+
label: z.ZodString;
|
|
19148
|
+
value: z.ZodNumber;
|
|
19149
|
+
}, z.core.$strict>>;
|
|
19150
|
+
topics: z.ZodArray<z.ZodString>;
|
|
19151
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
19152
|
+
BAD_REQUEST: {
|
|
19153
|
+
message: string;
|
|
19154
|
+
};
|
|
19155
|
+
CONFLICT: {
|
|
19156
|
+
message: string;
|
|
19157
|
+
};
|
|
19158
|
+
FORBIDDEN: {
|
|
19159
|
+
message: string;
|
|
19160
|
+
};
|
|
19161
|
+
NOT_FOUND: {
|
|
19162
|
+
message: string;
|
|
19163
|
+
};
|
|
19164
|
+
PRECONDITION_FAILED: {
|
|
19165
|
+
message: string;
|
|
19166
|
+
};
|
|
19167
|
+
TOO_MANY_REQUESTS: {
|
|
19168
|
+
message: string;
|
|
19169
|
+
};
|
|
19170
|
+
UNAUTHORIZED: {
|
|
19171
|
+
message: string;
|
|
19172
|
+
};
|
|
19173
|
+
}>, {
|
|
19174
|
+
scope: import("./base.ts").Scope | null;
|
|
19175
|
+
} & Record<never, never>>;
|
|
18797
19176
|
managerHistory: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
18798
19177
|
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18799
19178
|
memberId: z.ZodString;
|
|
@@ -19330,6 +19709,7 @@ export declare const contract: {
|
|
|
19330
19709
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19331
19710
|
memberId: z.ZodString;
|
|
19332
19711
|
name: z.ZodString;
|
|
19712
|
+
originalStartDate: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
19333
19713
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19334
19714
|
teamIds: z.ZodArray<z.ZodString>;
|
|
19335
19715
|
timezone: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
@@ -19356,6 +19736,7 @@ export declare const contract: {
|
|
|
19356
19736
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19357
19737
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19358
19738
|
memberId: z.ZodString;
|
|
19739
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19359
19740
|
revision: z.ZodNumber;
|
|
19360
19741
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19361
19742
|
teamId: z.ZodString;
|