NotionUserResponseSchema
katanakit-js / NotionUserResponseSchema
Variable: NotionUserResponseSchema
Section titled “Variable: NotionUserResponseSchema”const NotionUserResponseSchema: ZodObject< { avatar_url: ZodOptional<ZodOptional<ZodString>>; bot: ZodOptional< ZodOptional< ZodObject< { owner: ZodObject< { type: ZodString; }, $loose >; }, $loose > > >; id: ZodOptional<ZodString>; name: ZodOptional<ZodOptional<ZodString>>; object: ZodOptional<ZodLiteral<"user">>; person: ZodOptional< ZodOptional< ZodObject< { email: ZodOptional<ZodString>; }, $loose > > >; type: ZodOptional< ZodEnum<{ bot: "bot"; person: "person"; }> >; }, $loose>;Defined in: schemas/notion.schema.ts:275
Single user response (fields may be sparse depending on the endpoint).