@shuffl/api-contracts 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/company.d.ts +235 -0
- package/dist/company.js +177 -0
- package/dist/index.d.ts +662 -47
- package/dist/index.js +1 -0
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +50 -0
- package/dist/management.generated.d.ts +636 -47
- package/dist/management.generated.js +816 -118
- package/dist/permissions.d.ts +16 -0
- package/dist/permissions.js +4 -0
- package/dist/schemas.d.ts +3 -0
- package/dist/schemas.js +19 -1
- package/openapi.json +24285 -17191
- package/package.json +5 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export { adminScopes, type Scope, scopeSchema, scopes } from './base.ts';
|
|
3
|
+
export { type CompanyPermission, type CompanyPermissionDefinition, companyContract, companyIndexOperation, companyKeyPrefix, companyPermissionCatalog, companyPermissionIds, type ShufflCompanyContract, } from './company.ts';
|
|
3
4
|
export { alwaysAllowedPermissions, destructiveOperation, grantedPermissions, type Permission, type PermissionDefinition, permissionById, permissionCatalog, permissionDefinitionSchema, permissionIds, permissionSchema, permitsOperation, protocolPermissionIds, scopesForPermissions, teamSetupPermissions, } from './permissions.ts';
|
|
4
5
|
export declare const citationSchema: z.ZodObject<{
|
|
5
6
|
href: z.ZodString;
|
|
@@ -82,6 +83,7 @@ export declare const programSchema: z.ZodObject<{
|
|
|
82
83
|
name: z.ZodString;
|
|
83
84
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
84
85
|
anchor: z.ZodString;
|
|
86
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
85
87
|
frequency: z.ZodEnum<{
|
|
86
88
|
days: "days";
|
|
87
89
|
hours: "hours";
|
|
@@ -1648,6 +1650,7 @@ export declare const contract: {
|
|
|
1648
1650
|
enabled: z.ZodBoolean;
|
|
1649
1651
|
}, z.core.$strict>;
|
|
1650
1652
|
}, z.core.$strict>;
|
|
1653
|
+
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
1651
1654
|
updatedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
1652
1655
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
1653
1656
|
BAD_REQUEST: {
|
|
@@ -1683,7 +1686,6 @@ export declare const contract: {
|
|
|
1683
1686
|
sendMinute: z.ZodNumber;
|
|
1684
1687
|
template: z.ZodString;
|
|
1685
1688
|
}, z.core.$strict>, z.ZodObject<{
|
|
1686
|
-
fingerprint: z.ZodString;
|
|
1687
1689
|
messages: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1688
1690
|
audience: z.ZodLiteral<"person">;
|
|
1689
1691
|
recipient: z.ZodString;
|
|
@@ -1957,7 +1959,6 @@ export declare const contract: {
|
|
|
1957
1959
|
enabled: z.ZodBoolean;
|
|
1958
1960
|
eventType: z.ZodUnion<readonly [z.ZodLiteral<"anniversary">, z.ZodLiteral<"birthday">]>;
|
|
1959
1961
|
expectedRevision: z.ZodNumber;
|
|
1960
|
-
previewFingerprint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
1961
1962
|
sendHour: z.ZodNumber;
|
|
1962
1963
|
sendMinute: z.ZodNumber;
|
|
1963
1964
|
template: z.ZodString;
|
|
@@ -2008,6 +2009,55 @@ export declare const contract: {
|
|
|
2008
2009
|
}>, {
|
|
2009
2010
|
scope: import("./base.ts").Scope | null;
|
|
2010
2011
|
} & Record<never, never>>;
|
|
2012
|
+
saveAnniversaryDate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2013
|
+
anniversaryDate: z.ZodUnion<readonly [z.ZodLiteral<"latest_hire">, z.ZodLiteral<"original_hire">]>;
|
|
2014
|
+
expectedRevision: z.ZodNumber;
|
|
2015
|
+
confirm: z.ZodLiteral<"celebrations.saveAnniversaryDate">;
|
|
2016
|
+
requestKey: z.ZodString;
|
|
2017
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2018
|
+
receipt: z.ZodObject<{
|
|
2019
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2020
|
+
createdAt: z.ZodISODateTime;
|
|
2021
|
+
id: z.ZodString;
|
|
2022
|
+
operation: z.ZodString;
|
|
2023
|
+
requestKey: z.ZodString;
|
|
2024
|
+
status: z.ZodEnum<{
|
|
2025
|
+
failed: "failed";
|
|
2026
|
+
running: "running";
|
|
2027
|
+
succeeded: "succeeded";
|
|
2028
|
+
unknown: "unknown";
|
|
2029
|
+
}>;
|
|
2030
|
+
}, z.core.$strip>;
|
|
2031
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
2032
|
+
changed: z.ZodBoolean;
|
|
2033
|
+
revision: z.ZodNumber;
|
|
2034
|
+
scheduled: z.ZodNumber;
|
|
2035
|
+
}, z.core.$strict>>;
|
|
2036
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2037
|
+
BAD_REQUEST: {
|
|
2038
|
+
message: string;
|
|
2039
|
+
};
|
|
2040
|
+
CONFLICT: {
|
|
2041
|
+
message: string;
|
|
2042
|
+
};
|
|
2043
|
+
FORBIDDEN: {
|
|
2044
|
+
message: string;
|
|
2045
|
+
};
|
|
2046
|
+
NOT_FOUND: {
|
|
2047
|
+
message: string;
|
|
2048
|
+
};
|
|
2049
|
+
PRECONDITION_FAILED: {
|
|
2050
|
+
message: string;
|
|
2051
|
+
};
|
|
2052
|
+
TOO_MANY_REQUESTS: {
|
|
2053
|
+
message: string;
|
|
2054
|
+
};
|
|
2055
|
+
UNAUTHORIZED: {
|
|
2056
|
+
message: string;
|
|
2057
|
+
};
|
|
2058
|
+
}>, {
|
|
2059
|
+
scope: import("./base.ts").Scope | null;
|
|
2060
|
+
} & Record<never, never>>;
|
|
2011
2061
|
savePreferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
2012
2062
|
anniversaryOptOut: z.ZodBoolean;
|
|
2013
2063
|
anniversaryShare: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
@@ -2175,6 +2225,48 @@ export declare const contract: {
|
|
|
2175
2225
|
}>, {
|
|
2176
2226
|
scope: import("./base.ts").Scope | null;
|
|
2177
2227
|
} & Record<never, never>>;
|
|
2228
|
+
startDates: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
2229
|
+
anniversariesOn: z.ZodBoolean;
|
|
2230
|
+
anniversaryDate: z.ZodUnion<readonly [z.ZodLiteral<"latest_hire">, z.ZodLiteral<"original_hire">]>;
|
|
2231
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
2232
|
+
count: z.ZodNumber;
|
|
2233
|
+
date: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
2234
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"future">, z.ZodLiteral<"long_ago">, z.ZodLiteral<"shared">]>;
|
|
2235
|
+
people: z.ZodArray<z.ZodObject<{
|
|
2236
|
+
id: z.ZodString;
|
|
2237
|
+
name: z.ZodString;
|
|
2238
|
+
startDate: z.ZodString;
|
|
2239
|
+
}, z.core.$strict>>;
|
|
2240
|
+
}, z.core.$strict>>;
|
|
2241
|
+
firstHires: z.ZodNumber;
|
|
2242
|
+
lastCheckedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2243
|
+
nextCheckAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2244
|
+
revision: z.ZodNumber;
|
|
2245
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
2246
|
+
BAD_REQUEST: {
|
|
2247
|
+
message: string;
|
|
2248
|
+
};
|
|
2249
|
+
CONFLICT: {
|
|
2250
|
+
message: string;
|
|
2251
|
+
};
|
|
2252
|
+
FORBIDDEN: {
|
|
2253
|
+
message: string;
|
|
2254
|
+
};
|
|
2255
|
+
NOT_FOUND: {
|
|
2256
|
+
message: string;
|
|
2257
|
+
};
|
|
2258
|
+
PRECONDITION_FAILED: {
|
|
2259
|
+
message: string;
|
|
2260
|
+
};
|
|
2261
|
+
TOO_MANY_REQUESTS: {
|
|
2262
|
+
message: string;
|
|
2263
|
+
};
|
|
2264
|
+
UNAUTHORIZED: {
|
|
2265
|
+
message: string;
|
|
2266
|
+
};
|
|
2267
|
+
}>, {
|
|
2268
|
+
scope: import("./base.ts").Scope | null;
|
|
2269
|
+
} & Record<never, never>>;
|
|
2178
2270
|
};
|
|
2179
2271
|
communities: {
|
|
2180
2272
|
archive: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -2682,6 +2774,7 @@ export declare const contract: {
|
|
|
2682
2774
|
members: z.ZodArray<z.ZodObject<{
|
|
2683
2775
|
canRemove: z.ZodBoolean;
|
|
2684
2776
|
id: z.ZodString;
|
|
2777
|
+
joinedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
2685
2778
|
name: z.ZodString;
|
|
2686
2779
|
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
2687
2780
|
role: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"moderator">, z.ZodLiteral<"owner">]>;
|
|
@@ -3056,7 +3149,7 @@ export declare const contract: {
|
|
|
3056
3149
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
3057
3150
|
acknowledgeExternalAccess: z.ZodLiteral<true>;
|
|
3058
3151
|
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">]>>;
|
|
3152
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.completeTodo">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.audienceOptions">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionAudience">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">]>>;
|
|
3060
3153
|
confirm: z.ZodLiteral<"credentials.api.create">;
|
|
3061
3154
|
requestKey: z.ZodString;
|
|
3062
3155
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3113,7 +3206,7 @@ export declare const contract: {
|
|
|
3113
3206
|
isActive: z.ZodBoolean;
|
|
3114
3207
|
lastUsedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3115
3208
|
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">]>>;
|
|
3209
|
+
permissions: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.completeTodo">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.audienceOptions">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionAudience">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">]>>;
|
|
3117
3210
|
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
3211
|
}, z.core.$strict>>;
|
|
3119
3212
|
permissionCatalog: z.ZodArray<z.ZodObject<{
|
|
@@ -3122,7 +3215,7 @@ export declare const contract: {
|
|
|
3122
3215
|
description: z.ZodString;
|
|
3123
3216
|
grantable: z.ZodBoolean;
|
|
3124
3217
|
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">]>;
|
|
3218
|
+
id: z.ZodUnion<readonly [z.ZodLiteral<"access.enableSlack">, z.ZodLiteral<"access.get">, z.ZodLiteral<"access.save">, z.ZodLiteral<"access.saveRole">, z.ZodLiteral<"access.slackWaiting">, z.ZodLiteral<"assistant.conversations">, z.ZodLiteral<"assistant.delete">, z.ZodLiteral<"assistant.history">, z.ZodLiteral<"assistant.send">, z.ZodLiteral<"assistant.stop">, z.ZodLiteral<"badges.award">, z.ZodLiteral<"badges.claim">, z.ZodLiteral<"badges.decideRequest">, z.ZodLiteral<"badges.generatePicture">, z.ZodLiteral<"badges.hideOwn">, z.ZodLiteral<"badges.holders">, z.ZodLiteral<"badges.list">, z.ZodLiteral<"badges.ofPerson">, z.ZodLiteral<"badges.request">, z.ZodLiteral<"badges.revoke">, z.ZodLiteral<"badges.save">, z.ZodLiteral<"badges.saveSettings">, z.ZodLiteral<"badges.setHidden">, z.ZodLiteral<"badges.settings">, z.ZodLiteral<"badges.uploadPicture">, z.ZodLiteral<"celebrations.card">, z.ZodLiteral<"celebrations.cards">, z.ZodLiteral<"celebrations.deliveries">, z.ZodLiteral<"celebrations.mine">, z.ZodLiteral<"celebrations.preferences">, z.ZodLiteral<"celebrations.preview">, z.ZodLiteral<"celebrations.program">, z.ZodLiteral<"celebrations.refresh">, z.ZodLiteral<"celebrations.removeCardNote">, z.ZodLiteral<"celebrations.review">, z.ZodLiteral<"celebrations.save">, z.ZodLiteral<"celebrations.saveAnniversaryDate">, z.ZodLiteral<"celebrations.savePreferences">, z.ZodLiteral<"celebrations.signCard">, z.ZodLiteral<"celebrations.startDates">, z.ZodLiteral<"channels.list">, z.ZodLiteral<"commands.get">, z.ZodLiteral<"communities.archive">, z.ZodLiteral<"communities.channelSuggestions">, z.ZodLiteral<"communities.createCapabilities">, z.ZodLiteral<"communities.createSlackChannel">, z.ZodLiteral<"communities.fromChannels">, z.ZodLiteral<"communities.generateCover">, z.ZodLiteral<"communities.invite">, z.ZodLiteral<"communities.join">, z.ZodLiteral<"communities.leave">, z.ZodLiteral<"communities.list">, z.ZodLiteral<"communities.members">, z.ZodLiteral<"communities.ofPerson">, z.ZodLiteral<"communities.removeMember">, z.ZodLiteral<"communities.revokeInvitation">, z.ZodLiteral<"communities.save">, z.ZodLiteral<"communities.setVisibility">, z.ZodLiteral<"communities.sync">, z.ZodLiteral<"communities.uploadCover">, z.ZodLiteral<"credentials.api.create">, z.ZodLiteral<"credentials.api.list">, z.ZodLiteral<"credentials.api.revoke">, z.ZodLiteral<"digest.actOnNudge">, z.ZodLiteral<"digest.dismissNudge">, z.ZodLiteral<"digest.nudge">, z.ZodLiteral<"digest.nudges">, z.ZodLiteral<"digest.preview">, z.ZodLiteral<"digest.saveSettings">, z.ZodLiteral<"digest.settings">, z.ZodLiteral<"exports.team">, z.ZodLiteral<"getStarted.celebrate">, z.ZodLiteral<"getStarted.celebration">, z.ZodLiteral<"getStarted.dismiss">, z.ZodLiteral<"getStarted.draftIntro">, z.ZodLiteral<"getStarted.get">, z.ZodLiteral<"getStarted.intro">, z.ZodLiteral<"getStarted.wizard">, z.ZodLiteral<"home.feed">, z.ZodLiteral<"home.places">, z.ZodLiteral<"home.preferences">, z.ZodLiteral<"home.react">, z.ZodLiteral<"home.story">, z.ZodLiteral<"hr.categories">, z.ZodLiteral<"hr.command">, z.ZodLiteral<"hr.configure">, z.ZodLiteral<"hr.deliver">, z.ZodLiteral<"hr.get">, z.ZodLiteral<"hr.list">, z.ZodLiteral<"hr.mine">, z.ZodLiteral<"hr.readiness">, z.ZodLiteral<"hr.rebuildCategories">, z.ZodLiteral<"hr.renameTeam">, z.ZodLiteral<"hr.retryDelivery">, z.ZodLiteral<"hr.saveCategories">, z.ZodLiteral<"hr.settings">, z.ZodLiteral<"hr.share">, z.ZodLiteral<"hr.shareSources">, z.ZodLiteral<"identities.linkSlack">, z.ZodLiteral<"identities.linkWeb">, z.ZodLiteral<"identities.list">, z.ZodLiteral<"identities.slackAccounts">, z.ZodLiteral<"identities.unlink">, z.ZodLiteral<"identities.webAccounts">, z.ZodLiteral<"integrations.authorize">, z.ZodLiteral<"invitations.cancel">, z.ZodLiteral<"invitations.candidates">, z.ZodLiteral<"invitations.create">, z.ZodLiteral<"invitations.createMany">, z.ZodLiteral<"invitations.inviteDirectory">, z.ZodLiteral<"invitations.list">, z.ZodLiteral<"knowledge.connections.browse">, z.ZodLiteral<"knowledge.connections.connect">, z.ZodLiteral<"knowledge.connections.disconnect">, z.ZodLiteral<"knowledge.connections.list">, z.ZodLiteral<"knowledge.connections.request">, z.ZodLiteral<"knowledge.connections.requests">, z.ZodLiteral<"knowledge.context">, z.ZodLiteral<"knowledge.policies.coverage">, z.ZodLiteral<"knowledge.search">, z.ZodLiteral<"knowledge.sources.archive">, z.ZodLiteral<"knowledge.sources.changeAudience">, z.ZodLiteral<"knowledge.sources.get">, z.ZodLiteral<"knowledge.sources.history">, z.ZodLiteral<"knowledge.sources.importConnected">, z.ZodLiteral<"knowledge.sources.importWebsite">, z.ZodLiteral<"knowledge.sources.list">, z.ZodLiteral<"knowledge.sources.publish">, z.ZodLiteral<"knowledge.sources.refresh">, z.ZodLiteral<"knowledge.sources.restore">, z.ZodLiteral<"knowledge.sources.save">, z.ZodLiteral<"knowledge.sources.search">, z.ZodLiteral<"knowledge.sources.withdraw">, z.ZodLiteral<"knowledge.sources.write">, z.ZodLiteral<"knowledge.uploads.appendPart">, z.ZodLiteral<"knowledge.uploads.complete">, z.ZodLiteral<"knowledge.uploads.create">, z.ZodLiteral<"knowledge.uploads.get">, z.ZodLiteral<"knowledge.uploads.retry">, z.ZodLiteral<"manager.current">, z.ZodLiteral<"mcp.knowledge">, z.ZodLiteral<"network.claim">, z.ZodLiteral<"network.mine">, z.ZodLiteral<"network.ofPerson">, z.ZodLiteral<"network.orgChart">, z.ZodLiteral<"notifications.preferences">, z.ZodLiteral<"notifications.save">, z.ZodLiteral<"onboarding.answerBuddyAsk">, z.ZodLiteral<"onboarding.answerCheckIn">, z.ZodLiteral<"onboarding.answerFirstDaysCheckIn">, z.ZodLiteral<"onboarding.approve">, z.ZodLiteral<"onboarding.askBuddy">, z.ZodLiteral<"onboarding.assignBuddy">, z.ZodLiteral<"onboarding.buddySuggestions">, z.ZodLiteral<"onboarding.candidates">, z.ZodLiteral<"onboarding.completeTodo">, z.ZodLiteral<"onboarding.enroll">, z.ZodLiteral<"onboarding.enrollmentPreview">, z.ZodLiteral<"onboarding.firstDaysCheckIns">, z.ZodLiteral<"onboarding.firstDaysResults">, z.ZodLiteral<"onboarding.journey">, z.ZodLiteral<"onboarding.mine">, z.ZodLiteral<"onboarding.person">, z.ZodLiteral<"onboarding.previewEnrollment">, z.ZodLiteral<"onboarding.program">, z.ZodLiteral<"onboarding.remove">, z.ZodLiteral<"onboarding.respondBuddy">, z.ZodLiteral<"onboarding.retry">, z.ZodLiteral<"onboarding.saveProgram">, z.ZodLiteral<"onboarding.update">, z.ZodLiteral<"operations.activity">, z.ZodLiteral<"operations.dispatchInbox">, z.ZodLiteral<"operations.reconcile">, z.ZodLiteral<"operations.status">, z.ZodLiteral<"permissions.list">, z.ZodLiteral<"praise.addChannel">, z.ZodLiteral<"praise.composer">, z.ZodLiteral<"praise.feed">, z.ZodLiteral<"praise.insights">, z.ZodLiteral<"praise.mine">, z.ZodLiteral<"praise.ofPerson">, z.ZodLiteral<"praise.removeChannel">, z.ZodLiteral<"praise.saveSettings">, z.ZodLiteral<"praise.send">, z.ZodLiteral<"praise.setDigest">, z.ZodLiteral<"praise.setHidden">, z.ZodLiteral<"praise.settings">, z.ZodLiteral<"profiles.cover.delete">, z.ZodLiteral<"profiles.draft">, z.ZodLiteral<"profiles.employeeNumber">, z.ZodLiteral<"profiles.get">, z.ZodLiteral<"profiles.photo.delete">, z.ZodLiteral<"profiles.positions.delete">, z.ZodLiteral<"profiles.positions.save">, z.ZodLiteral<"profiles.save">, z.ZodLiteral<"profiles.settings">, z.ZodLiteral<"profiles.whoKnows">, z.ZodLiteral<"programs.archive">, z.ZodLiteral<"programs.create">, z.ZodLiteral<"programs.get">, z.ZodLiteral<"programs.joinChannel">, z.ZodLiteral<"programs.list">, z.ZodLiteral<"programs.options">, z.ZodLiteral<"programs.pause">, z.ZodLiteral<"programs.people">, z.ZodLiteral<"programs.preview">, z.ZodLiteral<"programs.resume">, z.ZodLiteral<"programs.schedulePreview">, z.ZodLiteral<"programs.syncRoster">, z.ZodLiteral<"programs.update">, z.ZodLiteral<"pulse.actions">, z.ZodLiteral<"pulse.addQuestion">, z.ZodLiteral<"pulse.addTemplate">, z.ZodLiteral<"pulse.answer">, z.ZodLiteral<"pulse.asked">, z.ZodLiteral<"pulse.audienceOptions">, z.ZodLiteral<"pulse.createAction">, z.ZodLiteral<"pulse.decideProposal">, z.ZodLiteral<"pulse.editProposal">, z.ZodLiteral<"pulse.insights">, z.ZodLiteral<"pulse.latestRead">, z.ZodLiteral<"pulse.mine">, z.ZodLiteral<"pulse.program">, z.ZodLiteral<"pulse.proposals">, z.ZodLiteral<"pulse.proposeQuestions">, z.ZodLiteral<"pulse.questionDetail">, z.ZodLiteral<"pulse.questions">, z.ZodLiteral<"pulse.requestProposals">, z.ZodLiteral<"pulse.saveProgram">, z.ZodLiteral<"pulse.setQuestionAudience">, z.ZodLiteral<"pulse.setQuestionStatus">, z.ZodLiteral<"pulse.skip">, z.ZodLiteral<"pulse.today">, z.ZodLiteral<"pulse.updateAction">, z.ZodLiteral<"reminders.mine">, z.ZodLiteral<"reminders.saveMine">, z.ZodLiteral<"reminders.saveSetting">, z.ZodLiteral<"reminders.settings">, z.ZodLiteral<"reports.answerFeedback">, z.ZodLiteral<"reports.connections">, z.ZodLiteral<"reports.knowledge">, z.ZodLiteral<"reports.knowledgeSource">, z.ZodLiteral<"reports.melloTrial">, z.ZodLiteral<"reports.melloValue">, z.ZodLiteral<"reports.needsYou">, z.ZodLiteral<"reports.onboarding">, z.ZodLiteral<"reports.overview">, z.ZodLiteral<"reports.people">, z.ZodLiteral<"runs.details">, z.ZodLiteral<"runs.dispatch">, z.ZodLiteral<"runs.get">, z.ZodLiteral<"runs.history.get">, z.ZodLiteral<"runs.history.list">, z.ZodLiteral<"runs.list">, z.ZodLiteral<"runs.request">, z.ZodLiteral<"runs.retry">, z.ZodLiteral<"runs.stopKnownFailures">, z.ZodLiteral<"support.assign">, z.ZodLiteral<"support.close">, z.ZodLiteral<"support.create">, z.ZodLiteral<"support.get">, z.ZodLiteral<"support.list">, z.ZodLiteral<"support.reply">, z.ZodLiteral<"sync.connect">, z.ZodLiteral<"sync.current">, z.ZodLiteral<"sync.disconnect">, z.ZodLiteral<"sync.request">, z.ZodLiteral<"sync.run">, z.ZodLiteral<"team.answerMinutes">, z.ZodLiteral<"team.dismissLaunchPost">, z.ZodLiteral<"team.launchPost">, z.ZodLiteral<"teams.connectionPermissions">, z.ZodLiteral<"teams.current">, z.ZodLiteral<"teams.discardPairHistory">, z.ZodLiteral<"teams.initialize">, z.ZodLiteral<"teams.moveSlackChannels">, z.ZodLiteral<"teams.rename">, z.ZodLiteral<"teams.resendSlackWelcome">, z.ZodLiteral<"teams.saveAgentSetup">, z.ZodLiteral<"teams.saveSlackJoinAccess">, z.ZodLiteral<"teams.saveSlackProfileLink">, z.ZodLiteral<"teams.setup">, z.ZodLiteral<"teams.slackChannels">, z.ZodLiteral<"teams.slackConnection">, z.ZodLiteral<"teams.slackJoinAccess">, z.ZodLiteral<"teams.slackProfileLink">, z.ZodLiteral<"teams.status">, z.ZodLiteral<"teams.syncSlackProfileLinks">, z.ZodLiteral<"teams.uploadPairHistory">, z.ZodLiteral<"timeOff.balances">, z.ZodLiteral<"units.archive">, z.ZodLiteral<"units.list">, z.ZodLiteral<"units.save">, z.ZodLiteral<"users.activity">, z.ZodLiteral<"users.assignManagers">, z.ZodLiteral<"users.blockPair">, z.ZodLiteral<"users.blockedPairs">, z.ZodLiteral<"users.details">, z.ZodLiteral<"users.filterOptions">, z.ZodLiteral<"users.get">, z.ZodLiteral<"users.glance">, z.ZodLiteral<"users.list">, z.ZodLiteral<"users.managerHistory">, z.ZodLiteral<"users.managers">, z.ZodLiteral<"users.page">, z.ZodLiteral<"users.participants">, z.ZodLiteral<"users.participation">, z.ZodLiteral<"users.profile">, z.ZodLiteral<"users.proposeReportingLines">, z.ZodLiteral<"users.reportingLineProposal">, z.ZodLiteral<"users.reviewReportingLines">, z.ZodLiteral<"users.save">]>;
|
|
3126
3219
|
resource: z.ZodString;
|
|
3127
3220
|
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
3221
|
}, z.core.$strict>>;
|
|
@@ -3432,6 +3525,11 @@ export declare const contract: {
|
|
|
3432
3525
|
path: z.ZodString;
|
|
3433
3526
|
}, z.core.$strict>;
|
|
3434
3527
|
note: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3528
|
+
ratio: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3529
|
+
label: z.ZodString;
|
|
3530
|
+
part: z.ZodNumber;
|
|
3531
|
+
whole: z.ZodNumber;
|
|
3532
|
+
}, z.core.$strict>>>;
|
|
3435
3533
|
stats: z.ZodArray<z.ZodObject<{
|
|
3436
3534
|
label: z.ZodString;
|
|
3437
3535
|
value: z.ZodString;
|
|
@@ -3445,6 +3543,7 @@ export declare const contract: {
|
|
|
3445
3543
|
message: z.ZodString;
|
|
3446
3544
|
path: z.ZodString;
|
|
3447
3545
|
}, z.core.$strict>]>;
|
|
3546
|
+
trend: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
3448
3547
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
3449
3548
|
BAD_REQUEST: {
|
|
3450
3549
|
message: string;
|
|
@@ -3765,6 +3864,7 @@ export declare const contract: {
|
|
|
3765
3864
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3766
3865
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3767
3866
|
memberId: z.ZodString;
|
|
3867
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3768
3868
|
revision: z.ZodNumber;
|
|
3769
3869
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3770
3870
|
teamId: z.ZodString;
|
|
@@ -3822,12 +3922,40 @@ export declare const contract: {
|
|
|
3822
3922
|
introductionOffsetDays: z.ZodNumber;
|
|
3823
3923
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3824
3924
|
sendTime: z.ZodString;
|
|
3925
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3926
|
+
body: z.ZodString;
|
|
3927
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
3928
|
+
id: z.ZodString;
|
|
3929
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
3930
|
+
offsetDays: z.ZodNumber;
|
|
3931
|
+
personId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
3932
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
3933
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3934
|
+
sourceId: z.ZodString;
|
|
3935
|
+
title: z.ZodString;
|
|
3936
|
+
type: z.ZodLiteral<"knowledge">;
|
|
3937
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3938
|
+
label: z.ZodString;
|
|
3939
|
+
type: z.ZodLiteral<"link">;
|
|
3940
|
+
url: z.ZodString;
|
|
3941
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3942
|
+
communityId: z.ZodString;
|
|
3943
|
+
name: z.ZodString;
|
|
3944
|
+
type: z.ZodLiteral<"community">;
|
|
3945
|
+
}, z.core.$strict>]>>;
|
|
3946
|
+
title: z.ZodString;
|
|
3947
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
3948
|
+
id: z.ZodString;
|
|
3949
|
+
label: z.ZodString;
|
|
3950
|
+
}, z.core.$strict>>;
|
|
3951
|
+
}, z.core.$strict>>>>;
|
|
3825
3952
|
timezone: z.ZodString;
|
|
3826
3953
|
}, z.core.$strict>]>;
|
|
3827
3954
|
revision: z.ZodNumber;
|
|
3828
3955
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
3829
3956
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
3830
3957
|
anchor: z.ZodString;
|
|
3958
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
3831
3959
|
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
3960
|
interval: z.ZodNumber;
|
|
3833
3961
|
timezone: z.ZodString;
|
|
@@ -4478,6 +4606,36 @@ export declare const contract: {
|
|
|
4478
4606
|
}>, {
|
|
4479
4607
|
scope: import("./base.ts").Scope | null;
|
|
4480
4608
|
} & Record<never, never>>;
|
|
4609
|
+
places: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
4610
|
+
places: z.ZodArray<z.ZodObject<{
|
|
4611
|
+
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">]>;
|
|
4612
|
+
waiting: z.ZodBoolean;
|
|
4613
|
+
}, z.core.$strict>>;
|
|
4614
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
4615
|
+
BAD_REQUEST: {
|
|
4616
|
+
message: string;
|
|
4617
|
+
};
|
|
4618
|
+
CONFLICT: {
|
|
4619
|
+
message: string;
|
|
4620
|
+
};
|
|
4621
|
+
FORBIDDEN: {
|
|
4622
|
+
message: string;
|
|
4623
|
+
};
|
|
4624
|
+
NOT_FOUND: {
|
|
4625
|
+
message: string;
|
|
4626
|
+
};
|
|
4627
|
+
PRECONDITION_FAILED: {
|
|
4628
|
+
message: string;
|
|
4629
|
+
};
|
|
4630
|
+
TOO_MANY_REQUESTS: {
|
|
4631
|
+
message: string;
|
|
4632
|
+
};
|
|
4633
|
+
UNAUTHORIZED: {
|
|
4634
|
+
message: string;
|
|
4635
|
+
};
|
|
4636
|
+
}>, {
|
|
4637
|
+
scope: import("./base.ts").Scope | null;
|
|
4638
|
+
} & Record<never, never>>;
|
|
4481
4639
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4482
4640
|
autoplay: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
4483
4641
|
forYou: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>>;
|
|
@@ -4971,6 +5129,42 @@ export declare const contract: {
|
|
|
4971
5129
|
}>, {
|
|
4972
5130
|
scope: import("./base.ts").Scope | null;
|
|
4973
5131
|
} & Record<never, never>>;
|
|
5132
|
+
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodArray<z.ZodObject<{
|
|
5133
|
+
createdAt: z.ZodISODateTime;
|
|
5134
|
+
destinationName: z.ZodString;
|
|
5135
|
+
id: z.ZodString;
|
|
5136
|
+
latestReply: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5137
|
+
body: z.ZodString;
|
|
5138
|
+
createdAt: z.ZodISODateTime;
|
|
5139
|
+
}, z.core.$strict>]>;
|
|
5140
|
+
sharedText: z.ZodString;
|
|
5141
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodLiteral<"resolved">, z.ZodLiteral<"waiting_on_employee">, z.ZodLiteral<"waiting_on_hr">]>;
|
|
5142
|
+
updatedAt: z.ZodISODateTime;
|
|
5143
|
+
}, z.core.$strict>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
5144
|
+
BAD_REQUEST: {
|
|
5145
|
+
message: string;
|
|
5146
|
+
};
|
|
5147
|
+
CONFLICT: {
|
|
5148
|
+
message: string;
|
|
5149
|
+
};
|
|
5150
|
+
FORBIDDEN: {
|
|
5151
|
+
message: string;
|
|
5152
|
+
};
|
|
5153
|
+
NOT_FOUND: {
|
|
5154
|
+
message: string;
|
|
5155
|
+
};
|
|
5156
|
+
PRECONDITION_FAILED: {
|
|
5157
|
+
message: string;
|
|
5158
|
+
};
|
|
5159
|
+
TOO_MANY_REQUESTS: {
|
|
5160
|
+
message: string;
|
|
5161
|
+
};
|
|
5162
|
+
UNAUTHORIZED: {
|
|
5163
|
+
message: string;
|
|
5164
|
+
};
|
|
5165
|
+
}>, {
|
|
5166
|
+
scope: import("./base.ts").Scope | null;
|
|
5167
|
+
} & Record<never, never>>;
|
|
4974
5168
|
readiness: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
4975
5169
|
ready: z.ZodBoolean;
|
|
4976
5170
|
reason: z.ZodLiteral<"no_destination">;
|
|
@@ -6190,13 +6384,13 @@ export declare const contract: {
|
|
|
6190
6384
|
preferences: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
6191
6385
|
groups: z.ZodArray<z.ZodObject<{
|
|
6192
6386
|
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">]>>;
|
|
6387
|
+
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
6388
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
6195
6389
|
}, z.core.$strict>>;
|
|
6196
6390
|
preferences: z.ZodArray<z.ZodObject<{
|
|
6197
6391
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
6198
6392
|
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">]>;
|
|
6393
|
+
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
6394
|
slack: z.ZodBoolean;
|
|
6201
6395
|
teams: z.ZodBoolean;
|
|
6202
6396
|
}, z.core.$strict>>;
|
|
@@ -6229,7 +6423,7 @@ export declare const contract: {
|
|
|
6229
6423
|
save: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6230
6424
|
channel: z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>;
|
|
6231
6425
|
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">]>;
|
|
6426
|
+
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
6427
|
requestKey: z.ZodString;
|
|
6234
6428
|
}, z.core.$strict>, z.ZodObject<{
|
|
6235
6429
|
receipt: z.ZodObject<{
|
|
@@ -6248,13 +6442,13 @@ export declare const contract: {
|
|
|
6248
6442
|
result: z.ZodNullable<z.ZodObject<{
|
|
6249
6443
|
groups: z.ZodArray<z.ZodObject<{
|
|
6250
6444
|
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">]>>;
|
|
6445
|
+
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
6446
|
title: z.ZodUnion<readonly [z.ZodLiteral<"From Shuffl">, z.ZodLiteral<"Programs">, z.ZodLiteral<"Requests and support">]>;
|
|
6253
6447
|
}, z.core.$strict>>;
|
|
6254
6448
|
preferences: z.ZodArray<z.ZodObject<{
|
|
6255
6449
|
channels: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"email">, z.ZodLiteral<"slack">, z.ZodLiteral<"teams">]>>;
|
|
6256
6450
|
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">]>;
|
|
6451
|
+
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
6452
|
slack: z.ZodBoolean;
|
|
6259
6453
|
teams: z.ZodBoolean;
|
|
6260
6454
|
}, z.core.$strict>>;
|
|
@@ -6681,6 +6875,54 @@ export declare const contract: {
|
|
|
6681
6875
|
}>, {
|
|
6682
6876
|
scope: import("./base.ts").Scope | null;
|
|
6683
6877
|
} & Record<never, never>>;
|
|
6878
|
+
completeTodo: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6879
|
+
done: z.ZodBoolean;
|
|
6880
|
+
todoId: z.ZodString;
|
|
6881
|
+
confirm: z.ZodLiteral<"onboarding.completeTodo">;
|
|
6882
|
+
requestKey: z.ZodString;
|
|
6883
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6884
|
+
receipt: z.ZodObject<{
|
|
6885
|
+
completedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
6886
|
+
createdAt: z.ZodISODateTime;
|
|
6887
|
+
id: z.ZodString;
|
|
6888
|
+
operation: z.ZodString;
|
|
6889
|
+
requestKey: z.ZodString;
|
|
6890
|
+
status: z.ZodEnum<{
|
|
6891
|
+
failed: "failed";
|
|
6892
|
+
running: "running";
|
|
6893
|
+
succeeded: "succeeded";
|
|
6894
|
+
unknown: "unknown";
|
|
6895
|
+
}>;
|
|
6896
|
+
}, z.core.$strip>;
|
|
6897
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
6898
|
+
changed: z.ZodBoolean;
|
|
6899
|
+
done: z.ZodBoolean;
|
|
6900
|
+
}, z.core.$strict>>;
|
|
6901
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
6902
|
+
BAD_REQUEST: {
|
|
6903
|
+
message: string;
|
|
6904
|
+
};
|
|
6905
|
+
CONFLICT: {
|
|
6906
|
+
message: string;
|
|
6907
|
+
};
|
|
6908
|
+
FORBIDDEN: {
|
|
6909
|
+
message: string;
|
|
6910
|
+
};
|
|
6911
|
+
NOT_FOUND: {
|
|
6912
|
+
message: string;
|
|
6913
|
+
};
|
|
6914
|
+
PRECONDITION_FAILED: {
|
|
6915
|
+
message: string;
|
|
6916
|
+
};
|
|
6917
|
+
TOO_MANY_REQUESTS: {
|
|
6918
|
+
message: string;
|
|
6919
|
+
};
|
|
6920
|
+
UNAUTHORIZED: {
|
|
6921
|
+
message: string;
|
|
6922
|
+
};
|
|
6923
|
+
}>, {
|
|
6924
|
+
scope: import("./base.ts").Scope | null;
|
|
6925
|
+
} & Record<never, never>>;
|
|
6684
6926
|
enroll: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
6685
6927
|
fingerprint: z.ZodString;
|
|
6686
6928
|
programId: z.ZodString;
|
|
@@ -6750,11 +6992,16 @@ export declare const contract: {
|
|
|
6750
6992
|
revision: z.ZodNumber;
|
|
6751
6993
|
steps: z.ZodArray<z.ZodObject<{
|
|
6752
6994
|
dueAt: z.ZodISODateTime;
|
|
6753
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"buddy_invitation">, z.ZodLiteral<"check_in">, z.ZodLiteral<"introduction">]>;
|
|
6995
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"buddy_invitation">, z.ZodLiteral<"check_in">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"introduction">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
6754
6996
|
offsetDays: z.ZodNumber;
|
|
6755
6997
|
pending: z.ZodBoolean;
|
|
6756
6998
|
preview: z.ZodString;
|
|
6999
|
+
recipient: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
7000
|
+
recipientName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7001
|
+
ref: z.ZodString;
|
|
6757
7002
|
status: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"accepted">, z.ZodLiteral<"answered">, z.ZodLiteral<"canceled">, z.ZodLiteral<"declined">, z.ZodLiteral<"failed">, z.ZodLiteral<"needs_review">, z.ZodLiteral<"opened">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"sent">, z.ZodLiteral<"unknown">, z.ZodLiteral<"waiting">]>;
|
|
7003
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7004
|
+
todos: z.ZodArray<z.ZodString>;
|
|
6758
7005
|
}, z.core.$strict>>;
|
|
6759
7006
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
6760
7007
|
BAD_REQUEST: {
|
|
@@ -6842,10 +7089,6 @@ export declare const contract: {
|
|
|
6842
7089
|
sent: z.ZodNumber;
|
|
6843
7090
|
}, z.core.$strict>>;
|
|
6844
7091
|
floor: z.ZodNumber;
|
|
6845
|
-
manager: z.ZodObject<{
|
|
6846
|
-
booked: z.ZodNumber;
|
|
6847
|
-
sent: z.ZodNumber;
|
|
6848
|
-
}, z.core.$strict>;
|
|
6849
7092
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
6850
7093
|
BAD_REQUEST: {
|
|
6851
7094
|
message: string;
|
|
@@ -6871,6 +7114,111 @@ export declare const contract: {
|
|
|
6871
7114
|
}>, {
|
|
6872
7115
|
scope: import("./base.ts").Scope | null;
|
|
6873
7116
|
} & Record<never, never>>;
|
|
7117
|
+
journey: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7118
|
+
buddy: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7119
|
+
email: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7120
|
+
id: z.ZodString;
|
|
7121
|
+
name: z.ZodString;
|
|
7122
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7123
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7124
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7125
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7126
|
+
}, z.core.$strict>]>;
|
|
7127
|
+
checkpoints: z.ZodArray<z.ZodObject<{
|
|
7128
|
+
checkpoint: z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>;
|
|
7129
|
+
closesAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
7130
|
+
date: z.ZodString;
|
|
7131
|
+
day: z.ZodNumber;
|
|
7132
|
+
label: z.ZodString;
|
|
7133
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"answered">, z.ZodLiteral<"closed">, z.ZodLiteral<"due">, z.ZodLiteral<"open">, z.ZodLiteral<"skipped">, z.ZodLiteral<"upcoming">]>;
|
|
7134
|
+
title: z.ZodString;
|
|
7135
|
+
}, z.core.$strict>>;
|
|
7136
|
+
day: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
7137
|
+
enrolled: z.ZodBoolean;
|
|
7138
|
+
gettingReady: z.ZodArray<z.ZodObject<{
|
|
7139
|
+
done: z.ZodBoolean;
|
|
7140
|
+
due: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7141
|
+
id: z.ZodString;
|
|
7142
|
+
label: z.ZodString;
|
|
7143
|
+
owner: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7144
|
+
id: z.ZodString;
|
|
7145
|
+
name: z.ZodString;
|
|
7146
|
+
}, z.core.$strict>]>;
|
|
7147
|
+
}, z.core.$strict>>;
|
|
7148
|
+
manager: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7149
|
+
email: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7150
|
+
id: z.ZodString;
|
|
7151
|
+
name: z.ZodString;
|
|
7152
|
+
photoUrl: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7153
|
+
slackUserId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7154
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7155
|
+
userId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7156
|
+
}, z.core.$strict>]>;
|
|
7157
|
+
programName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7158
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7159
|
+
day: z.ZodNumber;
|
|
7160
|
+
sourceId: z.ZodString;
|
|
7161
|
+
title: z.ZodString;
|
|
7162
|
+
type: z.ZodLiteral<"knowledge">;
|
|
7163
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7164
|
+
day: z.ZodNumber;
|
|
7165
|
+
label: z.ZodString;
|
|
7166
|
+
type: z.ZodLiteral<"link">;
|
|
7167
|
+
url: z.ZodString;
|
|
7168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7169
|
+
communityId: z.ZodString;
|
|
7170
|
+
day: z.ZodNumber;
|
|
7171
|
+
name: z.ZodString;
|
|
7172
|
+
type: z.ZodLiteral<"community">;
|
|
7173
|
+
}, z.core.$strict>]>>;
|
|
7174
|
+
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7175
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
7176
|
+
answer: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<"all_good">, z.ZodLiteral<"need_help">]>;
|
|
7177
|
+
date: z.ZodString;
|
|
7178
|
+
day: z.ZodNumber;
|
|
7179
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"check_in">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"introduction">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
7180
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"done">, z.ZodLiteral<"planned">, z.ZodLiteral<"stopped">]>;
|
|
7181
|
+
status: z.ZodString;
|
|
7182
|
+
stepId: z.ZodString;
|
|
7183
|
+
stepKey: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7184
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7185
|
+
}, z.core.$strict>>;
|
|
7186
|
+
today: z.ZodString;
|
|
7187
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
7188
|
+
done: z.ZodBoolean;
|
|
7189
|
+
due: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7190
|
+
id: z.ZodString;
|
|
7191
|
+
label: z.ZodString;
|
|
7192
|
+
owner: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7193
|
+
id: z.ZodString;
|
|
7194
|
+
name: z.ZodString;
|
|
7195
|
+
}, z.core.$strict>]>;
|
|
7196
|
+
}, z.core.$strict>>;
|
|
7197
|
+
}, z.core.$strict>]>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
7198
|
+
BAD_REQUEST: {
|
|
7199
|
+
message: string;
|
|
7200
|
+
};
|
|
7201
|
+
CONFLICT: {
|
|
7202
|
+
message: string;
|
|
7203
|
+
};
|
|
7204
|
+
FORBIDDEN: {
|
|
7205
|
+
message: string;
|
|
7206
|
+
};
|
|
7207
|
+
NOT_FOUND: {
|
|
7208
|
+
message: string;
|
|
7209
|
+
};
|
|
7210
|
+
PRECONDITION_FAILED: {
|
|
7211
|
+
message: string;
|
|
7212
|
+
};
|
|
7213
|
+
TOO_MANY_REQUESTS: {
|
|
7214
|
+
message: string;
|
|
7215
|
+
};
|
|
7216
|
+
UNAUTHORIZED: {
|
|
7217
|
+
message: string;
|
|
7218
|
+
};
|
|
7219
|
+
}>, {
|
|
7220
|
+
scope: import("./base.ts").Scope | null;
|
|
7221
|
+
} & Record<never, never>>;
|
|
6874
7222
|
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
6875
7223
|
buddyAsks: z.ZodArray<z.ZodNever>;
|
|
6876
7224
|
buddyName: z.ZodNull;
|
|
@@ -7064,6 +7412,33 @@ export declare const contract: {
|
|
|
7064
7412
|
introductionOffsetDays: z.ZodNumber;
|
|
7065
7413
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7066
7414
|
sendTime: z.ZodString;
|
|
7415
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7416
|
+
body: z.ZodString;
|
|
7417
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
7418
|
+
id: z.ZodString;
|
|
7419
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
7420
|
+
offsetDays: z.ZodNumber;
|
|
7421
|
+
personId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7422
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
7423
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7424
|
+
sourceId: z.ZodString;
|
|
7425
|
+
title: z.ZodString;
|
|
7426
|
+
type: z.ZodLiteral<"knowledge">;
|
|
7427
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7428
|
+
label: z.ZodString;
|
|
7429
|
+
type: z.ZodLiteral<"link">;
|
|
7430
|
+
url: z.ZodString;
|
|
7431
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7432
|
+
communityId: z.ZodString;
|
|
7433
|
+
name: z.ZodString;
|
|
7434
|
+
type: z.ZodLiteral<"community">;
|
|
7435
|
+
}, z.core.$strict>]>>;
|
|
7436
|
+
title: z.ZodString;
|
|
7437
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
7438
|
+
id: z.ZodString;
|
|
7439
|
+
label: z.ZodString;
|
|
7440
|
+
}, z.core.$strict>>;
|
|
7441
|
+
}, z.core.$strict>>>>;
|
|
7067
7442
|
timezone: z.ZodString;
|
|
7068
7443
|
}, z.core.$strict>;
|
|
7069
7444
|
intro: z.ZodString;
|
|
@@ -7113,13 +7488,16 @@ export declare const contract: {
|
|
|
7113
7488
|
status: z.ZodString;
|
|
7114
7489
|
}, z.core.$strict>]>;
|
|
7115
7490
|
id: z.ZodString;
|
|
7116
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"buddy_invitation">, z.ZodLiteral<"check_in">, z.ZodLiteral<"follow_up">, z.ZodLiteral<"introduction">]>;
|
|
7491
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"buddy_invitation">, z.ZodLiteral<"check_in">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"follow_up">, z.ZodLiteral<"form">, z.ZodLiteral<"introduction">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
7117
7492
|
offsetDays: z.ZodNumber;
|
|
7118
7493
|
sentAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
7119
7494
|
status: z.ZodUnion<readonly [z.ZodLiteral<"accepted">, z.ZodLiteral<"answered">, z.ZodLiteral<"canceled">, z.ZodLiteral<"declined">, z.ZodLiteral<"failed">, z.ZodLiteral<"needs_review">, z.ZodLiteral<"opened">, z.ZodLiteral<"scheduled">, z.ZodLiteral<"sent">, z.ZodLiteral<"unknown">, z.ZodLiteral<"waiting">]>;
|
|
7495
|
+
stepKey: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7496
|
+
title: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7120
7497
|
}, z.core.$strict>>;
|
|
7121
7498
|
timezone: z.ZodString;
|
|
7122
7499
|
}, z.core.$strict>>;
|
|
7500
|
+
stepPeople: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7123
7501
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
7124
7502
|
BAD_REQUEST: {
|
|
7125
7503
|
message: string;
|
|
@@ -7297,6 +7675,33 @@ export declare const contract: {
|
|
|
7297
7675
|
introductionOffsetDays: z.ZodNumber;
|
|
7298
7676
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7299
7677
|
sendTime: z.ZodString;
|
|
7678
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7679
|
+
body: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7680
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
7681
|
+
id: z.ZodString;
|
|
7682
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"checkpoint">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
7683
|
+
offsetDays: z.ZodNumber;
|
|
7684
|
+
personId: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
7685
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
7686
|
+
resources: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7687
|
+
sourceId: z.ZodString;
|
|
7688
|
+
title: z.ZodString;
|
|
7689
|
+
type: z.ZodLiteral<"knowledge">;
|
|
7690
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7691
|
+
label: z.ZodString;
|
|
7692
|
+
type: z.ZodLiteral<"link">;
|
|
7693
|
+
url: z.ZodString;
|
|
7694
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7695
|
+
communityId: z.ZodString;
|
|
7696
|
+
name: z.ZodString;
|
|
7697
|
+
type: z.ZodLiteral<"community">;
|
|
7698
|
+
}, z.core.$strict>]>>>>;
|
|
7699
|
+
title: z.ZodString;
|
|
7700
|
+
todos: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7701
|
+
id: z.ZodString;
|
|
7702
|
+
label: z.ZodString;
|
|
7703
|
+
}, z.core.$strict>>>>;
|
|
7704
|
+
}, z.core.$strict>>>>;
|
|
7300
7705
|
timezone: z.ZodString;
|
|
7301
7706
|
}, z.core.$strict>;
|
|
7302
7707
|
}, z.core.$strict>;
|
|
@@ -7354,12 +7759,40 @@ export declare const contract: {
|
|
|
7354
7759
|
introductionOffsetDays: z.ZodNumber;
|
|
7355
7760
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7356
7761
|
sendTime: z.ZodString;
|
|
7762
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7763
|
+
body: z.ZodString;
|
|
7764
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
7765
|
+
id: z.ZodString;
|
|
7766
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
7767
|
+
offsetDays: z.ZodNumber;
|
|
7768
|
+
personId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7769
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
7770
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
7771
|
+
sourceId: z.ZodString;
|
|
7772
|
+
title: z.ZodString;
|
|
7773
|
+
type: z.ZodLiteral<"knowledge">;
|
|
7774
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7775
|
+
label: z.ZodString;
|
|
7776
|
+
type: z.ZodLiteral<"link">;
|
|
7777
|
+
url: z.ZodString;
|
|
7778
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7779
|
+
communityId: z.ZodString;
|
|
7780
|
+
name: z.ZodString;
|
|
7781
|
+
type: z.ZodLiteral<"community">;
|
|
7782
|
+
}, z.core.$strict>]>>;
|
|
7783
|
+
title: z.ZodString;
|
|
7784
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
7785
|
+
id: z.ZodString;
|
|
7786
|
+
label: z.ZodString;
|
|
7787
|
+
}, z.core.$strict>>;
|
|
7788
|
+
}, z.core.$strict>>>>;
|
|
7357
7789
|
timezone: z.ZodString;
|
|
7358
7790
|
}, z.core.$strict>]>;
|
|
7359
7791
|
revision: z.ZodNumber;
|
|
7360
7792
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
7361
7793
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
7362
7794
|
anchor: z.ZodString;
|
|
7795
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
7363
7796
|
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
7797
|
interval: z.ZodNumber;
|
|
7365
7798
|
timezone: z.ZodString;
|
|
@@ -7490,6 +7923,7 @@ export declare const contract: {
|
|
|
7490
7923
|
entityId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7491
7924
|
entityName: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
7492
7925
|
id: z.ZodString;
|
|
7926
|
+
summary: z.ZodString;
|
|
7493
7927
|
teamId: z.ZodString;
|
|
7494
7928
|
}, z.core.$strict>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
7495
7929
|
BAD_REQUEST: {
|
|
@@ -7831,6 +8265,8 @@ export declare const contract: {
|
|
|
7831
8265
|
}, z.core.$strict>>;
|
|
7832
8266
|
weeks: z.ZodArray<z.ZodObject<{
|
|
7833
8267
|
count: z.ZodNumber;
|
|
8268
|
+
givers: z.ZodNumber;
|
|
8269
|
+
recognized: z.ZodNumber;
|
|
7834
8270
|
week: z.ZodString;
|
|
7835
8271
|
}, z.core.$strict>>;
|
|
7836
8272
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -8092,7 +8528,7 @@ export declare const contract: {
|
|
|
8092
8528
|
send: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
8093
8529
|
channelId: z.ZodString;
|
|
8094
8530
|
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">]>>>;
|
|
8531
|
+
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
8532
|
recipientIds: z.ZodArray<z.ZodString>;
|
|
8097
8533
|
text: z.ZodString;
|
|
8098
8534
|
values: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -8258,6 +8694,10 @@ export declare const contract: {
|
|
|
8258
8694
|
reactionReadScope: z.ZodBoolean;
|
|
8259
8695
|
reactionScope: z.ZodBoolean;
|
|
8260
8696
|
revision: z.ZodNumber;
|
|
8697
|
+
slack: z.ZodObject<{
|
|
8698
|
+
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">]>;
|
|
8699
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
8700
|
+
}, z.core.$strict>;
|
|
8261
8701
|
status: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"on">]>;
|
|
8262
8702
|
valuesPages: z.ZodArray<z.ZodObject<{
|
|
8263
8703
|
id: z.ZodString;
|
|
@@ -8831,6 +9271,7 @@ export declare const contract: {
|
|
|
8831
9271
|
scope: import("./base.ts").Scope | null;
|
|
8832
9272
|
} & Record<never, never>>;
|
|
8833
9273
|
whoKnows: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
9274
|
+
from: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"command_palette">, z.ZodLiteral<"people_page">]>>>;
|
|
8834
9275
|
limit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
8835
9276
|
personIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
8836
9277
|
topic: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -9773,6 +10214,10 @@ export declare const contract: {
|
|
|
9773
10214
|
tone: z.ZodUnion<readonly [z.ZodLiteral<"down">, z.ZodLiteral<"steady">, z.ZodLiteral<"up">, z.ZodLiteral<"watch">]>;
|
|
9774
10215
|
}, z.core.$strict>>;
|
|
9775
10216
|
floorMet: z.ZodBoolean;
|
|
10217
|
+
groups: z.ZodArray<z.ZodObject<{
|
|
10218
|
+
label: z.ZodString;
|
|
10219
|
+
value: z.ZodNumber;
|
|
10220
|
+
}, z.core.$strict>>;
|
|
9776
10221
|
invited: z.ZodNumber;
|
|
9777
10222
|
participationPct: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
9778
10223
|
questionText: z.ZodString;
|
|
@@ -9891,8 +10336,12 @@ export declare const contract: {
|
|
|
9891
10336
|
openHours: z.ZodNumber;
|
|
9892
10337
|
reportingFloor: z.ZodNumber;
|
|
9893
10338
|
sendDays: z.ZodArray<z.ZodNumber>;
|
|
10339
|
+
sendEvery: z.ZodNumber;
|
|
9894
10340
|
sendHour: z.ZodNumber;
|
|
9895
10341
|
sendMinute: z.ZodNumber;
|
|
10342
|
+
sendMonthWeek: z.ZodUnion<readonly [z.ZodNull, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>;
|
|
10343
|
+
sendStart: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
10344
|
+
sendUnit: z.ZodUnion<readonly [z.ZodLiteral<"day">, z.ZodLiteral<"month">, z.ZodLiteral<"week">]>;
|
|
9896
10345
|
timezone: z.ZodString;
|
|
9897
10346
|
}, z.core.$strict>;
|
|
9898
10347
|
slackReachable: z.ZodNumber;
|
|
@@ -10396,8 +10845,12 @@ export declare const contract: {
|
|
|
10396
10845
|
openHours: z.ZodNumber;
|
|
10397
10846
|
reportingFloor: z.ZodNumber;
|
|
10398
10847
|
sendDays: z.ZodArray<z.ZodNumber>;
|
|
10848
|
+
sendEvery: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
10399
10849
|
sendHour: z.ZodNumber;
|
|
10400
10850
|
sendMinute: z.ZodNumber;
|
|
10851
|
+
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>]>>>;
|
|
10852
|
+
sendStart: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
10853
|
+
sendUnit: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day">, z.ZodLiteral<"month">, z.ZodLiteral<"week">]>>>;
|
|
10401
10854
|
status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"draft">, z.ZodLiteral<"paused">]>;
|
|
10402
10855
|
timezone: z.ZodString;
|
|
10403
10856
|
confirm: z.ZodLiteral<"pulse.saveProgram">;
|
|
@@ -10708,11 +11161,11 @@ export declare const contract: {
|
|
|
10708
11161
|
reminders: {
|
|
10709
11162
|
mine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
10710
11163
|
kinds: z.ZodArray<z.ZodObject<{
|
|
10711
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
10712
|
-
effective: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
10713
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"
|
|
10714
|
-
options: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
10715
|
-
team: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
11164
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"default">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
11165
|
+
effective: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
11166
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
11167
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"quarterly">]>>;
|
|
11168
|
+
team: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
10716
11169
|
}, z.core.$strict>>;
|
|
10717
11170
|
linked: z.ZodBoolean;
|
|
10718
11171
|
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
@@ -10742,7 +11195,7 @@ export declare const contract: {
|
|
|
10742
11195
|
} & Record<never, never>>;
|
|
10743
11196
|
saveMine: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10744
11197
|
choice: z.ZodString;
|
|
10745
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"
|
|
11198
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
10746
11199
|
confirm: z.ZodLiteral<"reminders.saveMine">;
|
|
10747
11200
|
requestKey: z.ZodString;
|
|
10748
11201
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -10762,11 +11215,11 @@ export declare const contract: {
|
|
|
10762
11215
|
result: z.ZodNullable<z.ZodObject<{
|
|
10763
11216
|
changed: z.ZodBoolean;
|
|
10764
11217
|
kinds: z.ZodArray<z.ZodObject<{
|
|
10765
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
10766
|
-
effective: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
10767
|
-
kind: z.ZodUnion<readonly [z.ZodLiteral<"
|
|
10768
|
-
options: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
10769
|
-
team: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
11218
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"default">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
11219
|
+
effective: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
11220
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
11221
|
+
options: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"quarterly">]>>;
|
|
11222
|
+
team: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
10770
11223
|
}, z.core.$strict>>;
|
|
10771
11224
|
linked: z.ZodBoolean;
|
|
10772
11225
|
}, z.core.$strict>>;
|
|
@@ -10797,7 +11250,8 @@ export declare const contract: {
|
|
|
10797
11250
|
} & Record<never, never>>;
|
|
10798
11251
|
saveSetting: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
10799
11252
|
choice: z.ZodString;
|
|
10800
|
-
|
|
11253
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
11254
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
10801
11255
|
confirm: z.ZodLiteral<"reminders.saveSetting">;
|
|
10802
11256
|
requestKey: z.ZodString;
|
|
10803
11257
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -10816,8 +11270,9 @@ export declare const contract: {
|
|
|
10816
11270
|
}, z.core.$strip>;
|
|
10817
11271
|
result: z.ZodNullable<z.ZodObject<{
|
|
10818
11272
|
changed: z.ZodBoolean;
|
|
10819
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
10820
|
-
|
|
11273
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
11274
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
11275
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"praise">, z.ZodLiteral<"pulse">]>;
|
|
10821
11276
|
}, z.core.$strict>>;
|
|
10822
11277
|
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
10823
11278
|
BAD_REQUEST: {
|
|
@@ -10845,27 +11300,17 @@ export declare const contract: {
|
|
|
10845
11300
|
scope: import("./base.ts").Scope | null;
|
|
10846
11301
|
} & Record<never, never>>;
|
|
10847
11302
|
settings: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
10848
|
-
manager_check_in: z.ZodObject<{
|
|
10849
|
-
available: z.ZodBoolean;
|
|
10850
|
-
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">]>;
|
|
10851
|
-
optedOut: z.ZodNumber;
|
|
10852
|
-
options: z.ZodArray<z.ZodString>;
|
|
10853
|
-
}, z.core.$strict>;
|
|
10854
|
-
new_hire_check_in: z.ZodObject<{
|
|
10855
|
-
available: z.ZodBoolean;
|
|
10856
|
-
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">]>;
|
|
10857
|
-
optedOut: z.ZodNumber;
|
|
10858
|
-
options: z.ZodArray<z.ZodString>;
|
|
10859
|
-
}, z.core.$strict>;
|
|
10860
11303
|
praise: z.ZodObject<{
|
|
10861
11304
|
available: z.ZodBoolean;
|
|
10862
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
11305
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
11306
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
10863
11307
|
optedOut: z.ZodNumber;
|
|
10864
11308
|
options: z.ZodArray<z.ZodString>;
|
|
10865
11309
|
}, z.core.$strict>;
|
|
10866
11310
|
pulse: z.ZodObject<{
|
|
10867
11311
|
available: z.ZodBoolean;
|
|
10868
|
-
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"
|
|
11312
|
+
choice: z.ZodUnion<readonly [z.ZodLiteral<"before_close">, z.ZodLiteral<"every_2_weeks">, z.ZodLiteral<"monthly">, z.ZodLiteral<"next_day">, z.ZodLiteral<"off">, z.ZodLiteral<"quarterly">]>;
|
|
11313
|
+
days: z.ZodArray<z.ZodNumber>;
|
|
10869
11314
|
optedOut: z.ZodNumber;
|
|
10870
11315
|
options: z.ZodArray<z.ZodString>;
|
|
10871
11316
|
}, z.core.$strict>;
|
|
@@ -11820,6 +12265,11 @@ export declare const contract: {
|
|
|
11820
12265
|
failed: z.ZodNumber;
|
|
11821
12266
|
onTime: z.ZodNumber;
|
|
11822
12267
|
sent: z.ZodNumber;
|
|
12268
|
+
weekly: z.ZodArray<z.ZodObject<{
|
|
12269
|
+
onTime: z.ZodNumber;
|
|
12270
|
+
sent: z.ZodNumber;
|
|
12271
|
+
week: z.ZodString;
|
|
12272
|
+
}, z.core.$strict>>;
|
|
11823
12273
|
}, z.core.$strict>;
|
|
11824
12274
|
start: z.ZodISODateTime;
|
|
11825
12275
|
weekly: z.ZodArray<z.ZodObject<{
|
|
@@ -11911,12 +12361,40 @@ export declare const contract: {
|
|
|
11911
12361
|
introductionOffsetDays: z.ZodNumber;
|
|
11912
12362
|
responderPersonId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
11913
12363
|
sendTime: z.ZodString;
|
|
12364
|
+
steps: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12365
|
+
body: z.ZodString;
|
|
12366
|
+
checkpoint: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"day_30">, z.ZodLiteral<"day_365">, z.ZodLiteral<"day_60">, z.ZodLiteral<"day_90">]>>>;
|
|
12367
|
+
id: z.ZodString;
|
|
12368
|
+
kind: z.ZodUnion<readonly [z.ZodLiteral<"acknowledge">, z.ZodLiteral<"checkpoint">, z.ZodLiteral<"form">, z.ZodLiteral<"meet">, z.ZodLiteral<"message">, z.ZodLiteral<"task">]>;
|
|
12369
|
+
offsetDays: z.ZodNumber;
|
|
12370
|
+
personId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
12371
|
+
recipient: z.ZodUnion<readonly [z.ZodLiteral<"buddy">, z.ZodLiteral<"hire">, z.ZodLiteral<"hr">, z.ZodLiteral<"manager">, z.ZodLiteral<"person">]>;
|
|
12372
|
+
resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
12373
|
+
sourceId: z.ZodString;
|
|
12374
|
+
title: z.ZodString;
|
|
12375
|
+
type: z.ZodLiteral<"knowledge">;
|
|
12376
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12377
|
+
label: z.ZodString;
|
|
12378
|
+
type: z.ZodLiteral<"link">;
|
|
12379
|
+
url: z.ZodString;
|
|
12380
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12381
|
+
communityId: z.ZodString;
|
|
12382
|
+
name: z.ZodString;
|
|
12383
|
+
type: z.ZodLiteral<"community">;
|
|
12384
|
+
}, z.core.$strict>]>>;
|
|
12385
|
+
title: z.ZodString;
|
|
12386
|
+
todos: z.ZodArray<z.ZodObject<{
|
|
12387
|
+
id: z.ZodString;
|
|
12388
|
+
label: z.ZodString;
|
|
12389
|
+
}, z.core.$strict>>;
|
|
12390
|
+
}, z.core.$strict>>>>;
|
|
11914
12391
|
timezone: z.ZodString;
|
|
11915
12392
|
}, z.core.$strict>]>;
|
|
11916
12393
|
revision: z.ZodNumber;
|
|
11917
12394
|
rosterSyncedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
11918
12395
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
11919
12396
|
anchor: z.ZodString;
|
|
12397
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
11920
12398
|
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
12399
|
interval: z.ZodNumber;
|
|
11922
12400
|
timezone: z.ZodString;
|
|
@@ -12068,6 +12546,24 @@ export declare const contract: {
|
|
|
12068
12546
|
onLeave: z.ZodNumber;
|
|
12069
12547
|
withStartDate: z.ZodNumber;
|
|
12070
12548
|
}, z.core.$strict>;
|
|
12549
|
+
history: z.ZodObject<{
|
|
12550
|
+
departments: z.ZodArray<z.ZodObject<{
|
|
12551
|
+
label: z.ZodString;
|
|
12552
|
+
value: z.ZodNumber;
|
|
12553
|
+
}, z.core.$strict>>;
|
|
12554
|
+
monthly: z.ZodArray<z.ZodObject<{
|
|
12555
|
+
headcount: z.ZodNumber;
|
|
12556
|
+
joined: z.ZodNumber;
|
|
12557
|
+
left: z.ZodNumber;
|
|
12558
|
+
month: z.ZodString;
|
|
12559
|
+
}, z.core.$strict>>;
|
|
12560
|
+
noDepartment: z.ZodNumber;
|
|
12561
|
+
tenure: z.ZodArray<z.ZodObject<{
|
|
12562
|
+
label: z.ZodString;
|
|
12563
|
+
value: z.ZodNumber;
|
|
12564
|
+
}, z.core.$strict>>;
|
|
12565
|
+
undated: z.ZodNumber;
|
|
12566
|
+
}, z.core.$strict>;
|
|
12071
12567
|
joins: z.ZodObject<{
|
|
12072
12568
|
current: z.ZodNumber;
|
|
12073
12569
|
previous: z.ZodNumber;
|
|
@@ -12213,6 +12709,7 @@ export declare const contract: {
|
|
|
12213
12709
|
} & Record<never, never>>;
|
|
12214
12710
|
create: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
12215
12711
|
body: z.ZodString;
|
|
12712
|
+
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
12713
|
subject: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12217
12714
|
requestKey: z.ZodString;
|
|
12218
12715
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -12562,6 +13059,10 @@ export declare const contract: {
|
|
|
12562
13059
|
status: z.ZodString;
|
|
12563
13060
|
trigger: z.ZodString;
|
|
12564
13061
|
}, z.core.$strict>>;
|
|
13062
|
+
slack: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
13063
|
+
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">]>;
|
|
13064
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
13065
|
+
}, z.core.$strict>]>;
|
|
12565
13066
|
status: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"needs_attention">]>;
|
|
12566
13067
|
}, z.core.$strict>>;
|
|
12567
13068
|
organizationId: z.ZodString;
|
|
@@ -14876,8 +15377,10 @@ export declare const contract: {
|
|
|
14876
15377
|
"celebrations.removeCardNote": "celebrations.removeCardNote";
|
|
14877
15378
|
"celebrations.review": "celebrations.review";
|
|
14878
15379
|
"celebrations.save": "celebrations.save";
|
|
15380
|
+
"celebrations.saveAnniversaryDate": "celebrations.saveAnniversaryDate";
|
|
14879
15381
|
"celebrations.savePreferences": "celebrations.savePreferences";
|
|
14880
15382
|
"celebrations.signCard": "celebrations.signCard";
|
|
15383
|
+
"celebrations.startDates": "celebrations.startDates";
|
|
14881
15384
|
"channels.list": "channels.list";
|
|
14882
15385
|
"commands.get": "commands.get";
|
|
14883
15386
|
"communities.archive": "communities.archive";
|
|
@@ -14917,6 +15420,7 @@ export declare const contract: {
|
|
|
14917
15420
|
"getStarted.intro": "getStarted.intro";
|
|
14918
15421
|
"getStarted.wizard": "getStarted.wizard";
|
|
14919
15422
|
"home.feed": "home.feed";
|
|
15423
|
+
"home.places": "home.places";
|
|
14920
15424
|
"home.preferences": "home.preferences";
|
|
14921
15425
|
"home.react": "home.react";
|
|
14922
15426
|
"home.story": "home.story";
|
|
@@ -14926,6 +15430,7 @@ export declare const contract: {
|
|
|
14926
15430
|
"hr.deliver": "hr.deliver";
|
|
14927
15431
|
"hr.get": "hr.get";
|
|
14928
15432
|
"hr.list": "hr.list";
|
|
15433
|
+
"hr.mine": "hr.mine";
|
|
14929
15434
|
"hr.readiness": "hr.readiness";
|
|
14930
15435
|
"hr.rebuildCategories": "hr.rebuildCategories";
|
|
14931
15436
|
"hr.renameTeam": "hr.renameTeam";
|
|
@@ -14991,10 +15496,12 @@ export declare const contract: {
|
|
|
14991
15496
|
"onboarding.assignBuddy": "onboarding.assignBuddy";
|
|
14992
15497
|
"onboarding.buddySuggestions": "onboarding.buddySuggestions";
|
|
14993
15498
|
"onboarding.candidates": "onboarding.candidates";
|
|
15499
|
+
"onboarding.completeTodo": "onboarding.completeTodo";
|
|
14994
15500
|
"onboarding.enroll": "onboarding.enroll";
|
|
14995
15501
|
"onboarding.enrollmentPreview": "onboarding.enrollmentPreview";
|
|
14996
15502
|
"onboarding.firstDaysCheckIns": "onboarding.firstDaysCheckIns";
|
|
14997
15503
|
"onboarding.firstDaysResults": "onboarding.firstDaysResults";
|
|
15504
|
+
"onboarding.journey": "onboarding.journey";
|
|
14998
15505
|
"onboarding.mine": "onboarding.mine";
|
|
14999
15506
|
"onboarding.person": "onboarding.person";
|
|
15000
15507
|
"onboarding.previewEnrollment": "onboarding.previewEnrollment";
|
|
@@ -15117,6 +15624,7 @@ export declare const contract: {
|
|
|
15117
15624
|
"teams.saveSlackProfileLink": "teams.saveSlackProfileLink";
|
|
15118
15625
|
"teams.setup": "teams.setup";
|
|
15119
15626
|
"teams.slackChannels": "teams.slackChannels";
|
|
15627
|
+
"teams.slackConnection": "teams.slackConnection";
|
|
15120
15628
|
"teams.slackJoinAccess": "teams.slackJoinAccess";
|
|
15121
15629
|
"teams.slackProfileLink": "teams.slackProfileLink";
|
|
15122
15630
|
"teams.status": "teams.status";
|
|
@@ -15133,6 +15641,7 @@ export declare const contract: {
|
|
|
15133
15641
|
"users.details": "users.details";
|
|
15134
15642
|
"users.filterOptions": "users.filterOptions";
|
|
15135
15643
|
"users.get": "users.get";
|
|
15644
|
+
"users.glance": "users.glance";
|
|
15136
15645
|
"users.list": "users.list";
|
|
15137
15646
|
"users.managerHistory": "users.managerHistory";
|
|
15138
15647
|
"users.managers": "users.managers";
|
|
@@ -15232,8 +15741,10 @@ export declare const contract: {
|
|
|
15232
15741
|
"celebrations.removeCardNote": "celebrations.removeCardNote";
|
|
15233
15742
|
"celebrations.review": "celebrations.review";
|
|
15234
15743
|
"celebrations.save": "celebrations.save";
|
|
15744
|
+
"celebrations.saveAnniversaryDate": "celebrations.saveAnniversaryDate";
|
|
15235
15745
|
"celebrations.savePreferences": "celebrations.savePreferences";
|
|
15236
15746
|
"celebrations.signCard": "celebrations.signCard";
|
|
15747
|
+
"celebrations.startDates": "celebrations.startDates";
|
|
15237
15748
|
"channels.list": "channels.list";
|
|
15238
15749
|
"commands.get": "commands.get";
|
|
15239
15750
|
"communities.archive": "communities.archive";
|
|
@@ -15273,6 +15784,7 @@ export declare const contract: {
|
|
|
15273
15784
|
"getStarted.intro": "getStarted.intro";
|
|
15274
15785
|
"getStarted.wizard": "getStarted.wizard";
|
|
15275
15786
|
"home.feed": "home.feed";
|
|
15787
|
+
"home.places": "home.places";
|
|
15276
15788
|
"home.preferences": "home.preferences";
|
|
15277
15789
|
"home.react": "home.react";
|
|
15278
15790
|
"home.story": "home.story";
|
|
@@ -15282,6 +15794,7 @@ export declare const contract: {
|
|
|
15282
15794
|
"hr.deliver": "hr.deliver";
|
|
15283
15795
|
"hr.get": "hr.get";
|
|
15284
15796
|
"hr.list": "hr.list";
|
|
15797
|
+
"hr.mine": "hr.mine";
|
|
15285
15798
|
"hr.readiness": "hr.readiness";
|
|
15286
15799
|
"hr.rebuildCategories": "hr.rebuildCategories";
|
|
15287
15800
|
"hr.renameTeam": "hr.renameTeam";
|
|
@@ -15347,10 +15860,12 @@ export declare const contract: {
|
|
|
15347
15860
|
"onboarding.assignBuddy": "onboarding.assignBuddy";
|
|
15348
15861
|
"onboarding.buddySuggestions": "onboarding.buddySuggestions";
|
|
15349
15862
|
"onboarding.candidates": "onboarding.candidates";
|
|
15863
|
+
"onboarding.completeTodo": "onboarding.completeTodo";
|
|
15350
15864
|
"onboarding.enroll": "onboarding.enroll";
|
|
15351
15865
|
"onboarding.enrollmentPreview": "onboarding.enrollmentPreview";
|
|
15352
15866
|
"onboarding.firstDaysCheckIns": "onboarding.firstDaysCheckIns";
|
|
15353
15867
|
"onboarding.firstDaysResults": "onboarding.firstDaysResults";
|
|
15868
|
+
"onboarding.journey": "onboarding.journey";
|
|
15354
15869
|
"onboarding.mine": "onboarding.mine";
|
|
15355
15870
|
"onboarding.person": "onboarding.person";
|
|
15356
15871
|
"onboarding.previewEnrollment": "onboarding.previewEnrollment";
|
|
@@ -15473,6 +15988,7 @@ export declare const contract: {
|
|
|
15473
15988
|
"teams.saveSlackProfileLink": "teams.saveSlackProfileLink";
|
|
15474
15989
|
"teams.setup": "teams.setup";
|
|
15475
15990
|
"teams.slackChannels": "teams.slackChannels";
|
|
15991
|
+
"teams.slackConnection": "teams.slackConnection";
|
|
15476
15992
|
"teams.slackJoinAccess": "teams.slackJoinAccess";
|
|
15477
15993
|
"teams.slackProfileLink": "teams.slackProfileLink";
|
|
15478
15994
|
"teams.status": "teams.status";
|
|
@@ -15489,6 +16005,7 @@ export declare const contract: {
|
|
|
15489
16005
|
"users.details": "users.details";
|
|
15490
16006
|
"users.filterOptions": "users.filterOptions";
|
|
15491
16007
|
"users.get": "users.get";
|
|
16008
|
+
"users.glance": "users.glance";
|
|
15492
16009
|
"users.list": "users.list";
|
|
15493
16010
|
"users.managerHistory": "users.managerHistory";
|
|
15494
16011
|
"users.managers": "users.managers";
|
|
@@ -15680,6 +16197,7 @@ export declare const contract: {
|
|
|
15680
16197
|
version: z.ZodLiteral<1>;
|
|
15681
16198
|
}, z.core.$strict>, z.ZodObject<{
|
|
15682
16199
|
anchor: z.ZodString;
|
|
16200
|
+
days: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
|
|
15683
16201
|
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
16202
|
interval: z.ZodNumber;
|
|
15685
16203
|
timezone: z.ZodString;
|
|
@@ -15763,6 +16281,7 @@ export declare const contract: {
|
|
|
15763
16281
|
name: z.ZodString;
|
|
15764
16282
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
15765
16283
|
anchor: z.ZodString;
|
|
16284
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
15766
16285
|
frequency: z.ZodEnum<{
|
|
15767
16286
|
days: "days";
|
|
15768
16287
|
hours: "hours";
|
|
@@ -15909,6 +16428,7 @@ export declare const contract: {
|
|
|
15909
16428
|
name: z.ZodString;
|
|
15910
16429
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
15911
16430
|
anchor: z.ZodString;
|
|
16431
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
15912
16432
|
frequency: z.ZodEnum<{
|
|
15913
16433
|
days: "days";
|
|
15914
16434
|
hours: "hours";
|
|
@@ -16018,6 +16538,7 @@ export declare const contract: {
|
|
|
16018
16538
|
name: z.ZodString;
|
|
16019
16539
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16020
16540
|
anchor: z.ZodString;
|
|
16541
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16021
16542
|
frequency: z.ZodEnum<{
|
|
16022
16543
|
days: "days";
|
|
16023
16544
|
hours: "hours";
|
|
@@ -16164,6 +16685,7 @@ export declare const contract: {
|
|
|
16164
16685
|
name: z.ZodString;
|
|
16165
16686
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16166
16687
|
anchor: z.ZodString;
|
|
16688
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16167
16689
|
frequency: z.ZodEnum<{
|
|
16168
16690
|
days: "days";
|
|
16169
16691
|
hours: "hours";
|
|
@@ -16312,6 +16834,7 @@ export declare const contract: {
|
|
|
16312
16834
|
name: z.ZodString;
|
|
16313
16835
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16314
16836
|
anchor: z.ZodString;
|
|
16837
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16315
16838
|
frequency: z.ZodEnum<{
|
|
16316
16839
|
days: "days";
|
|
16317
16840
|
hours: "hours";
|
|
@@ -16540,6 +17063,7 @@ export declare const contract: {
|
|
|
16540
17063
|
name: z.ZodString;
|
|
16541
17064
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16542
17065
|
anchor: z.ZodString;
|
|
17066
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16543
17067
|
frequency: z.ZodEnum<{
|
|
16544
17068
|
days: "days";
|
|
16545
17069
|
hours: "hours";
|
|
@@ -16739,6 +17263,7 @@ export declare const contract: {
|
|
|
16739
17263
|
name: z.ZodString;
|
|
16740
17264
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16741
17265
|
anchor: z.ZodString;
|
|
17266
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16742
17267
|
frequency: z.ZodEnum<{
|
|
16743
17268
|
days: "days";
|
|
16744
17269
|
hours: "hours";
|
|
@@ -16967,6 +17492,7 @@ export declare const contract: {
|
|
|
16967
17492
|
name: z.ZodString;
|
|
16968
17493
|
schedule: z.ZodUnion<readonly [z.ZodObject<{
|
|
16969
17494
|
anchor: z.ZodString;
|
|
17495
|
+
days: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
16970
17496
|
frequency: z.ZodEnum<{
|
|
16971
17497
|
days: "days";
|
|
16972
17498
|
hours: "hours";
|
|
@@ -18123,10 +18649,11 @@ export declare const contract: {
|
|
|
18123
18649
|
}, z.core.$strict>;
|
|
18124
18650
|
slack: z.ZodObject<{
|
|
18125
18651
|
available: z.ZodBoolean;
|
|
18126
|
-
|
|
18652
|
+
live: z.ZodBoolean;
|
|
18127
18653
|
missingScopes: z.ZodArray<z.ZodString>;
|
|
18128
18654
|
ready: z.ZodBoolean;
|
|
18129
|
-
|
|
18655
|
+
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">]>;
|
|
18656
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
18130
18657
|
}, z.core.$strict>;
|
|
18131
18658
|
steps: z.ZodArray<z.ZodObject<{
|
|
18132
18659
|
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 +18736,38 @@ export declare const contract: {
|
|
|
18209
18736
|
}>, {
|
|
18210
18737
|
scope: import("./base.ts").Scope | null;
|
|
18211
18738
|
} & Record<never, never>>;
|
|
18739
|
+
slackConnection: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
18740
|
+
available: z.ZodBoolean;
|
|
18741
|
+
live: z.ZodBoolean;
|
|
18742
|
+
missingScopes: z.ZodArray<z.ZodString>;
|
|
18743
|
+
ready: z.ZodBoolean;
|
|
18744
|
+
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">]>;
|
|
18745
|
+
state: z.ZodUnion<readonly [z.ZodLiteral<"connected">, z.ZodLiteral<"needs_reconnect">, z.ZodLiteral<"not_connected">]>;
|
|
18746
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
18747
|
+
BAD_REQUEST: {
|
|
18748
|
+
message: string;
|
|
18749
|
+
};
|
|
18750
|
+
CONFLICT: {
|
|
18751
|
+
message: string;
|
|
18752
|
+
};
|
|
18753
|
+
FORBIDDEN: {
|
|
18754
|
+
message: string;
|
|
18755
|
+
};
|
|
18756
|
+
NOT_FOUND: {
|
|
18757
|
+
message: string;
|
|
18758
|
+
};
|
|
18759
|
+
PRECONDITION_FAILED: {
|
|
18760
|
+
message: string;
|
|
18761
|
+
};
|
|
18762
|
+
TOO_MANY_REQUESTS: {
|
|
18763
|
+
message: string;
|
|
18764
|
+
};
|
|
18765
|
+
UNAUTHORIZED: {
|
|
18766
|
+
message: string;
|
|
18767
|
+
};
|
|
18768
|
+
}>, {
|
|
18769
|
+
scope: import("./base.ts").Scope | null;
|
|
18770
|
+
} & Record<never, never>>;
|
|
18212
18771
|
slackJoinAccess: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
18213
18772
|
changedAt: z.ZodUnion<readonly [z.ZodNull, z.ZodISODateTime]>;
|
|
18214
18773
|
enabled: z.ZodBoolean;
|
|
@@ -18688,6 +19247,7 @@ export declare const contract: {
|
|
|
18688
19247
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
18689
19248
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
18690
19249
|
memberId: z.ZodString;
|
|
19250
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
18691
19251
|
revision: z.ZodNumber;
|
|
18692
19252
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
18693
19253
|
teamId: z.ZodString;
|
|
@@ -18794,6 +19354,59 @@ export declare const contract: {
|
|
|
18794
19354
|
}>, {
|
|
18795
19355
|
scope: import("./base.ts").Scope | null;
|
|
18796
19356
|
} & Record<never, never>>;
|
|
19357
|
+
glance: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
19358
|
+
averageTenureYears: z.ZodUnion<readonly [z.ZodNull, z.ZodNumber]>;
|
|
19359
|
+
dated: z.ZodNumber;
|
|
19360
|
+
departments: z.ZodArray<z.ZodObject<{
|
|
19361
|
+
label: z.ZodString;
|
|
19362
|
+
value: z.ZodNumber;
|
|
19363
|
+
}, z.core.$strict>>;
|
|
19364
|
+
enough: z.ZodBoolean;
|
|
19365
|
+
growth: z.ZodArray<z.ZodObject<{
|
|
19366
|
+
at: z.ZodString;
|
|
19367
|
+
value: z.ZodNumber;
|
|
19368
|
+
}, z.core.$strict>>;
|
|
19369
|
+
headcount: z.ZodNumber;
|
|
19370
|
+
hiredThisYear: z.ZodNumber;
|
|
19371
|
+
me: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
19372
|
+
joinedAfter: z.ZodNumber;
|
|
19373
|
+
joinedBefore: z.ZodNumber;
|
|
19374
|
+
start: z.ZodString;
|
|
19375
|
+
}, z.core.$strict>]>;
|
|
19376
|
+
tenure: z.ZodArray<z.ZodObject<{
|
|
19377
|
+
label: z.ZodString;
|
|
19378
|
+
value: z.ZodNumber;
|
|
19379
|
+
}, z.core.$strict>>;
|
|
19380
|
+
timezones: z.ZodArray<z.ZodObject<{
|
|
19381
|
+
label: z.ZodString;
|
|
19382
|
+
value: z.ZodNumber;
|
|
19383
|
+
}, z.core.$strict>>;
|
|
19384
|
+
topics: z.ZodArray<z.ZodString>;
|
|
19385
|
+
}, z.core.$strict>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
19386
|
+
BAD_REQUEST: {
|
|
19387
|
+
message: string;
|
|
19388
|
+
};
|
|
19389
|
+
CONFLICT: {
|
|
19390
|
+
message: string;
|
|
19391
|
+
};
|
|
19392
|
+
FORBIDDEN: {
|
|
19393
|
+
message: string;
|
|
19394
|
+
};
|
|
19395
|
+
NOT_FOUND: {
|
|
19396
|
+
message: string;
|
|
19397
|
+
};
|
|
19398
|
+
PRECONDITION_FAILED: {
|
|
19399
|
+
message: string;
|
|
19400
|
+
};
|
|
19401
|
+
TOO_MANY_REQUESTS: {
|
|
19402
|
+
message: string;
|
|
19403
|
+
};
|
|
19404
|
+
UNAUTHORIZED: {
|
|
19405
|
+
message: string;
|
|
19406
|
+
};
|
|
19407
|
+
}>, {
|
|
19408
|
+
scope: import("./base.ts").Scope | null;
|
|
19409
|
+
} & Record<never, never>>;
|
|
18797
19410
|
managerHistory: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
18798
19411
|
cursor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
18799
19412
|
memberId: z.ZodString;
|
|
@@ -19330,6 +19943,7 @@ export declare const contract: {
|
|
|
19330
19943
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19331
19944
|
memberId: z.ZodString;
|
|
19332
19945
|
name: z.ZodString;
|
|
19946
|
+
originalStartDate: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>>;
|
|
19333
19947
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19334
19948
|
teamIds: z.ZodArray<z.ZodString>;
|
|
19335
19949
|
timezone: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
@@ -19356,6 +19970,7 @@ export declare const contract: {
|
|
|
19356
19970
|
managedBy: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19357
19971
|
managerId: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19358
19972
|
memberId: z.ZodString;
|
|
19973
|
+
originalStartDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19359
19974
|
revision: z.ZodNumber;
|
|
19360
19975
|
startDate: z.ZodUnion<readonly [z.ZodNull, z.ZodString]>;
|
|
19361
19976
|
teamId: z.ZodString;
|