chatOpsRequestSchema
constchatOpsRequestSchema:ZodObject<{approver:ZodOptional<ZodString>;approverId:ZodOptional<ZodString>;mode:ZodDefault<ZodEnum<["edit","suggest"]>>;ops:ZodArray<ZodDiscriminatedUnion<"type", [ZodObject<{attachments:ZodOptional<ZodArray<ZodObject<{docName: …;title: …; },"strip",ZodTypeAny, {docName: …;title?: …; }, {docName: …;title?: …; }>,"many">>;id:ZodOptional<ZodString>;mentions:ZodOptional<ZodArray<ZodObject<{id: …;kind: …;name: …; },"strip",ZodTypeAny, {id: …;kind: …;name: …; }, {id: …;kind: …;name: …; }>,"many">>;text:ZodString;type:ZodLiteral<"post_message">; },"strip",ZodTypeAny, {attachments?:object[];id?:string;mentions?:object[];text:string;type:"post_message"; }, {attachments?:object[];id?:string;mentions?:object[];text:string;type:"post_message"; }>,ZodObject<{id:ZodString;text:ZodString;type:ZodLiteral<"edit_message">; },"strip",ZodTypeAny, {id:string;text:string;type:"edit_message"; }, {id:string;text:string;type:"edit_message"; }>,ZodObject<{emoji:ZodString;id:ZodString;type:ZodLiteral<"react">; },"strip",ZodTypeAny, {emoji:string;id:string;type:"react"; }, {emoji:string;id:string;type:"react"; }>,ZodObject<{type:ZodLiteral<"typing">; },"strip",ZodTypeAny, {type:"typing"; }, {type:"typing"; }>]>,"many">; },"strip",ZodTypeAny, {approver?:string;approverId?:string;mode:"suggest"|"edit";ops: ({attachments?:object[];id?:string;mentions?:object[];text:string;type:"post_message"; } | {id:string;text:string;type:"edit_message"; } | {emoji:string;id:string;type:"react"; } | {type:"typing"; })[]; }, {approver?:string;approverId?:string;mode?:"suggest"|"edit";ops: ({attachments?:object[];id?:string;mentions?:object[];text:string;type:"post_message"; } | {id:string;text:string;type:"edit_message"; } | {emoji:string;id:string;type:"react"; } | {type:"typing"; })[]; }>
Defined in: index.ts:383