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 { CustomFieldData, CustomFieldData$Outbound } from "./customfielddata.js"; import { DatasourceProfile, DatasourceProfile$Outbound } from "./datasourceprofile.js"; import { ObjectPermissions, ObjectPermissions$Outbound } from "./objectpermissions.js"; import { PersonToTeamRelationship, PersonToTeamRelationship$Outbound } from "./persontoteamrelationship.js"; import { RelatedObjectEdge, RelatedObjectEdge$Outbound } from "./relatedobjectedge.js"; import { TeamEmail, TeamEmail$Outbound } from "./teamemail.js"; /** * whether this team is fully processed or there are still unprocessed operations that'll affect it */ export declare const TeamStatus: { readonly Processed: "PROCESSED"; readonly QueuedForCreation: "QUEUED_FOR_CREATION"; readonly QueuedForDeletion: "QUEUED_FOR_DELETION"; }; /** * whether this team is fully processed or there are still unprocessed operations that'll affect it */ export type TeamStatus = OpenEnum; export type Team = { /** * A list of objects related to a source object. */ relatedObjects?: { [k: string]: RelatedObjectEdge; } | undefined; permissions?: ObjectPermissions | undefined; /** * Unique identifier */ id: string; /** * Team name */ name: string; /** * A description of the team */ description?: string | undefined; /** * Typically the highest level organizational unit; generally applies to bigger companies with multiple distinct businesses. */ businessUnit?: string | undefined; /** * An organizational unit where everyone has a similar task, e.g. `Engineering`. */ department?: string | undefined; /** * A link to the team's photo. */ photoUrl?: string | undefined; /** * A link to the team's banner photo. */ bannerUrl?: string | undefined; /** * Link to a team page on the internet or your company's intranet */ externalLink?: string | undefined; /** * The members on this team */ members?: Array | undefined; /** * Number of members on this team (recursive; includes all individuals that belong to this team, and all individuals that belong to a subteam within this team) */ memberCount?: number | undefined; /** * The emails for this team */ emails?: Array | undefined; /** * Customizable fields for additional team information. */ customFields?: Array | undefined; /** * The datasource profiles of the team */ datasourceProfiles?: Array | undefined; /** * the data source of the team, e.g. GDRIVE */ datasource?: string | undefined; /** * For teams created from docs, the doc title. Otherwise empty. */ createdFrom?: string | undefined; /** * when this team was last updated. */ lastUpdatedAt?: Date | undefined; /** * whether this team is fully processed or there are still unprocessed operations that'll affect it */ status?: TeamStatus | undefined; /** * can this team be deleted. Some manually ingested teams like GCS_CSV or PUSH_API cannot */ canBeDeleted?: boolean | undefined; /** * The logging id of the team used in scrubbed logs, client analytics, and metrics. */ loggingId?: string | undefined; }; /** @internal */ export declare const TeamStatus$inboundSchema: z.ZodType; /** @internal */ export declare const TeamStatus$outboundSchema: z.ZodType; /** @internal */ export declare const Team$inboundSchema: z.ZodType; /** @internal */ export type Team$Outbound = { relatedObjects?: { [k: string]: RelatedObjectEdge$Outbound; } | undefined; permissions?: ObjectPermissions$Outbound | undefined; id: string; name: string; description?: string | undefined; businessUnit?: string | undefined; department?: string | undefined; photoUrl?: string | undefined; bannerUrl?: string | undefined; externalLink?: string | undefined; members?: Array | undefined; memberCount?: number | undefined; emails?: Array | undefined; customFields?: Array | undefined; datasourceProfiles?: Array | undefined; datasource?: string | undefined; createdFrom?: string | undefined; lastUpdatedAt?: string | undefined; status: string; canBeDeleted: boolean; loggingId?: string | undefined; }; /** @internal */ export declare const Team$outboundSchema: z.ZodType; export declare function teamToJSON(team: Team): string; export declare function teamFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=team.d.ts.map