// Code generated by protoc-gen-typescript-http. DO NOT EDIT. /* eslint-disable camelcase */ // @ts-nocheck export type FetchRequest = { /** 页数 */ pageNo?: number; /** 每页记录数 */ pageSize?: number; /** 条件参数,key=val,eg key:category_id=?,vlaue=11 */ params?: { [key: string]: string }; }; export type IdentRequest = { /** 唯一ID */ id?: number; /** 唯一码 */ identity?: string; }; export type VersionRequest = { /** 时序版本号 */ version?: number; }; export type SearchRequest = { /** 关键词 */ keyword?: string; }; export type StatusReply = { /** 数据 */ data?: string; /** 响应时间序列 */ timeseq?: number; }; export type Empty = { }; /** 推文列表 */ export type PostListReply = { list?: PostItem[]; cnt?: number; }; /** 推文 */ export type PostItem = { /** 唯一标识 */ identity?: string; /** 内容 */ content?: string; /** 通行证ID */ passportId?: number; /** 通行证Identity */ passportIdentity?: string; /** 是否公开:默认为0-公开,1-不公开 */ isOpen?: boolean; /** 点踩数量 */ cntUnlike?: number; /** 评论数量 */ cntComment?: number; /** 点赞数量 */ cntLike?: number; /** 附件信息 */ attachs?: AttachItem[]; /** 所属话题 */ tags?: TagItem[]; }; /** 附件 */ export type AttachItem = { /** 唯一标识 */ identity?: string; /** 文件类型 */ attachType?: string; /** 文件路径 */ url?: string; }; /** 标签 */ export type TagItem = { /** 标签唯一码 */ key?: string; /** 标签内容 */ content?: string; }; export type GroupItem = { /** 主键 */ id?: number; /** 唯一标识 */ identity?: string; /** 群组编号 */ number?: number; /** 群组头像 */ avatar?: string; /** 群组名称 */ name?: string; /** 群组简介 */ introduce?: string; /** 创建者ID */ creatorId?: number; /** 创建者Identity */ cretorIdentity?: string; /** 最大成员数,0代表不限制 */ memberLimit?: number; /** 管理员 */ master?: string[]; /** 群组公告 */ notice?: string; /** 群组背景 */ background?: string; /** 群组标签 */ tags?: string[]; /** 群组成员数 */ memberTotal?: number; /** 是否开启群号搜索 */ enableSearchByNumber?: boolean; /** 是否开启群名搜索 */ enableSearchByName?: boolean; /** 群组创建时间 */ createdAt?: string; }; export type GroupsReply = { /** 总记录数 */ total?: number; /** 版本号 */ version?: number; /** 群组信息 */ groups?: GroupItem[]; }; /** 群组 */ export interface Basic { } type RequestType = { path: string; method: string; body: string | null; }; type RequestHandler = (request: RequestType, meta: { service: string, method: string }) => Promise; export function createBasicClient( handler: RequestHandler ): Basic { return { }; } export type PassportInfoSimpleCard = { identity?: string; /** 昵称 */ nickname?: string; /** 备注名称 */ remarkName?: string; avatar?: string; /** 性别,1为男性,2为女性 */ sex?: number; /** 角色,主要是群组内的角色使用 */ role?: number; }; export type PassportInfoDetailCard = { identity?: string; /** 昵称 */ nickname?: string; /** 备注名称 */ remarkName?: string; /** 是否置顶 */ popular?: number; avatar?: string; /** 生日 */ birthday?: string; /** 性别,1为男性,2为女性 */ sex?: number; /** 省 */ province?: number; /** 市 */ city?: number; /** 区 */ area?: number; /** 签名 */ sign?: string; /** 所属标签组 */ tags?: string[]; /** 外表的状态值,根据表不同,值的作用不同 */ foreignStatus?: number; }; export type GroupMemberReply = { /** 总记录数 */ total?: number; /** 版本号 */ version?: number; /** 成员信息 */ members?: PassportInfoSimpleCard[]; }; export type DoJoinRequest = { /** 群组ID */ id?: number; /** 群组唯一码 */ identity?: string; /** 加群留言 */ message?: string; }; export type JoinFetchReply = { /** 总记录数 */ total?: number; /** 群组信息 */ applys?: ApplyJoinGroupItem[]; }; export type ApplyJoinGroupItem = { /** 唯一标识 */ identity?: string; /** 主键 */ groupId?: number; from?: PassportInfoDetailCard; message?: string; /** 时间 */ createdAt?: string; /** 状态 */ status?: number; }; export type GroupOPRequest = { /** 唯一标识 */ identity?: string; /** 群组identity */ groupIdentity?: string; /** 操作方式:Pass通过,Reject拒绝,Set设置,cancel取消 */ direction?: string; }; /** relation-关系管理:群组 */ export interface Member { } export function createMemberClient( handler: RequestHandler ): Member { return { }; } // @@protoc_insertion_point(typescript-http-eof)