historyResponseSchema
consthistoryResponseSchema:ZodObject<{events:ZodArray<ZodObject<{actor:ZodObject<{color:ZodOptional<ZodString>;id:ZodString;kind:ZodEnum<["human","agent"]>;name:ZodString;onBehalfOf:ZodOptional<ZodObject<{id:ZodString;name:ZodString; },"strip",ZodTypeAny, {id:string;name:string; }, {id:string;name:string; }>>; },"strip",ZodTypeAny, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }>;createdAt:ZodString;payload:ZodRecord<ZodString,ZodUnknown>;type:ZodString; },"strip",ZodTypeAny, {actor: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; };createdAt:string;payload:Record<string,unknown>;type:string; }, {actor: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; };createdAt:string;payload:Record<string,unknown>;type:string; }>,"many">;sessions:ZodArray<ZodObject<{actor:ZodObject<{color:ZodOptional<ZodString>;id:ZodString;kind:ZodEnum<["human","agent"]>;name:ZodString;onBehalfOf:ZodOptional<ZodObject<{id:ZodString;name:ZodString; },"strip",ZodTypeAny, {id:string;name:string; }, {id:string;name:string; }>>; },"strip",ZodTypeAny, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }>;endedAt:ZodString;startedAt:ZodString;updates:ZodNumber;uptoId:ZodString; },"strip",ZodTypeAny, {actor: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; };endedAt:string;startedAt:string;updates:number;uptoId:string; }, {actor: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; };endedAt:string;startedAt:string;updates:number;uptoId:string; }>,"many">; },"strip",ZodTypeAny, {events:object[];sessions:object[]; }, {events:object[];sessions:object[]; }>
Defined in: index.ts:768