| 1 | import z from 'zod' |
| 2 | |
| 3 | export const linkInvitationSchema = |
| 4 | invitationId: z.string |
| 5 | projectId: z.string |
| 6 | type: z.enum |
| 7 | }) |
| 8 | |
| 9 | export const removeMemberSchema = |
| 10 | assignmentId: z.string |
| 11 | orgSlug: z.string |
| 12 | projectSlug: z.string |
| 13 | }) |
| 14 | |
| 15 | export const removeClientSchema = |
| 16 | assignmentId: z.string |
| 17 | orgSlug: z.string |
| 18 | projectSlug: z.string |
| 19 | }) |
| 20 | |
| 21 | export const assignTeamSchema = |
| 22 | projectId: z.string |
| 23 | teamId: z.string |
| 24 | }) |
| 25 | |
| 26 | export const unassignTeamSchema = |
| 27 | assignmentId: z.string |
| 28 | orgSlug: z.string |
| 29 | projectSlug: z.string |
| 30 | }) |
| 31 | |
| 32 | export const addExistingMemberToProjectSchema = |
| 33 | email: z.string |
| 34 | projectId: z.string |
| 35 | organizationId: z.string |
| 36 | type: z.enum |
| 37 | hourlyRate: z.number |
| 38 | currency: z.string |
| 39 | setAsOrgDefault: z.boolean |
| 40 | }) |