data-contracts.ts 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747
  1. /* eslint-disable */
  2. /* tslint:disable */
  3. /*
  4. * ---------------------------------------------------------------
  5. * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
  6. * ## ##
  7. * ## AUTHOR: acacode ##
  8. * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
  9. * ---------------------------------------------------------------
  10. */
  11. /** 添加 */
  12. export interface ApiAddInput {
  13. /**
  14. * 所属模块
  15. * @format int64
  16. */
  17. parentId?: number | null
  18. /** 接口名称 */
  19. label?: string | null
  20. /** 接口地址 */
  21. path?: string | null
  22. /** 接口提交方法 */
  23. httpMethods?: string | null
  24. /** 说明 */
  25. description?: string | null
  26. /** 启用 */
  27. enabled?: boolean
  28. }
  29. /** 接口管理 */
  30. export interface ApiEntity {
  31. /**
  32. * 主键Id
  33. * @format int64
  34. */
  35. id?: number
  36. /**
  37. * 创建者Id
  38. * @format int64
  39. */
  40. createdUserId?: number | null
  41. /**
  42. * 创建者
  43. * @maxLength 50
  44. */
  45. createdUserName?: string | null
  46. /**
  47. * 创建时间
  48. * @format date-time
  49. */
  50. createdTime?: string | null
  51. /**
  52. * 修改者Id
  53. * @format int64
  54. */
  55. modifiedUserId?: number | null
  56. /**
  57. * 修改者
  58. * @maxLength 50
  59. */
  60. modifiedUserName?: string | null
  61. /**
  62. * 修改时间
  63. * @format date-time
  64. */
  65. modifiedTime?: string | null
  66. /** 是否删除 */
  67. isDeleted?: boolean
  68. /**
  69. * 所属模块
  70. * @format int64
  71. */
  72. parentId?: number
  73. /** 接口命名 */
  74. name?: string | null
  75. /** 接口名称 */
  76. label?: string | null
  77. /** 接口地址 */
  78. path?: string | null
  79. /** 接口提交方法 */
  80. httpMethods?: string | null
  81. /** 说明 */
  82. description?: string | null
  83. /**
  84. * 排序
  85. * @format int32
  86. */
  87. sort?: number
  88. /** 启用 */
  89. enabled?: boolean
  90. childs?: ApiEntity[] | null
  91. permissions?: PermissionEntity[] | null
  92. }
  93. export interface ApiGetOutput {
  94. /**
  95. * 所属模块
  96. * @format int64
  97. */
  98. parentId?: number | null
  99. /** 接口名称 */
  100. label?: string | null
  101. /** 接口地址 */
  102. path?: string | null
  103. /** 接口提交方法 */
  104. httpMethods?: string | null
  105. /** 说明 */
  106. description?: string | null
  107. /** 启用 */
  108. enabled?: boolean
  109. /**
  110. * 接口Id
  111. * @format int64
  112. */
  113. id: number
  114. }
  115. export interface ApiGetPageDto {
  116. /** 接口名称 */
  117. label?: string | null
  118. }
  119. export interface ApiListOutput {
  120. /**
  121. * 接口Id
  122. * @format int64
  123. */
  124. id?: number
  125. /**
  126. * 接口父级
  127. * @format int64
  128. */
  129. parentId?: number | null
  130. /** 接口命名 */
  131. name?: string | null
  132. /** 接口名称 */
  133. label?: string | null
  134. /** 接口地址 */
  135. path?: string | null
  136. /** 接口提交方法 */
  137. httpMethods?: string | null
  138. /** 说明 */
  139. description?: string | null
  140. /** 启用 */
  141. enabled?: boolean
  142. }
  143. /** 接口同步Dto */
  144. export interface ApiSyncDto {
  145. /** 接口名称 */
  146. label?: string | null
  147. /** 接口地址 */
  148. path?: string | null
  149. /** 父级路径 */
  150. parentPath?: string | null
  151. /** 接口提交方法 */
  152. httpMethods?: string | null
  153. }
  154. /** 接口同步 */
  155. export interface ApiSyncInput {
  156. apis?: ApiSyncDto[] | null
  157. }
  158. /** 修改 */
  159. export interface ApiUpdateInput {
  160. /**
  161. * 所属模块
  162. * @format int64
  163. */
  164. parentId?: number | null
  165. /** 接口名称 */
  166. label?: string | null
  167. /** 接口地址 */
  168. path?: string | null
  169. /** 接口提交方法 */
  170. httpMethods?: string | null
  171. /** 说明 */
  172. description?: string | null
  173. /** 启用 */
  174. enabled?: boolean
  175. /**
  176. * 接口Id
  177. * @format int64
  178. */
  179. id: number
  180. }
  181. export interface AuthGetPasswordEncryptKeyOutput {
  182. /** 缓存键 */
  183. key?: string | null
  184. /** 密码加密密钥 */
  185. encyptKey?: string | null
  186. }
  187. export interface AuthGetUserInfoOutput {
  188. user?: AuthUserProfileDto
  189. /** 用户菜单 */
  190. menus?: AuthUserMenuDto[] | null
  191. /** 用户权限点 */
  192. permissions?: string[] | null
  193. }
  194. /** 登录信息 */
  195. export interface AuthLoginInput {
  196. /**
  197. * 账号
  198. * @minLength 1
  199. */
  200. userName: string
  201. /**
  202. * 密码
  203. * @minLength 1
  204. */
  205. password: string
  206. /** 密码键 */
  207. passwordKey?: string | null
  208. captcha?: CaptchaInput
  209. }
  210. export interface AuthUserMenuDto {
  211. /**
  212. * 权限Id
  213. * @format int64
  214. */
  215. id?: number
  216. /**
  217. * 父级节点
  218. * @format int64
  219. */
  220. parentId?: number
  221. /** 路由地址 */
  222. path?: string | null
  223. /** 路由命名 */
  224. name?: string | null
  225. /** 视图地址 */
  226. viewPath?: string | null
  227. /** 重定向地址 */
  228. redirect?: string | null
  229. /** 权限名称 */
  230. label?: string | null
  231. /** 图标 */
  232. icon?: string | null
  233. /** 打开 */
  234. opened?: boolean | null
  235. /** 隐藏 */
  236. hidden?: boolean
  237. /** 打开新窗口 */
  238. newWindow?: boolean | null
  239. /** 链接外显 */
  240. external?: boolean | null
  241. /** 是否缓存 */
  242. isKeepAlive?: boolean
  243. /** 是否固定 */
  244. isAffix?: boolean
  245. /** 链接地址 */
  246. link?: string | null
  247. /** 是否内嵌窗口 */
  248. isIframe?: boolean
  249. /**
  250. * 排序
  251. * @format int32
  252. */
  253. sort?: number | null
  254. }
  255. export interface AuthUserProfileDto {
  256. /** 账号 */
  257. userName?: string | null
  258. /** 姓名 */
  259. name?: string | null
  260. /** 昵称 */
  261. nickName?: string | null
  262. /** 头像 */
  263. avatar?: string | null
  264. }
  265. export interface CaptchaInput {
  266. /** 校验唯一标识 */
  267. token?: string | null
  268. /** 缓存键 */
  269. captchaKey?: string | null
  270. /** 删除缓存 */
  271. deleteCache?: boolean
  272. /** 数据 */
  273. data?: string | null
  274. }
  275. /** 验证数据 */
  276. export interface CaptchaOutput {
  277. /** 校验唯一标识 */
  278. token?: string | null
  279. /** 数据 */
  280. data?: any
  281. }
  282. /**
  283. * 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5
  284. * @format int32
  285. */
  286. export type DataScope = 1 | 2 | 3 | 4 | 5
  287. /**
  288. * MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,CustomOracle=20,CustomSqlServer=21,CustomMySql=22,CustomPostgreSQL=23
  289. * @format int32
  290. */
  291. export type DataType = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23
  292. /** 添加 */
  293. export interface DictionaryAddInput {
  294. /**
  295. * 字典类型Id
  296. * @format int64
  297. */
  298. dictionaryTypeId?: number
  299. /** 字典名称 */
  300. name?: string | null
  301. /** 字典编码 */
  302. code?: string | null
  303. /** 字典值 */
  304. value?: string | null
  305. /** 描述 */
  306. description?: string | null
  307. /** 启用 */
  308. enabled?: boolean
  309. }
  310. export interface DictionaryGetOutput {
  311. /**
  312. * 字典类型Id
  313. * @format int64
  314. */
  315. dictionaryTypeId?: number
  316. /** 字典名称 */
  317. name?: string | null
  318. /** 字典编码 */
  319. code?: string | null
  320. /** 字典值 */
  321. value?: string | null
  322. /** 描述 */
  323. description?: string | null
  324. /** 启用 */
  325. enabled?: boolean
  326. /**
  327. * 主键Id
  328. * @format int64
  329. */
  330. id: number
  331. }
  332. export interface DictionaryGetPageDto {
  333. /**
  334. * 字典类型Id
  335. * @format int64
  336. */
  337. dictionaryTypeId?: number
  338. /** 字典名称 */
  339. name?: string | null
  340. }
  341. export interface DictionaryListOutput {
  342. /**
  343. * 主键Id
  344. * @format int64
  345. */
  346. id?: number
  347. /** 字典名称 */
  348. name?: string | null
  349. /** 字典编码 */
  350. code?: string | null
  351. /** 字典值 */
  352. value?: string | null
  353. /** 启用 */
  354. enabled?: boolean
  355. }
  356. /** 添加 */
  357. export interface DictionaryTypeAddInput {
  358. /** 字典名称 */
  359. name?: string | null
  360. /** 字典编码 */
  361. code?: string | null
  362. /** 描述 */
  363. description?: string | null
  364. /** 启用 */
  365. enabled?: boolean
  366. }
  367. export interface DictionaryTypeGetOutput {
  368. /** 字典名称 */
  369. name?: string | null
  370. /** 字典编码 */
  371. code?: string | null
  372. /** 描述 */
  373. description?: string | null
  374. /** 启用 */
  375. enabled?: boolean
  376. /**
  377. * 主键Id
  378. * @format int64
  379. */
  380. id: number
  381. }
  382. export interface DictionaryTypeGetPageDto {
  383. /** 字典名称 */
  384. name?: string | null
  385. }
  386. export interface DictionaryTypeListOutput {
  387. /**
  388. * 主键Id
  389. * @format int64
  390. */
  391. id?: number
  392. /** 字典名称 */
  393. name?: string | null
  394. /** 字典编码 */
  395. code?: string | null
  396. /** 启用 */
  397. enabled?: boolean
  398. }
  399. /** 修改 */
  400. export interface DictionaryTypeUpdateInput {
  401. /** 字典名称 */
  402. name?: string | null
  403. /** 字典编码 */
  404. code?: string | null
  405. /** 描述 */
  406. description?: string | null
  407. /** 启用 */
  408. enabled?: boolean
  409. /**
  410. * 主键Id
  411. * @format int64
  412. */
  413. id: number
  414. }
  415. /** 修改 */
  416. export interface DictionaryUpdateInput {
  417. /**
  418. * 字典类型Id
  419. * @format int64
  420. */
  421. dictionaryTypeId?: number
  422. /** 字典名称 */
  423. name?: string | null
  424. /** 字典编码 */
  425. code?: string | null
  426. /** 字典值 */
  427. value?: string | null
  428. /** 描述 */
  429. description?: string | null
  430. /** 启用 */
  431. enabled?: boolean
  432. /**
  433. * 主键Id
  434. * @format int64
  435. */
  436. id: number
  437. }
  438. export interface DocumentAddGroupInput {
  439. /**
  440. * 父级节点
  441. * @format int64
  442. */
  443. parentId?: number
  444. /** 文档类型:Group=1,Markdown=2 */
  445. type?: DocumentType
  446. /** 名称 */
  447. label?: string | null
  448. /** 命名 */
  449. name?: string | null
  450. /** 打开 */
  451. opened?: boolean | null
  452. }
  453. export interface DocumentAddImageInput {
  454. /**
  455. * 用户Id
  456. * @format int64
  457. */
  458. documentId?: number
  459. /** 请求路径 */
  460. url?: string | null
  461. }
  462. export interface DocumentAddMenuInput {
  463. /**
  464. * 父级节点
  465. * @format int64
  466. */
  467. parentId?: number
  468. /** 文档类型:Group=1,Markdown=2 */
  469. type?: DocumentType
  470. /** 命名 */
  471. name?: string | null
  472. /** 名称 */
  473. label?: string | null
  474. /** 说明 */
  475. description?: string | null
  476. }
  477. export interface DocumentGetContentOutput {
  478. /**
  479. * 编号
  480. * @format int64
  481. */
  482. id?: number
  483. /** 名称 */
  484. label?: string | null
  485. /** 内容 */
  486. content?: string | null
  487. }
  488. export interface DocumentGetGroupOutput {
  489. /**
  490. * 父级节点
  491. * @format int64
  492. */
  493. parentId?: number
  494. /** 文档类型:Group=1,Markdown=2 */
  495. type?: DocumentType
  496. /** 名称 */
  497. label?: string | null
  498. /** 命名 */
  499. name?: string | null
  500. /** 打开 */
  501. opened?: boolean | null
  502. /**
  503. * 编号
  504. * @format int64
  505. */
  506. id: number
  507. }
  508. export interface DocumentGetMenuOutput {
  509. /**
  510. * 父级节点
  511. * @format int64
  512. */
  513. parentId?: number
  514. /** 文档类型:Group=1,Markdown=2 */
  515. type?: DocumentType
  516. /** 命名 */
  517. name?: string | null
  518. /** 名称 */
  519. label?: string | null
  520. /** 说明 */
  521. description?: string | null
  522. /**
  523. * 编号
  524. * @format int64
  525. */
  526. id: number
  527. }
  528. export interface DocumentListOutput {
  529. /**
  530. * 编号
  531. * @format int64
  532. */
  533. id?: number
  534. /**
  535. * 父级节点
  536. * @format int64
  537. */
  538. parentId?: number
  539. /** 名称 */
  540. label?: string | null
  541. /** 文档类型:Group=1,Markdown=2 */
  542. type?: DocumentType
  543. /** 命名 */
  544. name?: string | null
  545. /** 描述 */
  546. description?: string | null
  547. /** 组打开 */
  548. opened?: boolean | null
  549. }
  550. /**
  551. * 文档类型:Group=1,Markdown=2
  552. * @format int32
  553. */
  554. export type DocumentType = 1 | 2
  555. export interface DocumentUpdateContentInput {
  556. /**
  557. * 编号
  558. * @format int64
  559. */
  560. id: number
  561. /** 名称 */
  562. label?: string | null
  563. /** 内容 */
  564. content?: string | null
  565. /** Html */
  566. html?: string | null
  567. }
  568. export interface DocumentUpdateGroupInput {
  569. /**
  570. * 父级节点
  571. * @format int64
  572. */
  573. parentId?: number
  574. /** 文档类型:Group=1,Markdown=2 */
  575. type?: DocumentType
  576. /** 名称 */
  577. label?: string | null
  578. /** 命名 */
  579. name?: string | null
  580. /** 打开 */
  581. opened?: boolean | null
  582. /**
  583. * 编号
  584. * @format int64
  585. */
  586. id: number
  587. }
  588. export interface DocumentUpdateMenuInput {
  589. /**
  590. * 父级节点
  591. * @format int64
  592. */
  593. parentId?: number
  594. /** 文档类型:Group=1,Markdown=2 */
  595. type?: DocumentType
  596. /** 命名 */
  597. name?: string | null
  598. /** 名称 */
  599. label?: string | null
  600. /** 说明 */
  601. description?: string | null
  602. /**
  603. * 编号
  604. * @format int64
  605. */
  606. id: number
  607. }
  608. export interface DynamicFilterInfo {
  609. field?: string | null
  610. /** Contains=0,StartsWith=1,EndsWith=2,NotContains=3,NotStartsWith=4,NotEndsWith=5,Equal=6,Equals=7,Eq=8,NotEqual=9,GreaterThan=10,GreaterThanOrEqual=11,LessThan=12,LessThanOrEqual=13,Range=14,DateRange=15,Any=16,NotAny=17,Custom=18 */
  611. operator?: DynamicFilterOperator
  612. value?: any
  613. /** And=0,Or=1 */
  614. logic?: DynamicFilterLogic
  615. filters?: DynamicFilterInfo[] | null
  616. }
  617. /**
  618. * And=0,Or=1
  619. * @format int32
  620. */
  621. export type DynamicFilterLogic = 0 | 1
  622. /**
  623. * Contains=0,StartsWith=1,EndsWith=2,NotContains=3,NotStartsWith=4,NotEndsWith=5,Equal=6,Equals=7,Eq=8,NotEqual=9,GreaterThan=10,GreaterThanOrEqual=11,LessThan=12,LessThanOrEqual=13,Range=14,DateRange=15,Any=16,NotAny=17,Custom=18
  624. * @format int32
  625. */
  626. export type DynamicFilterOperator = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18
  627. export interface FileGetPageDto {
  628. /** 文件名 */
  629. fileName?: string | null
  630. }
  631. export interface FileGetPageOutput {
  632. /** Invalid=0,Minio=1,Aliyun=2,QCloud=3,Qiniu=4,HuaweiCloud=5 */
  633. provider?: OSSProvider
  634. /** 存储桶名称 */
  635. bucketName?: string | null
  636. /**
  637. * 文件Guid
  638. * @format uuid
  639. */
  640. fileGuid?: string
  641. /** 文件名 */
  642. fileName?: string | null
  643. /** 文件扩展名 */
  644. extension?: string | null
  645. /** 文件大小格式化 */
  646. sizeFormat?: string | null
  647. /** 链接地址 */
  648. linkUrl?: string | null
  649. }
  650. export interface LogGetPageDto {
  651. /** 创建者 */
  652. createdUserName?: string | null
  653. }
  654. /** 添加 */
  655. export interface LoginLogAddInput {
  656. /**
  657. * 租户Id
  658. * @format int64
  659. */
  660. tenantId?: number | null
  661. /** 姓名 */
  662. name?: string | null
  663. /** IP */
  664. ip?: string | null
  665. /** 浏览器 */
  666. browser?: string | null
  667. /** 操作系统 */
  668. os?: string | null
  669. /** 设备 */
  670. device?: string | null
  671. /** 浏览器信息 */
  672. browserInfo?: string | null
  673. /**
  674. * 耗时(毫秒)
  675. * @format int64
  676. */
  677. elapsedMilliseconds?: number
  678. /** 操作状态 */
  679. status?: boolean | null
  680. /** 操作消息 */
  681. msg?: string | null
  682. /** 操作结果 */
  683. result?: string | null
  684. /**
  685. * 创建者Id
  686. * @format int64
  687. */
  688. createdUserId?: number | null
  689. /** 创建者 */
  690. createdUserName?: string | null
  691. }
  692. export interface LoginLogListOutput {
  693. /**
  694. * 编号
  695. * @format int64
  696. */
  697. id?: number
  698. /** 昵称 */
  699. nickName?: string | null
  700. /** 创建者 */
  701. createdUserName?: string | null
  702. /** IP */
  703. ip?: string | null
  704. /** 浏览器 */
  705. browser?: string | null
  706. /** 操作系统 */
  707. os?: string | null
  708. /** 设备 */
  709. device?: string | null
  710. /**
  711. * 耗时(毫秒)
  712. * @format int64
  713. */
  714. elapsedMilliseconds?: number
  715. /** 操作状态 */
  716. status?: boolean
  717. /** 操作消息 */
  718. msg?: string | null
  719. /**
  720. * 创建时间
  721. * @format date-time
  722. */
  723. createdTime?: string | null
  724. }
  725. /**
  726. * Invalid=0,Minio=1,Aliyun=2,QCloud=3,Qiniu=4,HuaweiCloud=5
  727. * @format int32
  728. */
  729. export type OSSProvider = 0 | 1 | 2 | 3 | 4 | 5
  730. /** 添加 */
  731. export interface OprationLogAddInput {
  732. /** 姓名 */
  733. name?: string | null
  734. /** 接口名称 */
  735. apiLabel?: string | null
  736. /** 接口地址 */
  737. apiPath?: string | null
  738. /** 接口提交方法 */
  739. apiMethod?: string | null
  740. /** IP */
  741. ip?: string | null
  742. /** 浏览器 */
  743. browser?: string | null
  744. /** 操作系统 */
  745. os?: string | null
  746. /** 设备 */
  747. device?: string | null
  748. /** 浏览器信息 */
  749. browserInfo?: string | null
  750. /**
  751. * 耗时(毫秒)
  752. * @format int64
  753. */
  754. elapsedMilliseconds?: number
  755. /** 操作状态 */
  756. status?: boolean | null
  757. /** 操作消息 */
  758. msg?: string | null
  759. /** 操作参数 */
  760. params?: string | null
  761. /** 操作结果 */
  762. result?: string | null
  763. }
  764. export interface OprationLogListOutput {
  765. /**
  766. * 编号
  767. * @format int64
  768. */
  769. id?: number
  770. /** 昵称 */
  771. nickName?: string | null
  772. /** 创建者 */
  773. createdUserName?: string | null
  774. /** 接口名称 */
  775. apiLabel?: string | null
  776. /** 接口地址 */
  777. apiPath?: string | null
  778. /** 接口提交方法 */
  779. apiMethod?: string | null
  780. /** IP */
  781. ip?: string | null
  782. /** 浏览器 */
  783. browser?: string | null
  784. /** 操作系统 */
  785. os?: string | null
  786. /** 设备 */
  787. device?: string | null
  788. /**
  789. * 耗时(毫秒)
  790. * @format int64
  791. */
  792. elapsedMilliseconds?: number
  793. /** 操作状态 */
  794. status?: boolean
  795. /** 操作消息 */
  796. msg?: string | null
  797. /**
  798. * 创建时间
  799. * @format date-time
  800. */
  801. createdTime?: string | null
  802. }
  803. /** 添加 */
  804. export interface OrgAddInput {
  805. /**
  806. * 父级
  807. * @format int64
  808. */
  809. parentId?: number
  810. /** 名称 */
  811. name?: string | null
  812. /** 编码 */
  813. code?: string | null
  814. /** 值 */
  815. value?: string | null
  816. /** 启用 */
  817. enabled?: boolean
  818. /**
  819. * 排序
  820. * @format int32
  821. */
  822. sort?: number
  823. /** 描述 */
  824. description?: string | null
  825. }
  826. /** 组织架构 */
  827. export interface OrgEntity {
  828. /**
  829. * 主键Id
  830. * @format int64
  831. */
  832. id?: number
  833. /**
  834. * 创建者Id
  835. * @format int64
  836. */
  837. createdUserId?: number | null
  838. /**
  839. * 创建者
  840. * @maxLength 50
  841. */
  842. createdUserName?: string | null
  843. /**
  844. * 创建时间
  845. * @format date-time
  846. */
  847. createdTime?: string | null
  848. /**
  849. * 修改者Id
  850. * @format int64
  851. */
  852. modifiedUserId?: number | null
  853. /**
  854. * 修改者
  855. * @maxLength 50
  856. */
  857. modifiedUserName?: string | null
  858. /**
  859. * 修改时间
  860. * @format date-time
  861. */
  862. modifiedTime?: string | null
  863. /** 是否删除 */
  864. isDeleted?: boolean
  865. /**
  866. * 租户Id
  867. * @format int64
  868. */
  869. tenantId?: number | null
  870. /**
  871. * 父级
  872. * @format int64
  873. */
  874. parentId?: number
  875. /** 名称 */
  876. name?: string | null
  877. /** 编码 */
  878. code?: string | null
  879. /** 值 */
  880. value?: string | null
  881. /**
  882. * 成员数
  883. * @format int32
  884. */
  885. memberCount?: number
  886. /** 启用 */
  887. enabled?: boolean
  888. /**
  889. * 排序
  890. * @format int32
  891. */
  892. sort?: number
  893. /** 描述 */
  894. description?: string | null
  895. /** 员工列表 */
  896. staffs?: UserStaffEntity[] | null
  897. /** 用户列表 */
  898. users?: UserEntity[] | null
  899. /** 角色列表 */
  900. roles?: RoleEntity[] | null
  901. /** 子级列表 */
  902. childs?: OrgEntity[] | null
  903. }
  904. export interface OrgGetOutput {
  905. /**
  906. * 父级
  907. * @format int64
  908. */
  909. parentId?: number
  910. /** 名称 */
  911. name?: string | null
  912. /** 编码 */
  913. code?: string | null
  914. /** 值 */
  915. value?: string | null
  916. /** 启用 */
  917. enabled?: boolean
  918. /**
  919. * 排序
  920. * @format int32
  921. */
  922. sort?: number
  923. /** 描述 */
  924. description?: string | null
  925. /**
  926. * 主键Id
  927. * @format int64
  928. */
  929. id: number
  930. }
  931. export interface OrgListOutput {
  932. /**
  933. * 主键Id
  934. * @format int64
  935. */
  936. id?: number
  937. /**
  938. * 父级
  939. * @format int64
  940. */
  941. parentId?: number
  942. /** 名称 */
  943. name?: string | null
  944. /** 编码 */
  945. code?: string | null
  946. /** 值 */
  947. value?: string | null
  948. /** 启用 */
  949. enabled?: boolean
  950. /**
  951. * 排序
  952. * @format int32
  953. */
  954. sort?: number
  955. /** 描述 */
  956. description?: string | null
  957. /**
  958. * 创建时间
  959. * @format date-time
  960. */
  961. createdTime?: string | null
  962. }
  963. /** 修改 */
  964. export interface OrgUpdateInput {
  965. /**
  966. * 父级
  967. * @format int64
  968. */
  969. parentId?: number
  970. /** 名称 */
  971. name?: string | null
  972. /** 编码 */
  973. code?: string | null
  974. /** 值 */
  975. value?: string | null
  976. /** 启用 */
  977. enabled?: boolean
  978. /**
  979. * 排序
  980. * @format int32
  981. */
  982. sort?: number
  983. /** 描述 */
  984. description?: string | null
  985. /**
  986. * 主键Id
  987. * @format int64
  988. */
  989. id: number
  990. }
  991. /** 分页信息输入 */
  992. export interface PageInputApiGetPageDto {
  993. /**
  994. * 当前页标
  995. * @format int32
  996. */
  997. currentPage?: number
  998. /**
  999. * 每页大小
  1000. * @format int32
  1001. */
  1002. pageSize?: number
  1003. dynamicFilter?: DynamicFilterInfo
  1004. filter?: ApiGetPageDto
  1005. }
  1006. /** 分页信息输入 */
  1007. export interface PageInputDictionaryGetPageDto {
  1008. /**
  1009. * 当前页标
  1010. * @format int32
  1011. */
  1012. currentPage?: number
  1013. /**
  1014. * 每页大小
  1015. * @format int32
  1016. */
  1017. pageSize?: number
  1018. dynamicFilter?: DynamicFilterInfo
  1019. filter?: DictionaryGetPageDto
  1020. }
  1021. /** 分页信息输入 */
  1022. export interface PageInputDictionaryTypeGetPageDto {
  1023. /**
  1024. * 当前页标
  1025. * @format int32
  1026. */
  1027. currentPage?: number
  1028. /**
  1029. * 每页大小
  1030. * @format int32
  1031. */
  1032. pageSize?: number
  1033. dynamicFilter?: DynamicFilterInfo
  1034. filter?: DictionaryTypeGetPageDto
  1035. }
  1036. /** 分页信息输入 */
  1037. export interface PageInputFileGetPageDto {
  1038. /**
  1039. * 当前页标
  1040. * @format int32
  1041. */
  1042. currentPage?: number
  1043. /**
  1044. * 每页大小
  1045. * @format int32
  1046. */
  1047. pageSize?: number
  1048. dynamicFilter?: DynamicFilterInfo
  1049. filter?: FileGetPageDto
  1050. }
  1051. /** 分页信息输入 */
  1052. export interface PageInputLogGetPageDto {
  1053. /**
  1054. * 当前页标
  1055. * @format int32
  1056. */
  1057. currentPage?: number
  1058. /**
  1059. * 每页大小
  1060. * @format int32
  1061. */
  1062. pageSize?: number
  1063. dynamicFilter?: DynamicFilterInfo
  1064. filter?: LogGetPageDto
  1065. }
  1066. /** 分页信息输入 */
  1067. export interface PageInputRoleGetPageDto {
  1068. /**
  1069. * 当前页标
  1070. * @format int32
  1071. */
  1072. currentPage?: number
  1073. /**
  1074. * 每页大小
  1075. * @format int32
  1076. */
  1077. pageSize?: number
  1078. dynamicFilter?: DynamicFilterInfo
  1079. filter?: RoleGetPageDto
  1080. }
  1081. /** 分页信息输入 */
  1082. export interface PageInputTaskGetPageDto {
  1083. /**
  1084. * 当前页标
  1085. * @format int32
  1086. */
  1087. currentPage?: number
  1088. /**
  1089. * 每页大小
  1090. * @format int32
  1091. */
  1092. pageSize?: number
  1093. dynamicFilter?: DynamicFilterInfo
  1094. filter?: TaskGetPageDto
  1095. }
  1096. /** 分页信息输入 */
  1097. export interface PageInputTaskLogGetPageDto {
  1098. /**
  1099. * 当前页标
  1100. * @format int32
  1101. */
  1102. currentPage?: number
  1103. /**
  1104. * 每页大小
  1105. * @format int32
  1106. */
  1107. pageSize?: number
  1108. dynamicFilter?: DynamicFilterInfo
  1109. filter?: TaskLogGetPageDto
  1110. }
  1111. /** 分页信息输入 */
  1112. export interface PageInputTenantGetPageDto {
  1113. /**
  1114. * 当前页标
  1115. * @format int32
  1116. */
  1117. currentPage?: number
  1118. /**
  1119. * 每页大小
  1120. * @format int32
  1121. */
  1122. pageSize?: number
  1123. dynamicFilter?: DynamicFilterInfo
  1124. filter?: TenantGetPageDto
  1125. }
  1126. /** 分页信息输入 */
  1127. export interface PageInputUserGetPageDto {
  1128. /**
  1129. * 当前页标
  1130. * @format int32
  1131. */
  1132. currentPage?: number
  1133. /**
  1134. * 每页大小
  1135. * @format int32
  1136. */
  1137. pageSize?: number
  1138. dynamicFilter?: DynamicFilterInfo
  1139. /** 用户分页查询条件 */
  1140. filter?: UserGetPageDto
  1141. }
  1142. /** 分页信息输出 */
  1143. export interface PageOutputApiEntity {
  1144. /**
  1145. * 数据总数
  1146. * @format int64
  1147. */
  1148. total?: number
  1149. /** 数据 */
  1150. list?: ApiEntity[] | null
  1151. }
  1152. /** 分页信息输出 */
  1153. export interface PageOutputDictionaryListOutput {
  1154. /**
  1155. * 数据总数
  1156. * @format int64
  1157. */
  1158. total?: number
  1159. /** 数据 */
  1160. list?: DictionaryListOutput[] | null
  1161. }
  1162. /** 分页信息输出 */
  1163. export interface PageOutputDictionaryTypeListOutput {
  1164. /**
  1165. * 数据总数
  1166. * @format int64
  1167. */
  1168. total?: number
  1169. /** 数据 */
  1170. list?: DictionaryTypeListOutput[] | null
  1171. }
  1172. /** 分页信息输出 */
  1173. export interface PageOutputFileGetPageOutput {
  1174. /**
  1175. * 数据总数
  1176. * @format int64
  1177. */
  1178. total?: number
  1179. /** 数据 */
  1180. list?: FileGetPageOutput[] | null
  1181. }
  1182. /** 分页信息输出 */
  1183. export interface PageOutputLoginLogListOutput {
  1184. /**
  1185. * 数据总数
  1186. * @format int64
  1187. */
  1188. total?: number
  1189. /** 数据 */
  1190. list?: LoginLogListOutput[] | null
  1191. }
  1192. /** 分页信息输出 */
  1193. export interface PageOutputOprationLogListOutput {
  1194. /**
  1195. * 数据总数
  1196. * @format int64
  1197. */
  1198. total?: number
  1199. /** 数据 */
  1200. list?: OprationLogListOutput[] | null
  1201. }
  1202. /** 分页信息输出 */
  1203. export interface PageOutputRoleGetPageOutput {
  1204. /**
  1205. * 数据总数
  1206. * @format int64
  1207. */
  1208. total?: number
  1209. /** 数据 */
  1210. list?: RoleGetPageOutput[] | null
  1211. }
  1212. /** 分页信息输出 */
  1213. export interface PageOutputTaskListOutput {
  1214. /**
  1215. * 数据总数
  1216. * @format int64
  1217. */
  1218. total?: number
  1219. /** 数据 */
  1220. list?: TaskListOutput[] | null
  1221. }
  1222. /** 分页信息输出 */
  1223. export interface PageOutputTaskLog {
  1224. /**
  1225. * 数据总数
  1226. * @format int64
  1227. */
  1228. total?: number
  1229. /** 数据 */
  1230. list?: TaskLog[] | null
  1231. }
  1232. /** 分页信息输出 */
  1233. export interface PageOutputTenantListOutput {
  1234. /**
  1235. * 数据总数
  1236. * @format int64
  1237. */
  1238. total?: number
  1239. /** 数据 */
  1240. list?: TenantListOutput[] | null
  1241. }
  1242. /** 分页信息输出 */
  1243. export interface PageOutputUserGetPageOutput {
  1244. /**
  1245. * 数据总数
  1246. * @format int64
  1247. */
  1248. total?: number
  1249. /** 数据 */
  1250. list?: UserGetPageOutput[] | null
  1251. }
  1252. export interface PermissionAddApiInput {
  1253. /**
  1254. * 父级节点
  1255. * @format int64
  1256. */
  1257. parentId?: number
  1258. /**
  1259. * 接口
  1260. * @format int64
  1261. */
  1262. apiId?: number | null
  1263. /** 权限名称 */
  1264. label?: string | null
  1265. /** 权限编码 */
  1266. code?: string | null
  1267. /** 说明 */
  1268. description?: string | null
  1269. /** 隐藏 */
  1270. hidden?: boolean
  1271. /** 图标 */
  1272. icon?: string | null
  1273. /**
  1274. * 排序
  1275. * @format int32
  1276. */
  1277. sort?: number
  1278. /** 启用 */
  1279. enabled?: boolean
  1280. }
  1281. export interface PermissionAddDotInput {
  1282. /**
  1283. * 父级节点
  1284. * @format int64
  1285. */
  1286. parentId?: number
  1287. /** 关联接口 */
  1288. apiIds?: number[] | null
  1289. /** 权限名称 */
  1290. label?: string | null
  1291. /** 权限编码 */
  1292. code?: string | null
  1293. /** 说明 */
  1294. description?: string | null
  1295. /** 图标 */
  1296. icon?: string | null
  1297. /**
  1298. * 排序
  1299. * @format int32
  1300. */
  1301. sort?: number
  1302. /** 启用 */
  1303. enabled?: boolean
  1304. }
  1305. export interface PermissionAddGroupInput {
  1306. /**
  1307. * 父级节点
  1308. * @format int64
  1309. */
  1310. parentId?: number
  1311. /**
  1312. * 视图
  1313. * @format int64
  1314. */
  1315. viewId?: number | null
  1316. /** 路由命名 */
  1317. name?: string | null
  1318. /** 访问路由地址 */
  1319. path?: string | null
  1320. /** 重定向地址 */
  1321. redirect?: string | null
  1322. /** 权限名称 */
  1323. label?: string | null
  1324. /** 隐藏 */
  1325. hidden?: boolean
  1326. /** 图标 */
  1327. icon?: string | null
  1328. /** 展开 */
  1329. opened?: boolean
  1330. /**
  1331. * 排序
  1332. * @format int32
  1333. */
  1334. sort?: number
  1335. /** 启用 */
  1336. enabled?: boolean
  1337. }
  1338. export interface PermissionAddMenuInput {
  1339. /**
  1340. * 父级节点
  1341. * @format int64
  1342. */
  1343. parentId?: number
  1344. /**
  1345. * 视图
  1346. * @format int64
  1347. */
  1348. viewId?: number | null
  1349. /** 路由命名 */
  1350. name?: string | null
  1351. /** 路由地址 */
  1352. path?: string | null
  1353. /** 权限名称 */
  1354. label?: string | null
  1355. /** 说明 */
  1356. description?: string | null
  1357. /** 隐藏 */
  1358. hidden?: boolean
  1359. /** 图标 */
  1360. icon?: string | null
  1361. /** 打开新窗口 */
  1362. newWindow?: boolean
  1363. /** 链接外显 */
  1364. external?: boolean
  1365. /** 是否缓存 */
  1366. isKeepAlive?: boolean
  1367. /** 是否固定 */
  1368. isAffix?: boolean
  1369. /** 链接地址 */
  1370. link?: string | null
  1371. /** 是否内嵌窗口 */
  1372. isIframe?: boolean
  1373. /**
  1374. * 排序
  1375. * @format int32
  1376. */
  1377. sort?: number
  1378. /** 启用 */
  1379. enabled?: boolean
  1380. }
  1381. export interface PermissionAssignInput {
  1382. /** @format int64 */
  1383. roleId: number
  1384. permissionIds: number[]
  1385. }
  1386. /** 权限 */
  1387. export interface PermissionEntity {
  1388. /**
  1389. * 主键Id
  1390. * @format int64
  1391. */
  1392. id?: number
  1393. /**
  1394. * 创建者Id
  1395. * @format int64
  1396. */
  1397. createdUserId?: number | null
  1398. /**
  1399. * 创建者
  1400. * @maxLength 50
  1401. */
  1402. createdUserName?: string | null
  1403. /**
  1404. * 创建时间
  1405. * @format date-time
  1406. */
  1407. createdTime?: string | null
  1408. /**
  1409. * 修改者Id
  1410. * @format int64
  1411. */
  1412. modifiedUserId?: number | null
  1413. /**
  1414. * 修改者
  1415. * @maxLength 50
  1416. */
  1417. modifiedUserName?: string | null
  1418. /**
  1419. * 修改时间
  1420. * @format date-time
  1421. */
  1422. modifiedTime?: string | null
  1423. /** 是否删除 */
  1424. isDeleted?: boolean
  1425. /**
  1426. * 父级节点
  1427. * @format int64
  1428. */
  1429. parentId?: number
  1430. /** 权限名称 */
  1431. label?: string | null
  1432. /** 权限编码 */
  1433. code?: string | null
  1434. /** 权限类型:Group=1,Menu=2,Dot=3 */
  1435. type?: PermissionType
  1436. /**
  1437. * 视图Id
  1438. * @format int64
  1439. */
  1440. viewId?: number | null
  1441. /** 视图管理 */
  1442. view?: ViewEntity
  1443. /** 路由命名 */
  1444. name?: string | null
  1445. /** 路由地址 */
  1446. path?: string | null
  1447. /** 重定向地址 */
  1448. redirect?: string | null
  1449. /** 图标 */
  1450. icon?: string | null
  1451. /** 隐藏 */
  1452. hidden?: boolean
  1453. /** 展开分组 */
  1454. opened?: boolean
  1455. /** 打开新窗口 */
  1456. newWindow?: boolean
  1457. /** 链接外显 */
  1458. external?: boolean
  1459. /** 是否缓存 */
  1460. isKeepAlive?: boolean
  1461. /** 是否固定 */
  1462. isAffix?: boolean
  1463. /** 链接地址 */
  1464. link?: string | null
  1465. /** 是否内嵌窗口 */
  1466. isIframe?: boolean
  1467. /**
  1468. * 排序
  1469. * @format int32
  1470. */
  1471. sort?: number
  1472. /** 描述 */
  1473. description?: string | null
  1474. /** 启用 */
  1475. enabled?: boolean
  1476. apis?: ApiEntity[] | null
  1477. childs?: PermissionEntity[] | null
  1478. }
  1479. export interface PermissionGetApiOutput {
  1480. /**
  1481. * 父级节点
  1482. * @format int64
  1483. */
  1484. parentId?: number
  1485. /**
  1486. * 接口
  1487. * @format int64
  1488. */
  1489. apiId?: number | null
  1490. /** 权限名称 */
  1491. label?: string | null
  1492. /** 权限编码 */
  1493. code?: string | null
  1494. /** 说明 */
  1495. description?: string | null
  1496. /** 隐藏 */
  1497. hidden?: boolean
  1498. /** 图标 */
  1499. icon?: string | null
  1500. /**
  1501. * 排序
  1502. * @format int32
  1503. */
  1504. sort?: number
  1505. /** 启用 */
  1506. enabled?: boolean
  1507. /**
  1508. * 权限Id
  1509. * @format int64
  1510. */
  1511. id: number
  1512. }
  1513. export interface PermissionGetDotOutput {
  1514. /**
  1515. * 父级节点
  1516. * @format int64
  1517. */
  1518. parentId?: number
  1519. /** 关联接口 */
  1520. apiIds?: number[] | null
  1521. /** 权限名称 */
  1522. label?: string | null
  1523. /** 权限编码 */
  1524. code?: string | null
  1525. /** 说明 */
  1526. description?: string | null
  1527. /** 图标 */
  1528. icon?: string | null
  1529. /**
  1530. * 排序
  1531. * @format int32
  1532. */
  1533. sort?: number
  1534. /** 启用 */
  1535. enabled?: boolean
  1536. /**
  1537. * 权限Id
  1538. * @format int64
  1539. */
  1540. id: number
  1541. }
  1542. export interface PermissionGetGroupOutput {
  1543. /**
  1544. * 父级节点
  1545. * @format int64
  1546. */
  1547. parentId?: number
  1548. /**
  1549. * 视图
  1550. * @format int64
  1551. */
  1552. viewId?: number | null
  1553. /** 路由命名 */
  1554. name?: string | null
  1555. /** 访问路由地址 */
  1556. path?: string | null
  1557. /** 重定向地址 */
  1558. redirect?: string | null
  1559. /** 权限名称 */
  1560. label?: string | null
  1561. /** 隐藏 */
  1562. hidden?: boolean
  1563. /** 图标 */
  1564. icon?: string | null
  1565. /** 展开 */
  1566. opened?: boolean
  1567. /**
  1568. * 排序
  1569. * @format int32
  1570. */
  1571. sort?: number
  1572. /** 启用 */
  1573. enabled?: boolean
  1574. /**
  1575. * 权限Id
  1576. * @format int64
  1577. */
  1578. id: number
  1579. }
  1580. export interface PermissionGetMenuOutput {
  1581. /**
  1582. * 父级节点
  1583. * @format int64
  1584. */
  1585. parentId?: number
  1586. /**
  1587. * 视图
  1588. * @format int64
  1589. */
  1590. viewId?: number | null
  1591. /** 路由命名 */
  1592. name?: string | null
  1593. /** 路由地址 */
  1594. path?: string | null
  1595. /** 权限名称 */
  1596. label?: string | null
  1597. /** 说明 */
  1598. description?: string | null
  1599. /** 隐藏 */
  1600. hidden?: boolean
  1601. /** 图标 */
  1602. icon?: string | null
  1603. /** 打开新窗口 */
  1604. newWindow?: boolean
  1605. /** 链接外显 */
  1606. external?: boolean
  1607. /** 是否缓存 */
  1608. isKeepAlive?: boolean
  1609. /** 是否固定 */
  1610. isAffix?: boolean
  1611. /** 链接地址 */
  1612. link?: string | null
  1613. /** 是否内嵌窗口 */
  1614. isIframe?: boolean
  1615. /**
  1616. * 排序
  1617. * @format int32
  1618. */
  1619. sort?: number
  1620. /** 启用 */
  1621. enabled?: boolean
  1622. /**
  1623. * 权限Id
  1624. * @format int64
  1625. */
  1626. id: number
  1627. }
  1628. export interface PermissionListOutput {
  1629. /**
  1630. * 权限Id
  1631. * @format int64
  1632. */
  1633. id?: number
  1634. /**
  1635. * 父级节点
  1636. * @format int64
  1637. */
  1638. parentId?: number
  1639. /** 权限名称 */
  1640. label?: string | null
  1641. /** 权限类型:Group=1,Menu=2,Dot=3 */
  1642. type?: PermissionType
  1643. /** 路由地址 */
  1644. path?: string | null
  1645. /** 重定向地址 */
  1646. redirect?: string | null
  1647. /** 视图地址 */
  1648. viewPath?: string | null
  1649. /** 链接地址 */
  1650. link?: string | null
  1651. /** 接口路径 */
  1652. apiPaths?: string | null
  1653. /** 图标 */
  1654. icon?: string | null
  1655. /**
  1656. * 排序
  1657. * @format int32
  1658. */
  1659. sort?: number | null
  1660. /** 描述 */
  1661. description?: string | null
  1662. /** 启用 */
  1663. enabled?: boolean
  1664. }
  1665. export interface PermissionSaveTenantPermissionsInput {
  1666. /** @format int64 */
  1667. tenantId: number
  1668. permissionIds: number[]
  1669. }
  1670. /**
  1671. * 权限类型:Group=1,Menu=2,Dot=3
  1672. * @format int32
  1673. */
  1674. export type PermissionType = 1 | 2 | 3
  1675. export interface PermissionUpdateApiInput {
  1676. /**
  1677. * 父级节点
  1678. * @format int64
  1679. */
  1680. parentId?: number
  1681. /**
  1682. * 接口
  1683. * @format int64
  1684. */
  1685. apiId?: number | null
  1686. /** 权限名称 */
  1687. label?: string | null
  1688. /** 权限编码 */
  1689. code?: string | null
  1690. /** 说明 */
  1691. description?: string | null
  1692. /** 隐藏 */
  1693. hidden?: boolean
  1694. /** 图标 */
  1695. icon?: string | null
  1696. /**
  1697. * 排序
  1698. * @format int32
  1699. */
  1700. sort?: number
  1701. /** 启用 */
  1702. enabled?: boolean
  1703. /**
  1704. * 权限Id
  1705. * @format int64
  1706. */
  1707. id: number
  1708. }
  1709. export interface PermissionUpdateDotInput {
  1710. /**
  1711. * 父级节点
  1712. * @format int64
  1713. */
  1714. parentId?: number
  1715. /** 关联接口 */
  1716. apiIds?: number[] | null
  1717. /** 权限名称 */
  1718. label?: string | null
  1719. /** 权限编码 */
  1720. code?: string | null
  1721. /** 说明 */
  1722. description?: string | null
  1723. /** 图标 */
  1724. icon?: string | null
  1725. /**
  1726. * 排序
  1727. * @format int32
  1728. */
  1729. sort?: number
  1730. /** 启用 */
  1731. enabled?: boolean
  1732. /**
  1733. * 权限Id
  1734. * @format int64
  1735. */
  1736. id: number
  1737. }
  1738. export interface PermissionUpdateGroupInput {
  1739. /**
  1740. * 父级节点
  1741. * @format int64
  1742. */
  1743. parentId?: number
  1744. /**
  1745. * 视图
  1746. * @format int64
  1747. */
  1748. viewId?: number | null
  1749. /** 路由命名 */
  1750. name?: string | null
  1751. /** 访问路由地址 */
  1752. path?: string | null
  1753. /** 重定向地址 */
  1754. redirect?: string | null
  1755. /** 权限名称 */
  1756. label?: string | null
  1757. /** 隐藏 */
  1758. hidden?: boolean
  1759. /** 图标 */
  1760. icon?: string | null
  1761. /** 展开 */
  1762. opened?: boolean
  1763. /**
  1764. * 排序
  1765. * @format int32
  1766. */
  1767. sort?: number
  1768. /** 启用 */
  1769. enabled?: boolean
  1770. /**
  1771. * 权限Id
  1772. * @format int64
  1773. */
  1774. id: number
  1775. }
  1776. export interface PermissionUpdateMenuInput {
  1777. /**
  1778. * 父级节点
  1779. * @format int64
  1780. */
  1781. parentId?: number
  1782. /**
  1783. * 视图
  1784. * @format int64
  1785. */
  1786. viewId?: number | null
  1787. /** 路由命名 */
  1788. name?: string | null
  1789. /** 路由地址 */
  1790. path?: string | null
  1791. /** 权限名称 */
  1792. label?: string | null
  1793. /** 说明 */
  1794. description?: string | null
  1795. /** 隐藏 */
  1796. hidden?: boolean
  1797. /** 图标 */
  1798. icon?: string | null
  1799. /** 打开新窗口 */
  1800. newWindow?: boolean
  1801. /** 链接外显 */
  1802. external?: boolean
  1803. /** 是否缓存 */
  1804. isKeepAlive?: boolean
  1805. /** 是否固定 */
  1806. isAffix?: boolean
  1807. /** 链接地址 */
  1808. link?: string | null
  1809. /** 是否内嵌窗口 */
  1810. isIframe?: boolean
  1811. /**
  1812. * 排序
  1813. * @format int32
  1814. */
  1815. sort?: number
  1816. /** 启用 */
  1817. enabled?: boolean
  1818. /**
  1819. * 权限Id
  1820. * @format int64
  1821. */
  1822. id: number
  1823. }
  1824. /** 结果输出 */
  1825. export interface ResultOutputApiGetOutput {
  1826. /** 是否成功标记 */
  1827. success?: boolean
  1828. /** 编码 */
  1829. code?: string | null
  1830. /** 消息 */
  1831. msg?: string | null
  1832. data?: ApiGetOutput
  1833. }
  1834. /** 结果输出 */
  1835. export interface ResultOutputAuthGetPasswordEncryptKeyOutput {
  1836. /** 是否成功标记 */
  1837. success?: boolean
  1838. /** 编码 */
  1839. code?: string | null
  1840. /** 消息 */
  1841. msg?: string | null
  1842. data?: AuthGetPasswordEncryptKeyOutput
  1843. }
  1844. /** 结果输出 */
  1845. export interface ResultOutputAuthGetUserInfoOutput {
  1846. /** 是否成功标记 */
  1847. success?: boolean
  1848. /** 编码 */
  1849. code?: string | null
  1850. /** 消息 */
  1851. msg?: string | null
  1852. data?: AuthGetUserInfoOutput
  1853. }
  1854. /** 结果输出 */
  1855. export interface ResultOutputCaptchaOutput {
  1856. /** 是否成功标记 */
  1857. success?: boolean
  1858. /** 编码 */
  1859. code?: string | null
  1860. /** 消息 */
  1861. msg?: string | null
  1862. /** 验证数据 */
  1863. data?: CaptchaOutput
  1864. }
  1865. /** 结果输出 */
  1866. export interface ResultOutputDictionaryGetOutput {
  1867. /** 是否成功标记 */
  1868. success?: boolean
  1869. /** 编码 */
  1870. code?: string | null
  1871. /** 消息 */
  1872. msg?: string | null
  1873. data?: DictionaryGetOutput
  1874. }
  1875. /** 结果输出 */
  1876. export interface ResultOutputDictionaryTypeGetOutput {
  1877. /** 是否成功标记 */
  1878. success?: boolean
  1879. /** 编码 */
  1880. code?: string | null
  1881. /** 消息 */
  1882. msg?: string | null
  1883. data?: DictionaryTypeGetOutput
  1884. }
  1885. /** 结果输出 */
  1886. export interface ResultOutputDocumentGetContentOutput {
  1887. /** 是否成功标记 */
  1888. success?: boolean
  1889. /** 编码 */
  1890. code?: string | null
  1891. /** 消息 */
  1892. msg?: string | null
  1893. data?: DocumentGetContentOutput
  1894. }
  1895. /** 结果输出 */
  1896. export interface ResultOutputDocumentGetGroupOutput {
  1897. /** 是否成功标记 */
  1898. success?: boolean
  1899. /** 编码 */
  1900. code?: string | null
  1901. /** 消息 */
  1902. msg?: string | null
  1903. data?: DocumentGetGroupOutput
  1904. }
  1905. /** 结果输出 */
  1906. export interface ResultOutputDocumentGetMenuOutput {
  1907. /** 是否成功标记 */
  1908. success?: boolean
  1909. /** 编码 */
  1910. code?: string | null
  1911. /** 消息 */
  1912. msg?: string | null
  1913. data?: DocumentGetMenuOutput
  1914. }
  1915. /** 结果输出 */
  1916. export interface ResultOutputIEnumerableObject {
  1917. /** 是否成功标记 */
  1918. success?: boolean
  1919. /** 编码 */
  1920. code?: string | null
  1921. /** 消息 */
  1922. msg?: string | null
  1923. /** 数据 */
  1924. data?: any[] | null
  1925. }
  1926. /** 结果输出 */
  1927. export interface ResultOutputIListUserPermissionsOutput {
  1928. /** 是否成功标记 */
  1929. success?: boolean
  1930. /** 编码 */
  1931. code?: string | null
  1932. /** 消息 */
  1933. msg?: string | null
  1934. /** 数据 */
  1935. data?: UserPermissionsOutput[] | null
  1936. }
  1937. /** 结果输出 */
  1938. export interface ResultOutputInt64 {
  1939. /** 是否成功标记 */
  1940. success?: boolean
  1941. /** 编码 */
  1942. code?: string | null
  1943. /** 消息 */
  1944. msg?: string | null
  1945. /**
  1946. * 数据
  1947. * @format int64
  1948. */
  1949. data?: number
  1950. }
  1951. /** 结果输出 */
  1952. export interface ResultOutputListApiListOutput {
  1953. /** 是否成功标记 */
  1954. success?: boolean
  1955. /** 编码 */
  1956. code?: string | null
  1957. /** 消息 */
  1958. msg?: string | null
  1959. /** 数据 */
  1960. data?: ApiListOutput[] | null
  1961. }
  1962. /** 结果输出 */
  1963. export interface ResultOutputListDocumentListOutput {
  1964. /** 是否成功标记 */
  1965. success?: boolean
  1966. /** 编码 */
  1967. code?: string | null
  1968. /** 消息 */
  1969. msg?: string | null
  1970. /** 数据 */
  1971. data?: DocumentListOutput[] | null
  1972. }
  1973. /** 结果输出 */
  1974. export interface ResultOutputListInt64 {
  1975. /** 是否成功标记 */
  1976. success?: boolean
  1977. /** 编码 */
  1978. code?: string | null
  1979. /** 消息 */
  1980. msg?: string | null
  1981. /** 数据 */
  1982. data?: number[] | null
  1983. }
  1984. /** 结果输出 */
  1985. export interface ResultOutputListObject {
  1986. /** 是否成功标记 */
  1987. success?: boolean
  1988. /** 编码 */
  1989. code?: string | null
  1990. /** 消息 */
  1991. msg?: string | null
  1992. /** 数据 */
  1993. data?: any[] | null
  1994. }
  1995. /** 结果输出 */
  1996. export interface ResultOutputListOrgListOutput {
  1997. /** 是否成功标记 */
  1998. success?: boolean
  1999. /** 编码 */
  2000. code?: string | null
  2001. /** 消息 */
  2002. msg?: string | null
  2003. /** 数据 */
  2004. data?: OrgListOutput[] | null
  2005. }
  2006. /** 结果输出 */
  2007. export interface ResultOutputListPermissionListOutput {
  2008. /** 是否成功标记 */
  2009. success?: boolean
  2010. /** 编码 */
  2011. code?: string | null
  2012. /** 消息 */
  2013. msg?: string | null
  2014. /** 数据 */
  2015. data?: PermissionListOutput[] | null
  2016. }
  2017. /** 结果输出 */
  2018. export interface ResultOutputListRoleGetListOutput {
  2019. /** 是否成功标记 */
  2020. success?: boolean
  2021. /** 编码 */
  2022. code?: string | null
  2023. /** 消息 */
  2024. msg?: string | null
  2025. /** 数据 */
  2026. data?: RoleGetListOutput[] | null
  2027. }
  2028. /** 结果输出 */
  2029. export interface ResultOutputListString {
  2030. /** 是否成功标记 */
  2031. success?: boolean
  2032. /** 编码 */
  2033. code?: string | null
  2034. /** 消息 */
  2035. msg?: string | null
  2036. /** 数据 */
  2037. data?: string[] | null
  2038. }
  2039. /** 结果输出 */
  2040. export interface ResultOutputListUserGetRoleUserListOutput {
  2041. /** 是否成功标记 */
  2042. success?: boolean
  2043. /** 编码 */
  2044. code?: string | null
  2045. /** 消息 */
  2046. msg?: string | null
  2047. /** 数据 */
  2048. data?: UserGetRoleUserListOutput[] | null
  2049. }
  2050. /** 结果输出 */
  2051. export interface ResultOutputListViewListOutput {
  2052. /** 是否成功标记 */
  2053. success?: boolean
  2054. /** 编码 */
  2055. code?: string | null
  2056. /** 消息 */
  2057. msg?: string | null
  2058. /** 数据 */
  2059. data?: ViewListOutput[] | null
  2060. }
  2061. /** 结果输出 */
  2062. export interface ResultOutputObject {
  2063. /** 是否成功标记 */
  2064. success?: boolean
  2065. /** 编码 */
  2066. code?: string | null
  2067. /** 消息 */
  2068. msg?: string | null
  2069. /** 数据 */
  2070. data?: any
  2071. }
  2072. /** 结果输出 */
  2073. export interface ResultOutputOrgGetOutput {
  2074. /** 是否成功标记 */
  2075. success?: boolean
  2076. /** 编码 */
  2077. code?: string | null
  2078. /** 消息 */
  2079. msg?: string | null
  2080. data?: OrgGetOutput
  2081. }
  2082. /** 结果输出 */
  2083. export interface ResultOutputPageOutputApiEntity {
  2084. /** 是否成功标记 */
  2085. success?: boolean
  2086. /** 编码 */
  2087. code?: string | null
  2088. /** 消息 */
  2089. msg?: string | null
  2090. /** 分页信息输出 */
  2091. data?: PageOutputApiEntity
  2092. }
  2093. /** 结果输出 */
  2094. export interface ResultOutputPageOutputDictionaryListOutput {
  2095. /** 是否成功标记 */
  2096. success?: boolean
  2097. /** 编码 */
  2098. code?: string | null
  2099. /** 消息 */
  2100. msg?: string | null
  2101. /** 分页信息输出 */
  2102. data?: PageOutputDictionaryListOutput
  2103. }
  2104. /** 结果输出 */
  2105. export interface ResultOutputPageOutputDictionaryTypeListOutput {
  2106. /** 是否成功标记 */
  2107. success?: boolean
  2108. /** 编码 */
  2109. code?: string | null
  2110. /** 消息 */
  2111. msg?: string | null
  2112. /** 分页信息输出 */
  2113. data?: PageOutputDictionaryTypeListOutput
  2114. }
  2115. /** 结果输出 */
  2116. export interface ResultOutputPageOutputFileGetPageOutput {
  2117. /** 是否成功标记 */
  2118. success?: boolean
  2119. /** 编码 */
  2120. code?: string | null
  2121. /** 消息 */
  2122. msg?: string | null
  2123. /** 分页信息输出 */
  2124. data?: PageOutputFileGetPageOutput
  2125. }
  2126. /** 结果输出 */
  2127. export interface ResultOutputPageOutputLoginLogListOutput {
  2128. /** 是否成功标记 */
  2129. success?: boolean
  2130. /** 编码 */
  2131. code?: string | null
  2132. /** 消息 */
  2133. msg?: string | null
  2134. /** 分页信息输出 */
  2135. data?: PageOutputLoginLogListOutput
  2136. }
  2137. /** 结果输出 */
  2138. export interface ResultOutputPageOutputOprationLogListOutput {
  2139. /** 是否成功标记 */
  2140. success?: boolean
  2141. /** 编码 */
  2142. code?: string | null
  2143. /** 消息 */
  2144. msg?: string | null
  2145. /** 分页信息输出 */
  2146. data?: PageOutputOprationLogListOutput
  2147. }
  2148. /** 结果输出 */
  2149. export interface ResultOutputPageOutputRoleGetPageOutput {
  2150. /** 是否成功标记 */
  2151. success?: boolean
  2152. /** 编码 */
  2153. code?: string | null
  2154. /** 消息 */
  2155. msg?: string | null
  2156. /** 分页信息输出 */
  2157. data?: PageOutputRoleGetPageOutput
  2158. }
  2159. /** 结果输出 */
  2160. export interface ResultOutputPageOutputTaskListOutput {
  2161. /** 是否成功标记 */
  2162. success?: boolean
  2163. /** 编码 */
  2164. code?: string | null
  2165. /** 消息 */
  2166. msg?: string | null
  2167. /** 分页信息输出 */
  2168. data?: PageOutputTaskListOutput
  2169. }
  2170. /** 结果输出 */
  2171. export interface ResultOutputPageOutputTaskLog {
  2172. /** 是否成功标记 */
  2173. success?: boolean
  2174. /** 编码 */
  2175. code?: string | null
  2176. /** 消息 */
  2177. msg?: string | null
  2178. /** 分页信息输出 */
  2179. data?: PageOutputTaskLog
  2180. }
  2181. /** 结果输出 */
  2182. export interface ResultOutputPageOutputTenantListOutput {
  2183. /** 是否成功标记 */
  2184. success?: boolean
  2185. /** 编码 */
  2186. code?: string | null
  2187. /** 消息 */
  2188. msg?: string | null
  2189. /** 分页信息输出 */
  2190. data?: PageOutputTenantListOutput
  2191. }
  2192. /** 结果输出 */
  2193. export interface ResultOutputPageOutputUserGetPageOutput {
  2194. /** 是否成功标记 */
  2195. success?: boolean
  2196. /** 编码 */
  2197. code?: string | null
  2198. /** 消息 */
  2199. msg?: string | null
  2200. /** 分页信息输出 */
  2201. data?: PageOutputUserGetPageOutput
  2202. }
  2203. /** 结果输出 */
  2204. export interface ResultOutputPermissionGetApiOutput {
  2205. /** 是否成功标记 */
  2206. success?: boolean
  2207. /** 编码 */
  2208. code?: string | null
  2209. /** 消息 */
  2210. msg?: string | null
  2211. data?: PermissionGetApiOutput
  2212. }
  2213. /** 结果输出 */
  2214. export interface ResultOutputPermissionGetDotOutput {
  2215. /** 是否成功标记 */
  2216. success?: boolean
  2217. /** 编码 */
  2218. code?: string | null
  2219. /** 消息 */
  2220. msg?: string | null
  2221. data?: PermissionGetDotOutput
  2222. }
  2223. /** 结果输出 */
  2224. export interface ResultOutputPermissionGetGroupOutput {
  2225. /** 是否成功标记 */
  2226. success?: boolean
  2227. /** 编码 */
  2228. code?: string | null
  2229. /** 消息 */
  2230. msg?: string | null
  2231. data?: PermissionGetGroupOutput
  2232. }
  2233. /** 结果输出 */
  2234. export interface ResultOutputPermissionGetMenuOutput {
  2235. /** 是否成功标记 */
  2236. success?: boolean
  2237. /** 编码 */
  2238. code?: string | null
  2239. /** 消息 */
  2240. msg?: string | null
  2241. data?: PermissionGetMenuOutput
  2242. }
  2243. /** 结果输出 */
  2244. export interface ResultOutputRoleGetOutput {
  2245. /** 是否成功标记 */
  2246. success?: boolean
  2247. /** 编码 */
  2248. code?: string | null
  2249. /** 消息 */
  2250. msg?: string | null
  2251. data?: RoleGetOutput
  2252. }
  2253. /** 结果输出 */
  2254. export interface ResultOutputString {
  2255. /** 是否成功标记 */
  2256. success?: boolean
  2257. /** 编码 */
  2258. code?: string | null
  2259. /** 消息 */
  2260. msg?: string | null
  2261. /** 数据 */
  2262. data?: string | null
  2263. }
  2264. /** 结果输出 */
  2265. export interface ResultOutputTaskGetOutput {
  2266. /** 是否成功标记 */
  2267. success?: boolean
  2268. /** 编码 */
  2269. code?: string | null
  2270. /** 消息 */
  2271. msg?: string | null
  2272. data?: TaskGetOutput
  2273. }
  2274. /** 结果输出 */
  2275. export interface ResultOutputTenantGetOutput {
  2276. /** 是否成功标记 */
  2277. success?: boolean
  2278. /** 编码 */
  2279. code?: string | null
  2280. /** 消息 */
  2281. msg?: string | null
  2282. data?: TenantGetOutput
  2283. }
  2284. /** 结果输出 */
  2285. export interface ResultOutputUserGetBasicOutput {
  2286. /** 是否成功标记 */
  2287. success?: boolean
  2288. /** 编码 */
  2289. code?: string | null
  2290. /** 消息 */
  2291. msg?: string | null
  2292. data?: UserGetBasicOutput
  2293. }
  2294. /** 结果输出 */
  2295. export interface ResultOutputUserGetOutput {
  2296. /** 是否成功标记 */
  2297. success?: boolean
  2298. /** 编码 */
  2299. code?: string | null
  2300. /** 消息 */
  2301. msg?: string | null
  2302. data?: UserGetOutput
  2303. }
  2304. /** 结果输出 */
  2305. export interface ResultOutputViewGetOutput {
  2306. /** 是否成功标记 */
  2307. success?: boolean
  2308. /** 编码 */
  2309. code?: string | null
  2310. /** 消息 */
  2311. msg?: string | null
  2312. data?: ViewGetOutput
  2313. }
  2314. /** 添加 */
  2315. export interface RoleAddInput {
  2316. /**
  2317. * 父级Id
  2318. * @format int64
  2319. */
  2320. parentId?: number
  2321. /** 名称 */
  2322. name?: string | null
  2323. /** 编码 */
  2324. code?: string | null
  2325. /** 角色类型:Group=1,Role=2 */
  2326. type?: RoleType
  2327. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2328. dataScope?: DataScope
  2329. /** 指定部门 */
  2330. orgIds?: number[] | null
  2331. /** 部门列表 */
  2332. orgs?: OrgEntity[] | null
  2333. /** 说明 */
  2334. description?: string | null
  2335. /**
  2336. * 排序
  2337. * @format int32
  2338. */
  2339. sort?: number
  2340. }
  2341. /** 添加角色用户列表 */
  2342. export interface RoleAddRoleUserListInput {
  2343. /**
  2344. * 角色
  2345. * @format int64
  2346. */
  2347. roleId: number
  2348. /** 用户 */
  2349. userIds?: number[] | null
  2350. }
  2351. /** 角色 */
  2352. export interface RoleEntity {
  2353. /**
  2354. * 主键Id
  2355. * @format int64
  2356. */
  2357. id?: number
  2358. /**
  2359. * 创建者Id
  2360. * @format int64
  2361. */
  2362. createdUserId?: number | null
  2363. /**
  2364. * 创建者
  2365. * @maxLength 50
  2366. */
  2367. createdUserName?: string | null
  2368. /**
  2369. * 创建时间
  2370. * @format date-time
  2371. */
  2372. createdTime?: string | null
  2373. /**
  2374. * 修改者Id
  2375. * @format int64
  2376. */
  2377. modifiedUserId?: number | null
  2378. /**
  2379. * 修改者
  2380. * @maxLength 50
  2381. */
  2382. modifiedUserName?: string | null
  2383. /**
  2384. * 修改时间
  2385. * @format date-time
  2386. */
  2387. modifiedTime?: string | null
  2388. /** 是否删除 */
  2389. isDeleted?: boolean
  2390. /**
  2391. * 租户Id
  2392. * @format int64
  2393. */
  2394. tenantId?: number | null
  2395. /**
  2396. * 父级Id
  2397. * @format int64
  2398. */
  2399. parentId?: number
  2400. /** 子级列表 */
  2401. childs?: RoleEntity[] | null
  2402. /** 名称 */
  2403. name?: string | null
  2404. /** 编码 */
  2405. code?: string | null
  2406. /** 角色类型:Group=1,Role=2 */
  2407. type?: RoleType
  2408. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2409. dataScope?: DataScope
  2410. /** 说明 */
  2411. description?: string | null
  2412. /** 隐藏 */
  2413. hidden?: boolean
  2414. /**
  2415. * 排序
  2416. * @format int32
  2417. */
  2418. sort?: number
  2419. /** 用户列表 */
  2420. users?: UserEntity[] | null
  2421. /** 部门列表 */
  2422. orgs?: OrgEntity[] | null
  2423. /** 权限列表 */
  2424. permissions?: PermissionEntity[] | null
  2425. }
  2426. export interface RoleGetListOutput {
  2427. /**
  2428. * 主键
  2429. * @format int64
  2430. */
  2431. id?: number
  2432. /**
  2433. * 父级Id
  2434. * @format int64
  2435. */
  2436. parentId?: number
  2437. /** 名称 */
  2438. name?: string | null
  2439. /** 编码 */
  2440. code?: string | null
  2441. /** 角色类型:Group=1,Role=2 */
  2442. type?: RoleType
  2443. /**
  2444. * 排序
  2445. * @format int32
  2446. */
  2447. sort?: number
  2448. /** 描述 */
  2449. description?: string | null
  2450. }
  2451. export interface RoleGetOutput {
  2452. /**
  2453. * 父级Id
  2454. * @format int64
  2455. */
  2456. parentId?: number
  2457. /** 名称 */
  2458. name?: string | null
  2459. /** 编码 */
  2460. code?: string | null
  2461. /** 角色类型:Group=1,Role=2 */
  2462. type?: RoleType
  2463. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2464. dataScope?: DataScope
  2465. /** 指定部门 */
  2466. orgIds?: number[] | null
  2467. /** 部门列表 */
  2468. orgs?: OrgEntity[] | null
  2469. /** 说明 */
  2470. description?: string | null
  2471. /**
  2472. * 排序
  2473. * @format int32
  2474. */
  2475. sort?: number
  2476. /**
  2477. * 角色Id
  2478. * @format int64
  2479. */
  2480. id: number
  2481. }
  2482. export interface RoleGetPageDto {
  2483. /** 名称 */
  2484. name?: string | null
  2485. }
  2486. export interface RoleGetPageOutput {
  2487. /**
  2488. * 主键
  2489. * @format int64
  2490. */
  2491. id?: number
  2492. /** 名称 */
  2493. name?: string | null
  2494. /** 编码 */
  2495. code?: string | null
  2496. /** 说明 */
  2497. description?: string | null
  2498. /** 隐藏 */
  2499. hidden?: boolean
  2500. /**
  2501. * 创建时间
  2502. * @format date-time
  2503. */
  2504. createdTime?: string | null
  2505. }
  2506. /** 设置数据范围 */
  2507. export interface RoleSetDataScopeInput {
  2508. /**
  2509. * 角色Id
  2510. * @format int64
  2511. */
  2512. roleId: number
  2513. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2514. dataScope?: DataScope
  2515. /** 指定部门 */
  2516. orgIds?: number[] | null
  2517. }
  2518. /**
  2519. * 角色类型:Group=1,Role=2
  2520. * @format int32
  2521. */
  2522. export type RoleType = 1 | 2
  2523. /** 修改 */
  2524. export interface RoleUpdateInput {
  2525. /**
  2526. * 父级Id
  2527. * @format int64
  2528. */
  2529. parentId?: number
  2530. /** 名称 */
  2531. name?: string | null
  2532. /** 编码 */
  2533. code?: string | null
  2534. /** 角色类型:Group=1,Role=2 */
  2535. type?: RoleType
  2536. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2537. dataScope?: DataScope
  2538. /** 指定部门 */
  2539. orgIds?: number[] | null
  2540. /** 部门列表 */
  2541. orgs?: OrgEntity[] | null
  2542. /** 说明 */
  2543. description?: string | null
  2544. /**
  2545. * 排序
  2546. * @format int32
  2547. */
  2548. sort?: number
  2549. /**
  2550. * 角色Id
  2551. * @format int64
  2552. */
  2553. id: number
  2554. }
  2555. /**
  2556. * 性别:Unknown=0,Male=1,Female=2
  2557. * @format int32
  2558. */
  2559. export type Sex = 0 | 1 | 2
  2560. /** 员工添加 */
  2561. export interface StaffAddInput {
  2562. /** 工号 */
  2563. jobNumber?: string | null
  2564. /** 职位 */
  2565. position?: string | null
  2566. /** 性别:Unknown=0,Male=1,Female=2 */
  2567. sex?: Sex
  2568. /**
  2569. * 入职时间
  2570. * @format date-time
  2571. */
  2572. entryTime?: string | null
  2573. /** 个人简介 */
  2574. introduce?: string | null
  2575. }
  2576. /** 添加 */
  2577. export interface TaskAddInput {
  2578. /** 任务标题 */
  2579. topic?: string | null
  2580. /** 任务数据 */
  2581. body?: string | null
  2582. /**
  2583. * 任务执行多少轮,-1为永久循环
  2584. * @format int32
  2585. */
  2586. round?: number
  2587. /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
  2588. interval?: TaskInterval
  2589. /** 定时参数值 60,60,60,120,120,1200,1200 */
  2590. intervalArgument?: string | null
  2591. }
  2592. export interface TaskGetOutput {
  2593. /** 任务标题 */
  2594. topic?: string | null
  2595. /** 任务数据 */
  2596. body?: string | null
  2597. /**
  2598. * 任务执行多少轮,-1为永久循环
  2599. * @format int32
  2600. */
  2601. round?: number
  2602. /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
  2603. interval?: TaskInterval
  2604. /** 定时参数值 60,60,60,120,120,1200,1200 */
  2605. intervalArgument?: string | null
  2606. /**
  2607. * 任务Id
  2608. * @minLength 1
  2609. */
  2610. id: string
  2611. }
  2612. export interface TaskGetPageDto {
  2613. /** 任务名称名称 */
  2614. topic?: string | null
  2615. }
  2616. /**
  2617. * SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21
  2618. * @format int32
  2619. */
  2620. export type TaskInterval = 1 | 11 | 12 | 13 | 21
  2621. export interface TaskListOutput {
  2622. /** 主键 */
  2623. id?: string | null
  2624. /** 任务标题 */
  2625. topic?: string | null
  2626. /** 任务数据 */
  2627. body?: string | null
  2628. /**
  2629. * 任务执行多少轮
  2630. * @format int32
  2631. */
  2632. round?: number
  2633. /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
  2634. interval?: TaskInterval
  2635. /** 定时参数值 */
  2636. intervalArgument?: string | null
  2637. /** Running=0,Paused=1,Completed=2 */
  2638. status?: TaskStatus
  2639. /**
  2640. * 创建时间
  2641. * @format date-time
  2642. */
  2643. createTime?: string
  2644. /**
  2645. * 最后运行时间
  2646. * @format date-time
  2647. */
  2648. lastRunTime?: string
  2649. /**
  2650. * 当前运行到第几轮
  2651. * @format int32
  2652. */
  2653. currentRound?: number
  2654. /**
  2655. * 错次数
  2656. * @format int32
  2657. */
  2658. errorTimes?: number
  2659. }
  2660. export interface TaskLog {
  2661. taskId?: string | null
  2662. /** @format int32 */
  2663. round?: number
  2664. /** @format int64 */
  2665. elapsedMilliseconds?: number
  2666. success?: boolean
  2667. exception?: string | null
  2668. remark?: string | null
  2669. /** @format date-time */
  2670. createTime?: string
  2671. }
  2672. export interface TaskLogGetPageDto {
  2673. taskId?: string | null
  2674. }
  2675. /**
  2676. * Running=0,Paused=1,Completed=2
  2677. * @format int32
  2678. */
  2679. export type TaskStatus = 0 | 1 | 2
  2680. /** 修改 */
  2681. export interface TaskUpdateInput {
  2682. /** 任务标题 */
  2683. topic?: string | null
  2684. /** 任务数据 */
  2685. body?: string | null
  2686. /**
  2687. * 任务执行多少轮,-1为永久循环
  2688. * @format int32
  2689. */
  2690. round?: number
  2691. /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
  2692. interval?: TaskInterval
  2693. /** 定时参数值 60,60,60,120,120,1200,1200 */
  2694. intervalArgument?: string | null
  2695. /**
  2696. * 任务Id
  2697. * @minLength 1
  2698. */
  2699. id: string
  2700. }
  2701. /** 添加 */
  2702. export interface TenantAddInput {
  2703. /**
  2704. * 企业名称
  2705. * @minLength 1
  2706. */
  2707. name: string
  2708. /**
  2709. * 编码
  2710. * @minLength 1
  2711. */
  2712. code: string
  2713. /**
  2714. * 姓名
  2715. * @minLength 1
  2716. */
  2717. realName: string
  2718. /**
  2719. * 手机号码
  2720. * @minLength 1
  2721. */
  2722. phone: string
  2723. /** 邮箱地址 */
  2724. email?: string | null
  2725. /** 数据库注册键 */
  2726. dbKey?: string | null
  2727. /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,CustomOracle=20,CustomSqlServer=21,CustomMySql=22,CustomPostgreSQL=23 */
  2728. dbType?: DataType
  2729. /** 连接字符串 */
  2730. connectionString?: string | null
  2731. /** 启用 */
  2732. enabled?: boolean
  2733. /** 说明 */
  2734. description?: string | null
  2735. }
  2736. /** 租户 */
  2737. export interface TenantEntity {
  2738. /**
  2739. * 主键Id
  2740. * @format int64
  2741. */
  2742. id?: number
  2743. /**
  2744. * 创建者Id
  2745. * @format int64
  2746. */
  2747. createdUserId?: number | null
  2748. /**
  2749. * 创建者
  2750. * @maxLength 50
  2751. */
  2752. createdUserName?: string | null
  2753. /**
  2754. * 创建时间
  2755. * @format date-time
  2756. */
  2757. createdTime?: string | null
  2758. /**
  2759. * 修改者Id
  2760. * @format int64
  2761. */
  2762. modifiedUserId?: number | null
  2763. /**
  2764. * 修改者
  2765. * @maxLength 50
  2766. */
  2767. modifiedUserName?: string | null
  2768. /**
  2769. * 修改时间
  2770. * @format date-time
  2771. */
  2772. modifiedTime?: string | null
  2773. /** 是否删除 */
  2774. isDeleted?: boolean
  2775. /** 企业名称 */
  2776. name?: string | null
  2777. /** 编码 */
  2778. code?: string | null
  2779. /** 姓名 */
  2780. realName?: string | null
  2781. /** 手机号码 */
  2782. phone?: string | null
  2783. /** 邮箱地址 */
  2784. email?: string | null
  2785. /**
  2786. * 授权用户
  2787. * @format int64
  2788. */
  2789. userId?: number | null
  2790. /** 用户 */
  2791. user?: UserEntity
  2792. /** 租户类型:Platform=1,Tenant=2 */
  2793. tenantType?: TenantType
  2794. /** 数据库注册键 */
  2795. dbKey?: string | null
  2796. /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,CustomOracle=20,CustomSqlServer=21,CustomMySql=22,CustomPostgreSQL=23 */
  2797. dbType?: DataType
  2798. /** 连接字符串 */
  2799. connectionString?: string | null
  2800. /** 启用 */
  2801. enabled?: boolean
  2802. /** 说明 */
  2803. description?: string | null
  2804. }
  2805. export interface TenantGetOutput {
  2806. /**
  2807. * 企业名称
  2808. * @minLength 1
  2809. */
  2810. name: string
  2811. /**
  2812. * 编码
  2813. * @minLength 1
  2814. */
  2815. code: string
  2816. /**
  2817. * 姓名
  2818. * @minLength 1
  2819. */
  2820. realName: string
  2821. /**
  2822. * 手机号码
  2823. * @minLength 1
  2824. */
  2825. phone: string
  2826. /** 邮箱地址 */
  2827. email?: string | null
  2828. /** 数据库注册键 */
  2829. dbKey?: string | null
  2830. /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,CustomOracle=20,CustomSqlServer=21,CustomMySql=22,CustomPostgreSQL=23 */
  2831. dbType?: DataType
  2832. /** 连接字符串 */
  2833. connectionString?: string | null
  2834. /** 启用 */
  2835. enabled?: boolean
  2836. /** 说明 */
  2837. description?: string | null
  2838. /**
  2839. * 接口Id
  2840. * @format int64
  2841. */
  2842. id: number
  2843. }
  2844. export interface TenantGetPageDto {
  2845. /** 企业名称 */
  2846. name?: string | null
  2847. }
  2848. export interface TenantListOutput {
  2849. /**
  2850. * 主键
  2851. * @format int64
  2852. */
  2853. id?: number
  2854. /** 企业编码 */
  2855. code?: string | null
  2856. /** 企业名称 */
  2857. name?: string | null
  2858. /** 姓名 */
  2859. realName?: string | null
  2860. /** 手机号码 */
  2861. phone?: string | null
  2862. /** 邮箱地址 */
  2863. email?: string | null
  2864. /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,CustomOracle=20,CustomSqlServer=21,CustomMySql=22,CustomPostgreSQL=23 */
  2865. dbType?: DataType
  2866. /** 数据库名称 */
  2867. dbTypeName?: string | null
  2868. /** 启用 */
  2869. enabled?: boolean
  2870. /** 说明 */
  2871. description?: string | null
  2872. /**
  2873. * 创建时间
  2874. * @format date-time
  2875. */
  2876. createdTime?: string | null
  2877. }
  2878. /**
  2879. * 租户类型:Platform=1,Tenant=2
  2880. * @format int32
  2881. */
  2882. export type TenantType = 1 | 2
  2883. /** 修改 */
  2884. export interface TenantUpdateInput {
  2885. /**
  2886. * 企业名称
  2887. * @minLength 1
  2888. */
  2889. name: string
  2890. /**
  2891. * 编码
  2892. * @minLength 1
  2893. */
  2894. code: string
  2895. /**
  2896. * 姓名
  2897. * @minLength 1
  2898. */
  2899. realName: string
  2900. /**
  2901. * 手机号码
  2902. * @minLength 1
  2903. */
  2904. phone: string
  2905. /** 邮箱地址 */
  2906. email?: string | null
  2907. /** 数据库注册键 */
  2908. dbKey?: string | null
  2909. /** MySql=0,SqlServer=1,PostgreSQL=2,Oracle=3,Sqlite=4,OdbcOracle=5,OdbcSqlServer=6,OdbcMySql=7,OdbcPostgreSQL=8,Odbc=9,OdbcDameng=10,MsAccess=11,Dameng=12,OdbcKingbaseES=13,ShenTong=14,KingbaseES=15,Firebird=16,Custom=17,ClickHouse=18,GBase=19,CustomOracle=20,CustomSqlServer=21,CustomMySql=22,CustomPostgreSQL=23 */
  2910. dbType?: DataType
  2911. /** 连接字符串 */
  2912. connectionString?: string | null
  2913. /** 启用 */
  2914. enabled?: boolean
  2915. /** 说明 */
  2916. description?: string | null
  2917. /**
  2918. * 接口Id
  2919. * @format int64
  2920. */
  2921. id: number
  2922. }
  2923. /** 添加 */
  2924. export interface UserAddInput {
  2925. /**
  2926. * 账号
  2927. * @minLength 1
  2928. */
  2929. userName: string
  2930. /**
  2931. * 姓名
  2932. * @minLength 1
  2933. */
  2934. name: string
  2935. /** 手机号 */
  2936. mobile?: string | null
  2937. /** 邮箱 */
  2938. email?: string | null
  2939. /** 角色Ids */
  2940. roleIds?: number[] | null
  2941. /** 所属部门Ids */
  2942. orgIds?: number[] | null
  2943. /**
  2944. * 主属部门Id
  2945. * @format int64
  2946. */
  2947. orgId?: number
  2948. /**
  2949. * 直属主管Id
  2950. * @format int64
  2951. */
  2952. managerUserId?: number | null
  2953. /** 直属主管姓名 */
  2954. managerUserName?: string | null
  2955. /** 员工添加 */
  2956. staff?: StaffAddInput
  2957. /**
  2958. * 密码
  2959. * @minLength 1
  2960. */
  2961. password: string
  2962. /** 用户状态:Enabled=0,Disabled=1,WaitChangePasssword=2,WaitActive=3 */
  2963. status?: UserStatus
  2964. }
  2965. /** 添加会员 */
  2966. export interface UserAddMemberInput {
  2967. /**
  2968. * 账号
  2969. * @minLength 1
  2970. */
  2971. userName: string
  2972. /** 姓名 */
  2973. name?: string | null
  2974. /** 手机号 */
  2975. mobile?: string | null
  2976. /** 邮箱 */
  2977. email?: string | null
  2978. /**
  2979. * 密码
  2980. * @minLength 1
  2981. */
  2982. password: string
  2983. /** 用户状态:Enabled=0,Disabled=1,WaitChangePasssword=2,WaitActive=3 */
  2984. status?: UserStatus
  2985. }
  2986. /** 修改密码 */
  2987. export interface UserChangePasswordInput {
  2988. /**
  2989. * 旧密码
  2990. * @minLength 1
  2991. */
  2992. oldPassword: string
  2993. /**
  2994. * 新密码
  2995. * @minLength 1
  2996. */
  2997. newPassword: string
  2998. /**
  2999. * 确认新密码
  3000. * @minLength 1
  3001. */
  3002. confirmPassword: string
  3003. }
  3004. /** 用户 */
  3005. export interface UserEntity {
  3006. /**
  3007. * 主键Id
  3008. * @format int64
  3009. */
  3010. id?: number
  3011. /**
  3012. * 创建者Id
  3013. * @format int64
  3014. */
  3015. createdUserId?: number | null
  3016. /**
  3017. * 创建者
  3018. * @maxLength 50
  3019. */
  3020. createdUserName?: string | null
  3021. /**
  3022. * 创建时间
  3023. * @format date-time
  3024. */
  3025. createdTime?: string | null
  3026. /**
  3027. * 修改者Id
  3028. * @format int64
  3029. */
  3030. modifiedUserId?: number | null
  3031. /**
  3032. * 修改者
  3033. * @maxLength 50
  3034. */
  3035. modifiedUserName?: string | null
  3036. /**
  3037. * 修改时间
  3038. * @format date-time
  3039. */
  3040. modifiedTime?: string | null
  3041. /** 是否删除 */
  3042. isDeleted?: boolean
  3043. /**
  3044. * 租户Id
  3045. * @format int64
  3046. */
  3047. tenantId?: number | null
  3048. /** 租户 */
  3049. tenant?: TenantEntity
  3050. /** 账号 */
  3051. userName?: string | null
  3052. /** 密码 */
  3053. password?: string | null
  3054. /** 姓名 */
  3055. name?: string | null
  3056. /** 手机号 */
  3057. mobile?: string | null
  3058. /** 邮箱 */
  3059. email?: string | null
  3060. /**
  3061. * 主属部门Id
  3062. * @format int64
  3063. */
  3064. orgId?: number
  3065. /** 组织架构 */
  3066. org?: OrgEntity
  3067. /**
  3068. * 直属主管Id
  3069. * @format int64
  3070. */
  3071. managerUserId?: number | null
  3072. /** 用户 */
  3073. managerUser?: UserEntity
  3074. /** 昵称 */
  3075. nickName?: string | null
  3076. /** 头像 */
  3077. avatar?: string | null
  3078. /** 用户状态:Enabled=0,Disabled=1,WaitChangePasssword=2,WaitActive=3 */
  3079. status?: UserStatus
  3080. /** 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100 */
  3081. type?: UserType
  3082. /** 角色列表 */
  3083. roles?: RoleEntity[] | null
  3084. /** 部门列表 */
  3085. orgs?: OrgEntity[] | null
  3086. /** 用户员工 */
  3087. staff?: UserStaffEntity
  3088. }
  3089. export interface UserGetBasicOutput {
  3090. /** 头像 */
  3091. avatar?: string | null
  3092. /** 姓名 */
  3093. name?: string | null
  3094. /** 昵称 */
  3095. nickName?: string | null
  3096. /** 手机号 */
  3097. mobile?: string | null
  3098. /** 邮箱 */
  3099. email?: string | null
  3100. }
  3101. export interface UserGetOrgDto {
  3102. /** @format int64 */
  3103. id?: number
  3104. name?: string | null
  3105. }
  3106. export interface UserGetOutput {
  3107. /**
  3108. * 账号
  3109. * @minLength 1
  3110. */
  3111. userName: string
  3112. /**
  3113. * 姓名
  3114. * @minLength 1
  3115. */
  3116. name: string
  3117. /** 手机号 */
  3118. mobile?: string | null
  3119. /** 邮箱 */
  3120. email?: string | null
  3121. /**
  3122. * 主属部门Id
  3123. * @format int64
  3124. */
  3125. orgId?: number
  3126. /**
  3127. * 直属主管Id
  3128. * @format int64
  3129. */
  3130. managerUserId?: number | null
  3131. /** 直属主管姓名 */
  3132. managerUserName?: string | null
  3133. /** 员工添加 */
  3134. staff?: StaffAddInput
  3135. /**
  3136. * 主键Id
  3137. * @format int64
  3138. */
  3139. id: number
  3140. /** 角色列表 */
  3141. roles?: UserGetRoleDto[] | null
  3142. /** 部门列表 */
  3143. orgs?: UserGetOrgDto[] | null
  3144. /** 所属部门Ids */
  3145. orgIds?: number[] | null
  3146. /** 角色Ids */
  3147. roleIds?: number[] | null
  3148. }
  3149. /** 用户分页查询条件 */
  3150. export interface UserGetPageDto {
  3151. /**
  3152. * 部门Id
  3153. * @format int64
  3154. */
  3155. orgId?: number | null
  3156. }
  3157. export interface UserGetPageOutput {
  3158. /**
  3159. * 主键Id
  3160. * @format int64
  3161. */
  3162. id?: number
  3163. /** 账号 */
  3164. userName?: string | null
  3165. /** 姓名 */
  3166. name?: string | null
  3167. /** 手机号 */
  3168. mobile?: string | null
  3169. /** 邮箱 */
  3170. email?: string | null
  3171. /** 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100 */
  3172. type?: UserType
  3173. /** 角色 */
  3174. roleNames?: string[] | null
  3175. /** 是否主管 */
  3176. isManager?: boolean
  3177. roles?: RoleEntity[] | null
  3178. /**
  3179. * 创建时间
  3180. * @format date-time
  3181. */
  3182. createdTime?: string | null
  3183. }
  3184. export interface UserGetRoleDto {
  3185. /** @format int64 */
  3186. id?: number
  3187. name?: string | null
  3188. }
  3189. export interface UserGetRoleUserListOutput {
  3190. /**
  3191. * 主键Id
  3192. * @format int64
  3193. */
  3194. id?: number
  3195. /** 姓名 */
  3196. name?: string | null
  3197. }
  3198. export interface UserPermissionsOutput {
  3199. httpMethods?: string | null
  3200. path?: string | null
  3201. }
  3202. /** 重置密码 */
  3203. export interface UserResetPasswordInput {
  3204. /**
  3205. * 主键Id
  3206. * @format int64
  3207. */
  3208. id?: number
  3209. /** 密码 */
  3210. password?: string | null
  3211. }
  3212. /** 设置主管 */
  3213. export interface UserSetManagerInput {
  3214. /**
  3215. * 用户Id
  3216. * @format int64
  3217. */
  3218. userId?: number
  3219. /**
  3220. * 部门Id
  3221. * @format int64
  3222. */
  3223. orgId?: number
  3224. /** 是否主管 */
  3225. isManager?: boolean
  3226. }
  3227. /** 用户员工 */
  3228. export interface UserStaffEntity {
  3229. /**
  3230. * 主键Id
  3231. * @format int64
  3232. */
  3233. id?: number
  3234. /**
  3235. * 创建者Id
  3236. * @format int64
  3237. */
  3238. createdUserId?: number | null
  3239. /**
  3240. * 创建者
  3241. * @maxLength 50
  3242. */
  3243. createdUserName?: string | null
  3244. /**
  3245. * 创建时间
  3246. * @format date-time
  3247. */
  3248. createdTime?: string | null
  3249. /**
  3250. * 修改者Id
  3251. * @format int64
  3252. */
  3253. modifiedUserId?: number | null
  3254. /**
  3255. * 修改者
  3256. * @maxLength 50
  3257. */
  3258. modifiedUserName?: string | null
  3259. /**
  3260. * 修改时间
  3261. * @format date-time
  3262. */
  3263. modifiedTime?: string | null
  3264. /** 是否删除 */
  3265. isDeleted?: boolean
  3266. /**
  3267. * 租户Id
  3268. * @format int64
  3269. */
  3270. tenantId?: number | null
  3271. /** 职位 */
  3272. position?: string | null
  3273. /** 工号 */
  3274. jobNumber?: string | null
  3275. /** 性别:Unknown=0,Male=1,Female=2 */
  3276. sex?: Sex
  3277. /**
  3278. * 入职时间
  3279. * @format date-time
  3280. */
  3281. entryTime?: string | null
  3282. /** 个人简介 */
  3283. introduce?: string | null
  3284. }
  3285. /**
  3286. * 用户状态:Enabled=0,Disabled=1,WaitChangePasssword=2,WaitActive=3
  3287. * @format int32
  3288. */
  3289. export type UserStatus = 0 | 1 | 2 | 3
  3290. /**
  3291. * 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100
  3292. * @format int32
  3293. */
  3294. export type UserType = 0 | 1 | 10 | 100
  3295. /** 更新基本信息 */
  3296. export interface UserUpdateBasicInput {
  3297. /**
  3298. * 姓名
  3299. * @minLength 1
  3300. */
  3301. name: string
  3302. /** 昵称 */
  3303. nickName?: string | null
  3304. }
  3305. /** 修改 */
  3306. export interface UserUpdateInput {
  3307. /**
  3308. * 账号
  3309. * @minLength 1
  3310. */
  3311. userName: string
  3312. /**
  3313. * 姓名
  3314. * @minLength 1
  3315. */
  3316. name: string
  3317. /** 手机号 */
  3318. mobile?: string | null
  3319. /** 邮箱 */
  3320. email?: string | null
  3321. /** 角色Ids */
  3322. roleIds?: number[] | null
  3323. /** 所属部门Ids */
  3324. orgIds?: number[] | null
  3325. /**
  3326. * 主属部门Id
  3327. * @format int64
  3328. */
  3329. orgId?: number
  3330. /**
  3331. * 直属主管Id
  3332. * @format int64
  3333. */
  3334. managerUserId?: number | null
  3335. /** 直属主管姓名 */
  3336. managerUserName?: string | null
  3337. /** 员工添加 */
  3338. staff?: StaffAddInput
  3339. /**
  3340. * 主键Id
  3341. * @format int64
  3342. */
  3343. id: number
  3344. }
  3345. /** 修改会员 */
  3346. export interface UserUpdateMemberInput {
  3347. /**
  3348. * 账号
  3349. * @minLength 1
  3350. */
  3351. userName: string
  3352. /** 姓名 */
  3353. name?: string | null
  3354. /** 手机号 */
  3355. mobile?: string | null
  3356. /** 邮箱 */
  3357. email?: string | null
  3358. /**
  3359. * 主键Id
  3360. * @format int64
  3361. */
  3362. id: number
  3363. }
  3364. /** 添加 */
  3365. export interface ViewAddInput {
  3366. /**
  3367. * 所属节点
  3368. * @format int64
  3369. */
  3370. parentId?: number | null
  3371. /** 视图命名 */
  3372. name?: string | null
  3373. /** 视图名称 */
  3374. label?: string | null
  3375. /** 视图路径 */
  3376. path?: string | null
  3377. /** 说明 */
  3378. description?: string | null
  3379. /** 缓存 */
  3380. cache?: boolean
  3381. /**
  3382. * 排序
  3383. * @format int32
  3384. */
  3385. sort?: number
  3386. /** 启用 */
  3387. enabled?: boolean
  3388. }
  3389. /** 视图管理 */
  3390. export interface ViewEntity {
  3391. /**
  3392. * 主键Id
  3393. * @format int64
  3394. */
  3395. id?: number
  3396. /**
  3397. * 创建者Id
  3398. * @format int64
  3399. */
  3400. createdUserId?: number | null
  3401. /**
  3402. * 创建者
  3403. * @maxLength 50
  3404. */
  3405. createdUserName?: string | null
  3406. /**
  3407. * 创建时间
  3408. * @format date-time
  3409. */
  3410. createdTime?: string | null
  3411. /**
  3412. * 修改者Id
  3413. * @format int64
  3414. */
  3415. modifiedUserId?: number | null
  3416. /**
  3417. * 修改者
  3418. * @maxLength 50
  3419. */
  3420. modifiedUserName?: string | null
  3421. /**
  3422. * 修改时间
  3423. * @format date-time
  3424. */
  3425. modifiedTime?: string | null
  3426. /** 是否删除 */
  3427. isDeleted?: boolean
  3428. /**
  3429. * 所属节点
  3430. * @format int64
  3431. */
  3432. parentId?: number
  3433. /** 视图命名 */
  3434. name?: string | null
  3435. /** 视图名称 */
  3436. label?: string | null
  3437. /** 视图路径 */
  3438. path?: string | null
  3439. /** 说明 */
  3440. description?: string | null
  3441. /** 缓存 */
  3442. cache?: boolean
  3443. /**
  3444. * 排序
  3445. * @format int32
  3446. */
  3447. sort?: number
  3448. /** 启用 */
  3449. enabled?: boolean
  3450. childs?: ViewEntity[] | null
  3451. }
  3452. export interface ViewGetOutput {
  3453. /**
  3454. * 所属节点
  3455. * @format int64
  3456. */
  3457. parentId?: number | null
  3458. /** 视图命名 */
  3459. name?: string | null
  3460. /** 视图名称 */
  3461. label?: string | null
  3462. /** 视图路径 */
  3463. path?: string | null
  3464. /** 说明 */
  3465. description?: string | null
  3466. /** 缓存 */
  3467. cache?: boolean
  3468. /**
  3469. * 排序
  3470. * @format int32
  3471. */
  3472. sort?: number
  3473. /** 启用 */
  3474. enabled?: boolean
  3475. /**
  3476. * 视图Id
  3477. * @format int64
  3478. */
  3479. id: number
  3480. }
  3481. export interface ViewListOutput {
  3482. /**
  3483. * 视图Id
  3484. * @format int64
  3485. */
  3486. id?: number
  3487. /**
  3488. * 视图父级
  3489. * @format int64
  3490. */
  3491. parentId?: number | null
  3492. /** 视图命名 */
  3493. name?: string | null
  3494. /** 视图名称 */
  3495. label?: string | null
  3496. /** 视图路径 */
  3497. path?: string | null
  3498. /** 缓存 */
  3499. cache?: boolean
  3500. /**
  3501. * 排序
  3502. * @format int32
  3503. */
  3504. sort?: number
  3505. /** 启用 */
  3506. enabled?: boolean
  3507. /** 说明 */
  3508. description?: string | null
  3509. }
  3510. export interface ViewSyncDto {
  3511. /** 视图命名 */
  3512. name?: string | null
  3513. /** 地址 */
  3514. path?: string | null
  3515. /** 视图名称 */
  3516. label?: string | null
  3517. /** 说明 */
  3518. description?: string | null
  3519. /** 缓存 */
  3520. cache?: boolean
  3521. }
  3522. export interface ViewSyncInput {
  3523. views?: ViewSyncDto[] | null
  3524. }
  3525. /** 修改 */
  3526. export interface ViewUpdateInput {
  3527. /**
  3528. * 所属节点
  3529. * @format int64
  3530. */
  3531. parentId?: number | null
  3532. /** 视图命名 */
  3533. name?: string | null
  3534. /** 视图名称 */
  3535. label?: string | null
  3536. /** 视图路径 */
  3537. path?: string | null
  3538. /** 说明 */
  3539. description?: string | null
  3540. /** 缓存 */
  3541. cache?: boolean
  3542. /**
  3543. * 排序
  3544. * @format int32
  3545. */
  3546. sort?: number
  3547. /** 启用 */
  3548. enabled?: boolean
  3549. /**
  3550. * 视图Id
  3551. * @format int64
  3552. */
  3553. id: number
  3554. }