/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /** * Adds a read-only ``tags`` field to a host serializer. * * Emits ``[{id, name, color}]``. Cheap when the host queryset uses * ``prefetch_related("tag_assignments__tag")`` — without that prefetch * every record triggers two extra queries. */ export type PatchedOrganization = { /** * Server-assigned UUID. */ readonly id?: string; /** * Platform the Organization belongs to. Set server-side from the auth token. */ readonly platform?: number; /** * Display name. Unique per platform (case-sensitive). */ name?: string; /** * Free-form JSON address (street, city, country, etc.). */ address?: any; /** * Id of the Platform user who owns / manages this Organization. Must be an active member of your Platform. */ owner?: number | null; readonly tags?: Array<{ id: number; name: string; color: string; }>; /** * Free-form JSON for Platform-defined attributes. */ metadata?: any; /** * Creation timestamp. */ readonly created_at?: string; /** * Last-modified timestamp. */ readonly updated_at?: string; };