import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Person, Person$Outbound } from "./person.js"; /** * The team member's relationship to the team. This defaults to MEMBER if not set. */ export declare const PersonToTeamRelationshipRelationship: { readonly Member: "MEMBER"; readonly Manager: "MANAGER"; readonly Lead: "LEAD"; readonly PointOfContact: "POINT_OF_CONTACT"; readonly Other: "OTHER"; }; /** * The team member's relationship to the team. This defaults to MEMBER if not set. */ export type PersonToTeamRelationshipRelationship = OpenEnum; /** * Metadata about the relationship of a person to a team. */ export type PersonToTeamRelationship = { person: Person; /** * The team member's relationship to the team. This defaults to MEMBER if not set. */ relationship?: PersonToTeamRelationshipRelationship | undefined; /** * Displayed name for the relationship if relationship is set to `OTHER`. */ customRelationshipStr?: string | undefined; /** * The team member's start date */ joinDate?: Date | undefined; }; /** @internal */ export declare const PersonToTeamRelationshipRelationship$inboundSchema: z.ZodType; /** @internal */ export declare const PersonToTeamRelationshipRelationship$outboundSchema: z.ZodType; /** @internal */ export declare const PersonToTeamRelationship$inboundSchema: z.ZodType; /** @internal */ export type PersonToTeamRelationship$Outbound = { person: Person$Outbound; relationship: string; customRelationshipStr?: string | undefined; joinDate?: string | undefined; }; /** @internal */ export declare const PersonToTeamRelationship$outboundSchema: z.ZodType; export declare function personToTeamRelationshipToJSON(personToTeamRelationship: PersonToTeamRelationship): string; export declare function personToTeamRelationshipFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=persontoteamrelationship.d.ts.map