data-contracts.ts 71 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871
  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 FileDeleteInput {
  628. /**
  629. * 文件Id
  630. * @format int64
  631. */
  632. id: number
  633. }
  634. /** 文件 */
  635. export interface FileEntity {
  636. /**
  637. * 主键Id
  638. * @format int64
  639. */
  640. id?: number
  641. /**
  642. * 创建者Id
  643. * @format int64
  644. */
  645. createdUserId?: number | null
  646. /**
  647. * 创建者
  648. * @maxLength 50
  649. */
  650. createdUserName?: string | null
  651. /**
  652. * 创建时间
  653. * @format date-time
  654. */
  655. createdTime?: string | null
  656. /**
  657. * 修改者Id
  658. * @format int64
  659. */
  660. modifiedUserId?: number | null
  661. /**
  662. * 修改者
  663. * @maxLength 50
  664. */
  665. modifiedUserName?: string | null
  666. /**
  667. * 修改时间
  668. * @format date-time
  669. */
  670. modifiedTime?: string | null
  671. /** 是否删除 */
  672. isDeleted?: boolean
  673. /** Invalid=0,Minio=1,Aliyun=2,QCloud=3,Qiniu=4,HuaweiCloud=5 */
  674. provider?: OSSProvider
  675. /** 存储桶名称 */
  676. bucketName?: string | null
  677. /** 文件目录 */
  678. fileDirectory?: string | null
  679. /**
  680. * 文件Guid
  681. * @format uuid
  682. */
  683. fileGuid?: string
  684. /** 保存文件名 */
  685. saveFileName?: string | null
  686. /** 文件名 */
  687. fileName?: string | null
  688. /** 文件扩展名 */
  689. extension?: string | null
  690. /**
  691. * 文件字节长度
  692. * @format int64
  693. */
  694. size?: number
  695. /** 文件大小格式化 */
  696. sizeFormat?: string | null
  697. /** 链接地址 */
  698. linkUrl?: string | null
  699. /** md5码,防止上传重复文件 */
  700. md5?: string | null
  701. }
  702. export interface FileGetPageDto {
  703. /** 文件名 */
  704. fileName?: string | null
  705. }
  706. export interface FileGetPageOutput {
  707. /**
  708. * 文件Id
  709. * @format int64
  710. */
  711. id?: number
  712. /** OSS供应商 */
  713. providerName?: string | null
  714. /** 存储桶名称 */
  715. bucketName?: string | null
  716. /** 文件目录 */
  717. fileDirectory?: string | null
  718. /**
  719. * 文件Guid
  720. * @format uuid
  721. */
  722. fileGuid?: string
  723. /** 文件名 */
  724. fileName?: string | null
  725. /** 文件扩展名 */
  726. extension?: string | null
  727. /** 文件大小格式化 */
  728. sizeFormat?: string | null
  729. /** 链接地址 */
  730. linkUrl?: string | null
  731. /** 创建者 */
  732. createdUserName?: string | null
  733. /**
  734. * 创建时间
  735. * @format date-time
  736. */
  737. createdTime?: string | null
  738. /** 修改者 */
  739. modifiedUserName?: string | null
  740. /**
  741. * 修改时间
  742. * @format date-time
  743. */
  744. modifiedTime?: string | null
  745. }
  746. export interface LogGetPageDto {
  747. /** 创建者 */
  748. createdUserName?: string | null
  749. }
  750. /** 添加 */
  751. export interface LoginLogAddInput {
  752. /**
  753. * 租户Id
  754. * @format int64
  755. */
  756. tenantId?: number | null
  757. /** 姓名 */
  758. name?: string | null
  759. /** IP */
  760. ip?: string | null
  761. /** 浏览器 */
  762. browser?: string | null
  763. /** 操作系统 */
  764. os?: string | null
  765. /** 设备 */
  766. device?: string | null
  767. /** 浏览器信息 */
  768. browserInfo?: string | null
  769. /**
  770. * 耗时(毫秒)
  771. * @format int64
  772. */
  773. elapsedMilliseconds?: number
  774. /** 操作状态 */
  775. status?: boolean | null
  776. /** 操作消息 */
  777. msg?: string | null
  778. /** 操作结果 */
  779. result?: string | null
  780. /**
  781. * 创建者Id
  782. * @format int64
  783. */
  784. createdUserId?: number | null
  785. /** 创建者 */
  786. createdUserName?: string | null
  787. }
  788. export interface LoginLogListOutput {
  789. /**
  790. * 编号
  791. * @format int64
  792. */
  793. id?: number
  794. /** 昵称 */
  795. nickName?: string | null
  796. /** 创建者 */
  797. createdUserName?: string | null
  798. /** IP */
  799. ip?: string | null
  800. /** 浏览器 */
  801. browser?: string | null
  802. /** 操作系统 */
  803. os?: string | null
  804. /** 设备 */
  805. device?: string | null
  806. /**
  807. * 耗时(毫秒)
  808. * @format int64
  809. */
  810. elapsedMilliseconds?: number
  811. /** 操作状态 */
  812. status?: boolean
  813. /** 操作消息 */
  814. msg?: string | null
  815. /**
  816. * 创建时间
  817. * @format date-time
  818. */
  819. createdTime?: string | null
  820. }
  821. /**
  822. * Invalid=0,Minio=1,Aliyun=2,QCloud=3,Qiniu=4,HuaweiCloud=5
  823. * @format int32
  824. */
  825. export type OSSProvider = 0 | 1 | 2 | 3 | 4 | 5
  826. /** 添加 */
  827. export interface OprationLogAddInput {
  828. /** 姓名 */
  829. name?: string | null
  830. /** 接口名称 */
  831. apiLabel?: string | null
  832. /** 接口地址 */
  833. apiPath?: string | null
  834. /** 接口提交方法 */
  835. apiMethod?: string | null
  836. /** IP */
  837. ip?: string | null
  838. /** 浏览器 */
  839. browser?: string | null
  840. /** 操作系统 */
  841. os?: string | null
  842. /** 设备 */
  843. device?: string | null
  844. /** 浏览器信息 */
  845. browserInfo?: string | null
  846. /**
  847. * 耗时(毫秒)
  848. * @format int64
  849. */
  850. elapsedMilliseconds?: number
  851. /** 操作状态 */
  852. status?: boolean | null
  853. /** 操作消息 */
  854. msg?: string | null
  855. /** 操作参数 */
  856. params?: string | null
  857. /** 操作结果 */
  858. result?: string | null
  859. }
  860. export interface OprationLogListOutput {
  861. /**
  862. * 编号
  863. * @format int64
  864. */
  865. id?: number
  866. /** 昵称 */
  867. nickName?: string | null
  868. /** 创建者 */
  869. createdUserName?: string | null
  870. /** 接口名称 */
  871. apiLabel?: string | null
  872. /** 接口地址 */
  873. apiPath?: string | null
  874. /** 接口提交方法 */
  875. apiMethod?: string | null
  876. /** IP */
  877. ip?: string | null
  878. /** 浏览器 */
  879. browser?: string | null
  880. /** 操作系统 */
  881. os?: string | null
  882. /** 设备 */
  883. device?: string | null
  884. /**
  885. * 耗时(毫秒)
  886. * @format int64
  887. */
  888. elapsedMilliseconds?: number
  889. /** 操作状态 */
  890. status?: boolean
  891. /** 操作消息 */
  892. msg?: string | null
  893. /**
  894. * 创建时间
  895. * @format date-time
  896. */
  897. createdTime?: string | null
  898. }
  899. /** 添加 */
  900. export interface OrgAddInput {
  901. /**
  902. * 父级
  903. * @format int64
  904. */
  905. parentId?: number
  906. /** 名称 */
  907. name?: string | null
  908. /** 编码 */
  909. code?: string | null
  910. /** 值 */
  911. value?: string | null
  912. /** 启用 */
  913. enabled?: boolean
  914. /**
  915. * 排序
  916. * @format int32
  917. */
  918. sort?: number
  919. /** 描述 */
  920. description?: string | null
  921. }
  922. /** 组织架构 */
  923. export interface OrgEntity {
  924. /**
  925. * 主键Id
  926. * @format int64
  927. */
  928. id?: number
  929. /**
  930. * 创建者Id
  931. * @format int64
  932. */
  933. createdUserId?: number | null
  934. /**
  935. * 创建者
  936. * @maxLength 50
  937. */
  938. createdUserName?: string | null
  939. /**
  940. * 创建时间
  941. * @format date-time
  942. */
  943. createdTime?: string | null
  944. /**
  945. * 修改者Id
  946. * @format int64
  947. */
  948. modifiedUserId?: number | null
  949. /**
  950. * 修改者
  951. * @maxLength 50
  952. */
  953. modifiedUserName?: string | null
  954. /**
  955. * 修改时间
  956. * @format date-time
  957. */
  958. modifiedTime?: string | null
  959. /** 是否删除 */
  960. isDeleted?: boolean
  961. /**
  962. * 租户Id
  963. * @format int64
  964. */
  965. tenantId?: number | null
  966. /**
  967. * 父级
  968. * @format int64
  969. */
  970. parentId?: number
  971. /** 名称 */
  972. name?: string | null
  973. /** 编码 */
  974. code?: string | null
  975. /** 值 */
  976. value?: string | null
  977. /**
  978. * 成员数
  979. * @format int32
  980. */
  981. memberCount?: number
  982. /** 启用 */
  983. enabled?: boolean
  984. /**
  985. * 排序
  986. * @format int32
  987. */
  988. sort?: number
  989. /** 描述 */
  990. description?: string | null
  991. /** 员工列表 */
  992. staffs?: UserStaffEntity[] | null
  993. /** 用户列表 */
  994. users?: UserEntity[] | null
  995. /** 角色列表 */
  996. roles?: RoleEntity[] | null
  997. /** 子级列表 */
  998. childs?: OrgEntity[] | null
  999. }
  1000. export interface OrgGetOutput {
  1001. /**
  1002. * 父级
  1003. * @format int64
  1004. */
  1005. parentId?: number
  1006. /** 名称 */
  1007. name?: string | null
  1008. /** 编码 */
  1009. code?: string | null
  1010. /** 值 */
  1011. value?: string | null
  1012. /** 启用 */
  1013. enabled?: boolean
  1014. /**
  1015. * 排序
  1016. * @format int32
  1017. */
  1018. sort?: number
  1019. /** 描述 */
  1020. description?: string | null
  1021. /**
  1022. * 主键Id
  1023. * @format int64
  1024. */
  1025. id: number
  1026. }
  1027. export interface OrgListOutput {
  1028. /**
  1029. * 主键Id
  1030. * @format int64
  1031. */
  1032. id?: number
  1033. /**
  1034. * 父级
  1035. * @format int64
  1036. */
  1037. parentId?: number
  1038. /** 名称 */
  1039. name?: string | null
  1040. /** 编码 */
  1041. code?: string | null
  1042. /** 值 */
  1043. value?: string | null
  1044. /** 启用 */
  1045. enabled?: boolean
  1046. /**
  1047. * 排序
  1048. * @format int32
  1049. */
  1050. sort?: number
  1051. /** 描述 */
  1052. description?: string | null
  1053. /**
  1054. * 创建时间
  1055. * @format date-time
  1056. */
  1057. createdTime?: string | null
  1058. }
  1059. /** 修改 */
  1060. export interface OrgUpdateInput {
  1061. /**
  1062. * 父级
  1063. * @format int64
  1064. */
  1065. parentId?: number
  1066. /** 名称 */
  1067. name?: string | null
  1068. /** 编码 */
  1069. code?: string | null
  1070. /** 值 */
  1071. value?: string | null
  1072. /** 启用 */
  1073. enabled?: boolean
  1074. /**
  1075. * 排序
  1076. * @format int32
  1077. */
  1078. sort?: number
  1079. /** 描述 */
  1080. description?: string | null
  1081. /**
  1082. * 主键Id
  1083. * @format int64
  1084. */
  1085. id: number
  1086. }
  1087. /** 分页信息输入 */
  1088. export interface PageInputApiGetPageDto {
  1089. /**
  1090. * 当前页标
  1091. * @format int32
  1092. */
  1093. currentPage?: number
  1094. /**
  1095. * 每页大小
  1096. * @format int32
  1097. */
  1098. pageSize?: number
  1099. dynamicFilter?: DynamicFilterInfo
  1100. filter?: ApiGetPageDto
  1101. }
  1102. /** 分页信息输入 */
  1103. export interface PageInputDictionaryGetPageDto {
  1104. /**
  1105. * 当前页标
  1106. * @format int32
  1107. */
  1108. currentPage?: number
  1109. /**
  1110. * 每页大小
  1111. * @format int32
  1112. */
  1113. pageSize?: number
  1114. dynamicFilter?: DynamicFilterInfo
  1115. filter?: DictionaryGetPageDto
  1116. }
  1117. /** 分页信息输入 */
  1118. export interface PageInputDictionaryTypeGetPageDto {
  1119. /**
  1120. * 当前页标
  1121. * @format int32
  1122. */
  1123. currentPage?: number
  1124. /**
  1125. * 每页大小
  1126. * @format int32
  1127. */
  1128. pageSize?: number
  1129. dynamicFilter?: DynamicFilterInfo
  1130. filter?: DictionaryTypeGetPageDto
  1131. }
  1132. /** 分页信息输入 */
  1133. export interface PageInputFileGetPageDto {
  1134. /**
  1135. * 当前页标
  1136. * @format int32
  1137. */
  1138. currentPage?: number
  1139. /**
  1140. * 每页大小
  1141. * @format int32
  1142. */
  1143. pageSize?: number
  1144. dynamicFilter?: DynamicFilterInfo
  1145. filter?: FileGetPageDto
  1146. }
  1147. /** 分页信息输入 */
  1148. export interface PageInputLogGetPageDto {
  1149. /**
  1150. * 当前页标
  1151. * @format int32
  1152. */
  1153. currentPage?: number
  1154. /**
  1155. * 每页大小
  1156. * @format int32
  1157. */
  1158. pageSize?: number
  1159. dynamicFilter?: DynamicFilterInfo
  1160. filter?: LogGetPageDto
  1161. }
  1162. /** 分页信息输入 */
  1163. export interface PageInputRoleGetPageDto {
  1164. /**
  1165. * 当前页标
  1166. * @format int32
  1167. */
  1168. currentPage?: number
  1169. /**
  1170. * 每页大小
  1171. * @format int32
  1172. */
  1173. pageSize?: number
  1174. dynamicFilter?: DynamicFilterInfo
  1175. filter?: RoleGetPageDto
  1176. }
  1177. /** 分页信息输入 */
  1178. export interface PageInputTaskGetPageDto {
  1179. /**
  1180. * 当前页标
  1181. * @format int32
  1182. */
  1183. currentPage?: number
  1184. /**
  1185. * 每页大小
  1186. * @format int32
  1187. */
  1188. pageSize?: number
  1189. dynamicFilter?: DynamicFilterInfo
  1190. filter?: TaskGetPageDto
  1191. }
  1192. /** 分页信息输入 */
  1193. export interface PageInputTaskLogGetPageDto {
  1194. /**
  1195. * 当前页标
  1196. * @format int32
  1197. */
  1198. currentPage?: number
  1199. /**
  1200. * 每页大小
  1201. * @format int32
  1202. */
  1203. pageSize?: number
  1204. dynamicFilter?: DynamicFilterInfo
  1205. filter?: TaskLogGetPageDto
  1206. }
  1207. /** 分页信息输入 */
  1208. export interface PageInputTenantGetPageDto {
  1209. /**
  1210. * 当前页标
  1211. * @format int32
  1212. */
  1213. currentPage?: number
  1214. /**
  1215. * 每页大小
  1216. * @format int32
  1217. */
  1218. pageSize?: number
  1219. dynamicFilter?: DynamicFilterInfo
  1220. filter?: TenantGetPageDto
  1221. }
  1222. /** 分页信息输入 */
  1223. export interface PageInputUserGetPageDto {
  1224. /**
  1225. * 当前页标
  1226. * @format int32
  1227. */
  1228. currentPage?: number
  1229. /**
  1230. * 每页大小
  1231. * @format int32
  1232. */
  1233. pageSize?: number
  1234. dynamicFilter?: DynamicFilterInfo
  1235. /** 用户分页查询条件 */
  1236. filter?: UserGetPageDto
  1237. }
  1238. /** 分页信息输出 */
  1239. export interface PageOutputApiEntity {
  1240. /**
  1241. * 数据总数
  1242. * @format int64
  1243. */
  1244. total?: number
  1245. /** 数据 */
  1246. list?: ApiEntity[] | null
  1247. }
  1248. /** 分页信息输出 */
  1249. export interface PageOutputDictionaryListOutput {
  1250. /**
  1251. * 数据总数
  1252. * @format int64
  1253. */
  1254. total?: number
  1255. /** 数据 */
  1256. list?: DictionaryListOutput[] | null
  1257. }
  1258. /** 分页信息输出 */
  1259. export interface PageOutputDictionaryTypeListOutput {
  1260. /**
  1261. * 数据总数
  1262. * @format int64
  1263. */
  1264. total?: number
  1265. /** 数据 */
  1266. list?: DictionaryTypeListOutput[] | null
  1267. }
  1268. /** 分页信息输出 */
  1269. export interface PageOutputFileGetPageOutput {
  1270. /**
  1271. * 数据总数
  1272. * @format int64
  1273. */
  1274. total?: number
  1275. /** 数据 */
  1276. list?: FileGetPageOutput[] | null
  1277. }
  1278. /** 分页信息输出 */
  1279. export interface PageOutputLoginLogListOutput {
  1280. /**
  1281. * 数据总数
  1282. * @format int64
  1283. */
  1284. total?: number
  1285. /** 数据 */
  1286. list?: LoginLogListOutput[] | null
  1287. }
  1288. /** 分页信息输出 */
  1289. export interface PageOutputOprationLogListOutput {
  1290. /**
  1291. * 数据总数
  1292. * @format int64
  1293. */
  1294. total?: number
  1295. /** 数据 */
  1296. list?: OprationLogListOutput[] | null
  1297. }
  1298. /** 分页信息输出 */
  1299. export interface PageOutputRoleGetPageOutput {
  1300. /**
  1301. * 数据总数
  1302. * @format int64
  1303. */
  1304. total?: number
  1305. /** 数据 */
  1306. list?: RoleGetPageOutput[] | null
  1307. }
  1308. /** 分页信息输出 */
  1309. export interface PageOutputTaskListOutput {
  1310. /**
  1311. * 数据总数
  1312. * @format int64
  1313. */
  1314. total?: number
  1315. /** 数据 */
  1316. list?: TaskListOutput[] | null
  1317. }
  1318. /** 分页信息输出 */
  1319. export interface PageOutputTaskLog {
  1320. /**
  1321. * 数据总数
  1322. * @format int64
  1323. */
  1324. total?: number
  1325. /** 数据 */
  1326. list?: TaskLog[] | null
  1327. }
  1328. /** 分页信息输出 */
  1329. export interface PageOutputTenantListOutput {
  1330. /**
  1331. * 数据总数
  1332. * @format int64
  1333. */
  1334. total?: number
  1335. /** 数据 */
  1336. list?: TenantListOutput[] | null
  1337. }
  1338. /** 分页信息输出 */
  1339. export interface PageOutputUserGetPageOutput {
  1340. /**
  1341. * 数据总数
  1342. * @format int64
  1343. */
  1344. total?: number
  1345. /** 数据 */
  1346. list?: UserGetPageOutput[] | null
  1347. }
  1348. export interface PermissionAddApiInput {
  1349. /**
  1350. * 父级节点
  1351. * @format int64
  1352. */
  1353. parentId?: number
  1354. /**
  1355. * 接口
  1356. * @format int64
  1357. */
  1358. apiId?: number | null
  1359. /** 权限名称 */
  1360. label?: string | null
  1361. /** 权限编码 */
  1362. code?: string | null
  1363. /** 说明 */
  1364. description?: string | null
  1365. /** 隐藏 */
  1366. hidden?: boolean
  1367. /** 图标 */
  1368. icon?: string | null
  1369. /**
  1370. * 排序
  1371. * @format int32
  1372. */
  1373. sort?: number
  1374. /** 启用 */
  1375. enabled?: boolean
  1376. }
  1377. export interface PermissionAddDotInput {
  1378. /**
  1379. * 父级节点
  1380. * @format int64
  1381. */
  1382. parentId?: number
  1383. /** 关联接口 */
  1384. apiIds?: number[] | null
  1385. /** 权限名称 */
  1386. label?: string | null
  1387. /** 权限编码 */
  1388. code?: string | null
  1389. /** 说明 */
  1390. description?: string | null
  1391. /** 图标 */
  1392. icon?: string | null
  1393. /**
  1394. * 排序
  1395. * @format int32
  1396. */
  1397. sort?: number
  1398. /** 启用 */
  1399. enabled?: boolean
  1400. }
  1401. export interface PermissionAddGroupInput {
  1402. /**
  1403. * 父级节点
  1404. * @format int64
  1405. */
  1406. parentId?: number
  1407. /**
  1408. * 视图
  1409. * @format int64
  1410. */
  1411. viewId?: number | null
  1412. /** 路由命名 */
  1413. name?: string | null
  1414. /** 访问路由地址 */
  1415. path?: string | null
  1416. /** 重定向地址 */
  1417. redirect?: string | null
  1418. /** 权限名称 */
  1419. label?: string | null
  1420. /** 隐藏 */
  1421. hidden?: boolean
  1422. /** 图标 */
  1423. icon?: string | null
  1424. /** 展开 */
  1425. opened?: boolean
  1426. /**
  1427. * 排序
  1428. * @format int32
  1429. */
  1430. sort?: number
  1431. /** 启用 */
  1432. enabled?: boolean
  1433. }
  1434. export interface PermissionAddMenuInput {
  1435. /**
  1436. * 父级节点
  1437. * @format int64
  1438. */
  1439. parentId?: number
  1440. /**
  1441. * 视图
  1442. * @format int64
  1443. */
  1444. viewId?: number | null
  1445. /** 路由命名 */
  1446. name?: string | null
  1447. /** 路由地址 */
  1448. path?: string | null
  1449. /** 权限名称 */
  1450. label?: string | null
  1451. /** 说明 */
  1452. description?: string | null
  1453. /** 隐藏 */
  1454. hidden?: boolean
  1455. /** 图标 */
  1456. icon?: string | null
  1457. /** 打开新窗口 */
  1458. newWindow?: boolean
  1459. /** 链接外显 */
  1460. external?: boolean
  1461. /** 是否缓存 */
  1462. isKeepAlive?: boolean
  1463. /** 是否固定 */
  1464. isAffix?: boolean
  1465. /** 链接地址 */
  1466. link?: string | null
  1467. /** 是否内嵌窗口 */
  1468. isIframe?: boolean
  1469. /**
  1470. * 排序
  1471. * @format int32
  1472. */
  1473. sort?: number
  1474. /** 启用 */
  1475. enabled?: boolean
  1476. }
  1477. export interface PermissionAssignInput {
  1478. /** @format int64 */
  1479. roleId: number
  1480. permissionIds: number[]
  1481. }
  1482. /** 权限 */
  1483. export interface PermissionEntity {
  1484. /**
  1485. * 主键Id
  1486. * @format int64
  1487. */
  1488. id?: number
  1489. /**
  1490. * 创建者Id
  1491. * @format int64
  1492. */
  1493. createdUserId?: number | null
  1494. /**
  1495. * 创建者
  1496. * @maxLength 50
  1497. */
  1498. createdUserName?: string | null
  1499. /**
  1500. * 创建时间
  1501. * @format date-time
  1502. */
  1503. createdTime?: string | null
  1504. /**
  1505. * 修改者Id
  1506. * @format int64
  1507. */
  1508. modifiedUserId?: number | null
  1509. /**
  1510. * 修改者
  1511. * @maxLength 50
  1512. */
  1513. modifiedUserName?: string | null
  1514. /**
  1515. * 修改时间
  1516. * @format date-time
  1517. */
  1518. modifiedTime?: string | null
  1519. /** 是否删除 */
  1520. isDeleted?: boolean
  1521. /**
  1522. * 父级节点
  1523. * @format int64
  1524. */
  1525. parentId?: number
  1526. /** 权限名称 */
  1527. label?: string | null
  1528. /** 权限编码 */
  1529. code?: string | null
  1530. /** 权限类型:Group=1,Menu=2,Dot=3 */
  1531. type?: PermissionType
  1532. /**
  1533. * 视图Id
  1534. * @format int64
  1535. */
  1536. viewId?: number | null
  1537. /** 视图管理 */
  1538. view?: ViewEntity
  1539. /** 路由命名 */
  1540. name?: string | null
  1541. /** 路由地址 */
  1542. path?: string | null
  1543. /** 重定向地址 */
  1544. redirect?: string | null
  1545. /** 图标 */
  1546. icon?: string | null
  1547. /** 隐藏 */
  1548. hidden?: boolean
  1549. /** 展开分组 */
  1550. opened?: boolean
  1551. /** 打开新窗口 */
  1552. newWindow?: boolean
  1553. /** 链接外显 */
  1554. external?: boolean
  1555. /** 是否缓存 */
  1556. isKeepAlive?: boolean
  1557. /** 是否固定 */
  1558. isAffix?: boolean
  1559. /** 链接地址 */
  1560. link?: string | null
  1561. /** 是否内嵌窗口 */
  1562. isIframe?: boolean
  1563. /**
  1564. * 排序
  1565. * @format int32
  1566. */
  1567. sort?: number
  1568. /** 描述 */
  1569. description?: string | null
  1570. /** 启用 */
  1571. enabled?: boolean
  1572. apis?: ApiEntity[] | null
  1573. childs?: PermissionEntity[] | null
  1574. }
  1575. export interface PermissionGetApiOutput {
  1576. /**
  1577. * 父级节点
  1578. * @format int64
  1579. */
  1580. parentId?: number
  1581. /**
  1582. * 接口
  1583. * @format int64
  1584. */
  1585. apiId?: number | null
  1586. /** 权限名称 */
  1587. label?: string | null
  1588. /** 权限编码 */
  1589. code?: string | null
  1590. /** 说明 */
  1591. description?: string | null
  1592. /** 隐藏 */
  1593. hidden?: boolean
  1594. /** 图标 */
  1595. icon?: string | null
  1596. /**
  1597. * 排序
  1598. * @format int32
  1599. */
  1600. sort?: number
  1601. /** 启用 */
  1602. enabled?: boolean
  1603. /**
  1604. * 权限Id
  1605. * @format int64
  1606. */
  1607. id: number
  1608. }
  1609. export interface PermissionGetDotOutput {
  1610. /**
  1611. * 父级节点
  1612. * @format int64
  1613. */
  1614. parentId?: number
  1615. /** 关联接口 */
  1616. apiIds?: number[] | null
  1617. /** 权限名称 */
  1618. label?: string | null
  1619. /** 权限编码 */
  1620. code?: string | null
  1621. /** 说明 */
  1622. description?: string | null
  1623. /** 图标 */
  1624. icon?: string | null
  1625. /**
  1626. * 排序
  1627. * @format int32
  1628. */
  1629. sort?: number
  1630. /** 启用 */
  1631. enabled?: boolean
  1632. /**
  1633. * 权限Id
  1634. * @format int64
  1635. */
  1636. id: number
  1637. }
  1638. export interface PermissionGetGroupOutput {
  1639. /**
  1640. * 父级节点
  1641. * @format int64
  1642. */
  1643. parentId?: number
  1644. /**
  1645. * 视图
  1646. * @format int64
  1647. */
  1648. viewId?: number | null
  1649. /** 路由命名 */
  1650. name?: string | null
  1651. /** 访问路由地址 */
  1652. path?: string | null
  1653. /** 重定向地址 */
  1654. redirect?: string | null
  1655. /** 权限名称 */
  1656. label?: string | null
  1657. /** 隐藏 */
  1658. hidden?: boolean
  1659. /** 图标 */
  1660. icon?: string | null
  1661. /** 展开 */
  1662. opened?: boolean
  1663. /**
  1664. * 排序
  1665. * @format int32
  1666. */
  1667. sort?: number
  1668. /** 启用 */
  1669. enabled?: boolean
  1670. /**
  1671. * 权限Id
  1672. * @format int64
  1673. */
  1674. id: number
  1675. }
  1676. export interface PermissionGetMenuOutput {
  1677. /**
  1678. * 父级节点
  1679. * @format int64
  1680. */
  1681. parentId?: number
  1682. /**
  1683. * 视图
  1684. * @format int64
  1685. */
  1686. viewId?: number | null
  1687. /** 路由命名 */
  1688. name?: string | null
  1689. /** 路由地址 */
  1690. path?: string | null
  1691. /** 权限名称 */
  1692. label?: string | null
  1693. /** 说明 */
  1694. description?: string | null
  1695. /** 隐藏 */
  1696. hidden?: boolean
  1697. /** 图标 */
  1698. icon?: string | null
  1699. /** 打开新窗口 */
  1700. newWindow?: boolean
  1701. /** 链接外显 */
  1702. external?: boolean
  1703. /** 是否缓存 */
  1704. isKeepAlive?: boolean
  1705. /** 是否固定 */
  1706. isAffix?: boolean
  1707. /** 链接地址 */
  1708. link?: string | null
  1709. /** 是否内嵌窗口 */
  1710. isIframe?: boolean
  1711. /**
  1712. * 排序
  1713. * @format int32
  1714. */
  1715. sort?: number
  1716. /** 启用 */
  1717. enabled?: boolean
  1718. /**
  1719. * 权限Id
  1720. * @format int64
  1721. */
  1722. id: number
  1723. }
  1724. export interface PermissionListOutput {
  1725. /**
  1726. * 权限Id
  1727. * @format int64
  1728. */
  1729. id?: number
  1730. /**
  1731. * 父级节点
  1732. * @format int64
  1733. */
  1734. parentId?: number
  1735. /** 权限名称 */
  1736. label?: string | null
  1737. /** 权限类型:Group=1,Menu=2,Dot=3 */
  1738. type?: PermissionType
  1739. /** 路由地址 */
  1740. path?: string | null
  1741. /** 重定向地址 */
  1742. redirect?: string | null
  1743. /** 视图地址 */
  1744. viewPath?: string | null
  1745. /** 链接地址 */
  1746. link?: string | null
  1747. /** 接口路径 */
  1748. apiPaths?: string | null
  1749. /** 图标 */
  1750. icon?: string | null
  1751. /** 展开 */
  1752. opened?: boolean
  1753. /**
  1754. * 排序
  1755. * @format int32
  1756. */
  1757. sort?: number | null
  1758. /** 描述 */
  1759. description?: string | null
  1760. /** 启用 */
  1761. enabled?: boolean
  1762. }
  1763. export interface PermissionSaveTenantPermissionsInput {
  1764. /** @format int64 */
  1765. tenantId: number
  1766. permissionIds: number[]
  1767. }
  1768. /**
  1769. * 权限类型:Group=1,Menu=2,Dot=3
  1770. * @format int32
  1771. */
  1772. export type PermissionType = 1 | 2 | 3
  1773. export interface PermissionUpdateApiInput {
  1774. /**
  1775. * 父级节点
  1776. * @format int64
  1777. */
  1778. parentId?: number
  1779. /**
  1780. * 接口
  1781. * @format int64
  1782. */
  1783. apiId?: number | null
  1784. /** 权限名称 */
  1785. label?: string | null
  1786. /** 权限编码 */
  1787. code?: string | null
  1788. /** 说明 */
  1789. description?: string | null
  1790. /** 隐藏 */
  1791. hidden?: boolean
  1792. /** 图标 */
  1793. icon?: string | null
  1794. /**
  1795. * 排序
  1796. * @format int32
  1797. */
  1798. sort?: number
  1799. /** 启用 */
  1800. enabled?: boolean
  1801. /**
  1802. * 权限Id
  1803. * @format int64
  1804. */
  1805. id: number
  1806. }
  1807. export interface PermissionUpdateDotInput {
  1808. /**
  1809. * 父级节点
  1810. * @format int64
  1811. */
  1812. parentId?: number
  1813. /** 关联接口 */
  1814. apiIds?: number[] | null
  1815. /** 权限名称 */
  1816. label?: string | null
  1817. /** 权限编码 */
  1818. code?: string | null
  1819. /** 说明 */
  1820. description?: string | null
  1821. /** 图标 */
  1822. icon?: string | null
  1823. /**
  1824. * 排序
  1825. * @format int32
  1826. */
  1827. sort?: number
  1828. /** 启用 */
  1829. enabled?: boolean
  1830. /**
  1831. * 权限Id
  1832. * @format int64
  1833. */
  1834. id: number
  1835. }
  1836. export interface PermissionUpdateGroupInput {
  1837. /**
  1838. * 父级节点
  1839. * @format int64
  1840. */
  1841. parentId?: number
  1842. /**
  1843. * 视图
  1844. * @format int64
  1845. */
  1846. viewId?: number | null
  1847. /** 路由命名 */
  1848. name?: string | null
  1849. /** 访问路由地址 */
  1850. path?: string | null
  1851. /** 重定向地址 */
  1852. redirect?: string | null
  1853. /** 权限名称 */
  1854. label?: string | null
  1855. /** 隐藏 */
  1856. hidden?: boolean
  1857. /** 图标 */
  1858. icon?: string | null
  1859. /** 展开 */
  1860. opened?: boolean
  1861. /**
  1862. * 排序
  1863. * @format int32
  1864. */
  1865. sort?: number
  1866. /** 启用 */
  1867. enabled?: boolean
  1868. /**
  1869. * 权限Id
  1870. * @format int64
  1871. */
  1872. id: number
  1873. }
  1874. export interface PermissionUpdateMenuInput {
  1875. /**
  1876. * 父级节点
  1877. * @format int64
  1878. */
  1879. parentId?: number
  1880. /**
  1881. * 视图
  1882. * @format int64
  1883. */
  1884. viewId?: number | null
  1885. /** 路由命名 */
  1886. name?: string | null
  1887. /** 路由地址 */
  1888. path?: string | null
  1889. /** 权限名称 */
  1890. label?: string | null
  1891. /** 说明 */
  1892. description?: string | null
  1893. /** 隐藏 */
  1894. hidden?: boolean
  1895. /** 图标 */
  1896. icon?: string | null
  1897. /** 打开新窗口 */
  1898. newWindow?: boolean
  1899. /** 链接外显 */
  1900. external?: boolean
  1901. /** 是否缓存 */
  1902. isKeepAlive?: boolean
  1903. /** 是否固定 */
  1904. isAffix?: boolean
  1905. /** 链接地址 */
  1906. link?: string | null
  1907. /** 是否内嵌窗口 */
  1908. isIframe?: boolean
  1909. /**
  1910. * 排序
  1911. * @format int32
  1912. */
  1913. sort?: number
  1914. /** 启用 */
  1915. enabled?: boolean
  1916. /**
  1917. * 权限Id
  1918. * @format int64
  1919. */
  1920. id: number
  1921. }
  1922. /** 结果输出 */
  1923. export interface ResultOutputApiGetOutput {
  1924. /** 是否成功标记 */
  1925. success?: boolean
  1926. /** 编码 */
  1927. code?: string | null
  1928. /** 消息 */
  1929. msg?: string | null
  1930. data?: ApiGetOutput
  1931. }
  1932. /** 结果输出 */
  1933. export interface ResultOutputAuthGetPasswordEncryptKeyOutput {
  1934. /** 是否成功标记 */
  1935. success?: boolean
  1936. /** 编码 */
  1937. code?: string | null
  1938. /** 消息 */
  1939. msg?: string | null
  1940. data?: AuthGetPasswordEncryptKeyOutput
  1941. }
  1942. /** 结果输出 */
  1943. export interface ResultOutputAuthGetUserInfoOutput {
  1944. /** 是否成功标记 */
  1945. success?: boolean
  1946. /** 编码 */
  1947. code?: string | null
  1948. /** 消息 */
  1949. msg?: string | null
  1950. data?: AuthGetUserInfoOutput
  1951. }
  1952. /** 结果输出 */
  1953. export interface ResultOutputCaptchaOutput {
  1954. /** 是否成功标记 */
  1955. success?: boolean
  1956. /** 编码 */
  1957. code?: string | null
  1958. /** 消息 */
  1959. msg?: string | null
  1960. /** 验证数据 */
  1961. data?: CaptchaOutput
  1962. }
  1963. /** 结果输出 */
  1964. export interface ResultOutputDictionaryGetOutput {
  1965. /** 是否成功标记 */
  1966. success?: boolean
  1967. /** 编码 */
  1968. code?: string | null
  1969. /** 消息 */
  1970. msg?: string | null
  1971. data?: DictionaryGetOutput
  1972. }
  1973. /** 结果输出 */
  1974. export interface ResultOutputDictionaryTypeGetOutput {
  1975. /** 是否成功标记 */
  1976. success?: boolean
  1977. /** 编码 */
  1978. code?: string | null
  1979. /** 消息 */
  1980. msg?: string | null
  1981. data?: DictionaryTypeGetOutput
  1982. }
  1983. /** 结果输出 */
  1984. export interface ResultOutputDocumentGetContentOutput {
  1985. /** 是否成功标记 */
  1986. success?: boolean
  1987. /** 编码 */
  1988. code?: string | null
  1989. /** 消息 */
  1990. msg?: string | null
  1991. data?: DocumentGetContentOutput
  1992. }
  1993. /** 结果输出 */
  1994. export interface ResultOutputDocumentGetGroupOutput {
  1995. /** 是否成功标记 */
  1996. success?: boolean
  1997. /** 编码 */
  1998. code?: string | null
  1999. /** 消息 */
  2000. msg?: string | null
  2001. data?: DocumentGetGroupOutput
  2002. }
  2003. /** 结果输出 */
  2004. export interface ResultOutputDocumentGetMenuOutput {
  2005. /** 是否成功标记 */
  2006. success?: boolean
  2007. /** 编码 */
  2008. code?: string | null
  2009. /** 消息 */
  2010. msg?: string | null
  2011. data?: DocumentGetMenuOutput
  2012. }
  2013. /** 结果输出 */
  2014. export interface ResultOutputFileEntity {
  2015. /** 是否成功标记 */
  2016. success?: boolean
  2017. /** 编码 */
  2018. code?: string | null
  2019. /** 消息 */
  2020. msg?: string | null
  2021. /** 文件 */
  2022. data?: FileEntity
  2023. }
  2024. /** 结果输出 */
  2025. export interface ResultOutputIEnumerableObject {
  2026. /** 是否成功标记 */
  2027. success?: boolean
  2028. /** 编码 */
  2029. code?: string | null
  2030. /** 消息 */
  2031. msg?: string | null
  2032. /** 数据 */
  2033. data?: any[] | null
  2034. }
  2035. /** 结果输出 */
  2036. export interface ResultOutputIListUserPermissionsOutput {
  2037. /** 是否成功标记 */
  2038. success?: boolean
  2039. /** 编码 */
  2040. code?: string | null
  2041. /** 消息 */
  2042. msg?: string | null
  2043. /** 数据 */
  2044. data?: UserPermissionsOutput[] | null
  2045. }
  2046. /** 结果输出 */
  2047. export interface ResultOutputInt64 {
  2048. /** 是否成功标记 */
  2049. success?: boolean
  2050. /** 编码 */
  2051. code?: string | null
  2052. /** 消息 */
  2053. msg?: string | null
  2054. /**
  2055. * 数据
  2056. * @format int64
  2057. */
  2058. data?: number
  2059. }
  2060. /** 结果输出 */
  2061. export interface ResultOutputListApiListOutput {
  2062. /** 是否成功标记 */
  2063. success?: boolean
  2064. /** 编码 */
  2065. code?: string | null
  2066. /** 消息 */
  2067. msg?: string | null
  2068. /** 数据 */
  2069. data?: ApiListOutput[] | null
  2070. }
  2071. /** 结果输出 */
  2072. export interface ResultOutputListDocumentListOutput {
  2073. /** 是否成功标记 */
  2074. success?: boolean
  2075. /** 编码 */
  2076. code?: string | null
  2077. /** 消息 */
  2078. msg?: string | null
  2079. /** 数据 */
  2080. data?: DocumentListOutput[] | null
  2081. }
  2082. /** 结果输出 */
  2083. export interface ResultOutputListFileEntity {
  2084. /** 是否成功标记 */
  2085. success?: boolean
  2086. /** 编码 */
  2087. code?: string | null
  2088. /** 消息 */
  2089. msg?: string | null
  2090. /** 数据 */
  2091. data?: FileEntity[] | null
  2092. }
  2093. /** 结果输出 */
  2094. export interface ResultOutputListInt64 {
  2095. /** 是否成功标记 */
  2096. success?: boolean
  2097. /** 编码 */
  2098. code?: string | null
  2099. /** 消息 */
  2100. msg?: string | null
  2101. /** 数据 */
  2102. data?: number[] | null
  2103. }
  2104. /** 结果输出 */
  2105. export interface ResultOutputListObject {
  2106. /** 是否成功标记 */
  2107. success?: boolean
  2108. /** 编码 */
  2109. code?: string | null
  2110. /** 消息 */
  2111. msg?: string | null
  2112. /** 数据 */
  2113. data?: any[] | null
  2114. }
  2115. /** 结果输出 */
  2116. export interface ResultOutputListOrgListOutput {
  2117. /** 是否成功标记 */
  2118. success?: boolean
  2119. /** 编码 */
  2120. code?: string | null
  2121. /** 消息 */
  2122. msg?: string | null
  2123. /** 数据 */
  2124. data?: OrgListOutput[] | null
  2125. }
  2126. /** 结果输出 */
  2127. export interface ResultOutputListPermissionListOutput {
  2128. /** 是否成功标记 */
  2129. success?: boolean
  2130. /** 编码 */
  2131. code?: string | null
  2132. /** 消息 */
  2133. msg?: string | null
  2134. /** 数据 */
  2135. data?: PermissionListOutput[] | null
  2136. }
  2137. /** 结果输出 */
  2138. export interface ResultOutputListRoleGetListOutput {
  2139. /** 是否成功标记 */
  2140. success?: boolean
  2141. /** 编码 */
  2142. code?: string | null
  2143. /** 消息 */
  2144. msg?: string | null
  2145. /** 数据 */
  2146. data?: RoleGetListOutput[] | null
  2147. }
  2148. /** 结果输出 */
  2149. export interface ResultOutputListString {
  2150. /** 是否成功标记 */
  2151. success?: boolean
  2152. /** 编码 */
  2153. code?: string | null
  2154. /** 消息 */
  2155. msg?: string | null
  2156. /** 数据 */
  2157. data?: string[] | null
  2158. }
  2159. /** 结果输出 */
  2160. export interface ResultOutputListUserGetRoleUserListOutput {
  2161. /** 是否成功标记 */
  2162. success?: boolean
  2163. /** 编码 */
  2164. code?: string | null
  2165. /** 消息 */
  2166. msg?: string | null
  2167. /** 数据 */
  2168. data?: UserGetRoleUserListOutput[] | null
  2169. }
  2170. /** 结果输出 */
  2171. export interface ResultOutputListViewListOutput {
  2172. /** 是否成功标记 */
  2173. success?: boolean
  2174. /** 编码 */
  2175. code?: string | null
  2176. /** 消息 */
  2177. msg?: string | null
  2178. /** 数据 */
  2179. data?: ViewListOutput[] | null
  2180. }
  2181. /** 结果输出 */
  2182. export interface ResultOutputObject {
  2183. /** 是否成功标记 */
  2184. success?: boolean
  2185. /** 编码 */
  2186. code?: string | null
  2187. /** 消息 */
  2188. msg?: string | null
  2189. /** 数据 */
  2190. data?: any
  2191. }
  2192. /** 结果输出 */
  2193. export interface ResultOutputOrgGetOutput {
  2194. /** 是否成功标记 */
  2195. success?: boolean
  2196. /** 编码 */
  2197. code?: string | null
  2198. /** 消息 */
  2199. msg?: string | null
  2200. data?: OrgGetOutput
  2201. }
  2202. /** 结果输出 */
  2203. export interface ResultOutputPageOutputApiEntity {
  2204. /** 是否成功标记 */
  2205. success?: boolean
  2206. /** 编码 */
  2207. code?: string | null
  2208. /** 消息 */
  2209. msg?: string | null
  2210. /** 分页信息输出 */
  2211. data?: PageOutputApiEntity
  2212. }
  2213. /** 结果输出 */
  2214. export interface ResultOutputPageOutputDictionaryListOutput {
  2215. /** 是否成功标记 */
  2216. success?: boolean
  2217. /** 编码 */
  2218. code?: string | null
  2219. /** 消息 */
  2220. msg?: string | null
  2221. /** 分页信息输出 */
  2222. data?: PageOutputDictionaryListOutput
  2223. }
  2224. /** 结果输出 */
  2225. export interface ResultOutputPageOutputDictionaryTypeListOutput {
  2226. /** 是否成功标记 */
  2227. success?: boolean
  2228. /** 编码 */
  2229. code?: string | null
  2230. /** 消息 */
  2231. msg?: string | null
  2232. /** 分页信息输出 */
  2233. data?: PageOutputDictionaryTypeListOutput
  2234. }
  2235. /** 结果输出 */
  2236. export interface ResultOutputPageOutputFileGetPageOutput {
  2237. /** 是否成功标记 */
  2238. success?: boolean
  2239. /** 编码 */
  2240. code?: string | null
  2241. /** 消息 */
  2242. msg?: string | null
  2243. /** 分页信息输出 */
  2244. data?: PageOutputFileGetPageOutput
  2245. }
  2246. /** 结果输出 */
  2247. export interface ResultOutputPageOutputLoginLogListOutput {
  2248. /** 是否成功标记 */
  2249. success?: boolean
  2250. /** 编码 */
  2251. code?: string | null
  2252. /** 消息 */
  2253. msg?: string | null
  2254. /** 分页信息输出 */
  2255. data?: PageOutputLoginLogListOutput
  2256. }
  2257. /** 结果输出 */
  2258. export interface ResultOutputPageOutputOprationLogListOutput {
  2259. /** 是否成功标记 */
  2260. success?: boolean
  2261. /** 编码 */
  2262. code?: string | null
  2263. /** 消息 */
  2264. msg?: string | null
  2265. /** 分页信息输出 */
  2266. data?: PageOutputOprationLogListOutput
  2267. }
  2268. /** 结果输出 */
  2269. export interface ResultOutputPageOutputRoleGetPageOutput {
  2270. /** 是否成功标记 */
  2271. success?: boolean
  2272. /** 编码 */
  2273. code?: string | null
  2274. /** 消息 */
  2275. msg?: string | null
  2276. /** 分页信息输出 */
  2277. data?: PageOutputRoleGetPageOutput
  2278. }
  2279. /** 结果输出 */
  2280. export interface ResultOutputPageOutputTaskListOutput {
  2281. /** 是否成功标记 */
  2282. success?: boolean
  2283. /** 编码 */
  2284. code?: string | null
  2285. /** 消息 */
  2286. msg?: string | null
  2287. /** 分页信息输出 */
  2288. data?: PageOutputTaskListOutput
  2289. }
  2290. /** 结果输出 */
  2291. export interface ResultOutputPageOutputTaskLog {
  2292. /** 是否成功标记 */
  2293. success?: boolean
  2294. /** 编码 */
  2295. code?: string | null
  2296. /** 消息 */
  2297. msg?: string | null
  2298. /** 分页信息输出 */
  2299. data?: PageOutputTaskLog
  2300. }
  2301. /** 结果输出 */
  2302. export interface ResultOutputPageOutputTenantListOutput {
  2303. /** 是否成功标记 */
  2304. success?: boolean
  2305. /** 编码 */
  2306. code?: string | null
  2307. /** 消息 */
  2308. msg?: string | null
  2309. /** 分页信息输出 */
  2310. data?: PageOutputTenantListOutput
  2311. }
  2312. /** 结果输出 */
  2313. export interface ResultOutputPageOutputUserGetPageOutput {
  2314. /** 是否成功标记 */
  2315. success?: boolean
  2316. /** 编码 */
  2317. code?: string | null
  2318. /** 消息 */
  2319. msg?: string | null
  2320. /** 分页信息输出 */
  2321. data?: PageOutputUserGetPageOutput
  2322. }
  2323. /** 结果输出 */
  2324. export interface ResultOutputPermissionGetApiOutput {
  2325. /** 是否成功标记 */
  2326. success?: boolean
  2327. /** 编码 */
  2328. code?: string | null
  2329. /** 消息 */
  2330. msg?: string | null
  2331. data?: PermissionGetApiOutput
  2332. }
  2333. /** 结果输出 */
  2334. export interface ResultOutputPermissionGetDotOutput {
  2335. /** 是否成功标记 */
  2336. success?: boolean
  2337. /** 编码 */
  2338. code?: string | null
  2339. /** 消息 */
  2340. msg?: string | null
  2341. data?: PermissionGetDotOutput
  2342. }
  2343. /** 结果输出 */
  2344. export interface ResultOutputPermissionGetGroupOutput {
  2345. /** 是否成功标记 */
  2346. success?: boolean
  2347. /** 编码 */
  2348. code?: string | null
  2349. /** 消息 */
  2350. msg?: string | null
  2351. data?: PermissionGetGroupOutput
  2352. }
  2353. /** 结果输出 */
  2354. export interface ResultOutputPermissionGetMenuOutput {
  2355. /** 是否成功标记 */
  2356. success?: boolean
  2357. /** 编码 */
  2358. code?: string | null
  2359. /** 消息 */
  2360. msg?: string | null
  2361. data?: PermissionGetMenuOutput
  2362. }
  2363. /** 结果输出 */
  2364. export interface ResultOutputRoleGetOutput {
  2365. /** 是否成功标记 */
  2366. success?: boolean
  2367. /** 编码 */
  2368. code?: string | null
  2369. /** 消息 */
  2370. msg?: string | null
  2371. data?: RoleGetOutput
  2372. }
  2373. /** 结果输出 */
  2374. export interface ResultOutputString {
  2375. /** 是否成功标记 */
  2376. success?: boolean
  2377. /** 编码 */
  2378. code?: string | null
  2379. /** 消息 */
  2380. msg?: string | null
  2381. /** 数据 */
  2382. data?: string | null
  2383. }
  2384. /** 结果输出 */
  2385. export interface ResultOutputTaskGetOutput {
  2386. /** 是否成功标记 */
  2387. success?: boolean
  2388. /** 编码 */
  2389. code?: string | null
  2390. /** 消息 */
  2391. msg?: string | null
  2392. data?: TaskGetOutput
  2393. }
  2394. /** 结果输出 */
  2395. export interface ResultOutputTenantGetOutput {
  2396. /** 是否成功标记 */
  2397. success?: boolean
  2398. /** 编码 */
  2399. code?: string | null
  2400. /** 消息 */
  2401. msg?: string | null
  2402. data?: TenantGetOutput
  2403. }
  2404. /** 结果输出 */
  2405. export interface ResultOutputUserGetBasicOutput {
  2406. /** 是否成功标记 */
  2407. success?: boolean
  2408. /** 编码 */
  2409. code?: string | null
  2410. /** 消息 */
  2411. msg?: string | null
  2412. data?: UserGetBasicOutput
  2413. }
  2414. /** 结果输出 */
  2415. export interface ResultOutputUserGetOutput {
  2416. /** 是否成功标记 */
  2417. success?: boolean
  2418. /** 编码 */
  2419. code?: string | null
  2420. /** 消息 */
  2421. msg?: string | null
  2422. data?: UserGetOutput
  2423. }
  2424. /** 结果输出 */
  2425. export interface ResultOutputViewGetOutput {
  2426. /** 是否成功标记 */
  2427. success?: boolean
  2428. /** 编码 */
  2429. code?: string | null
  2430. /** 消息 */
  2431. msg?: string | null
  2432. data?: ViewGetOutput
  2433. }
  2434. /** 添加 */
  2435. export interface RoleAddInput {
  2436. /**
  2437. * 父级Id
  2438. * @format int64
  2439. */
  2440. parentId?: number
  2441. /** 名称 */
  2442. name?: string | null
  2443. /** 编码 */
  2444. code?: string | null
  2445. /** 角色类型:Group=1,Role=2 */
  2446. type?: RoleType
  2447. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2448. dataScope?: DataScope
  2449. /** 指定部门 */
  2450. orgIds?: number[] | null
  2451. /** 部门列表 */
  2452. orgs?: OrgEntity[] | null
  2453. /** 说明 */
  2454. description?: string | null
  2455. /**
  2456. * 排序
  2457. * @format int32
  2458. */
  2459. sort?: number
  2460. }
  2461. /** 添加角色用户列表 */
  2462. export interface RoleAddRoleUserListInput {
  2463. /**
  2464. * 角色
  2465. * @format int64
  2466. */
  2467. roleId: number
  2468. /** 用户 */
  2469. userIds?: number[] | null
  2470. }
  2471. /** 角色 */
  2472. export interface RoleEntity {
  2473. /**
  2474. * 主键Id
  2475. * @format int64
  2476. */
  2477. id?: number
  2478. /**
  2479. * 创建者Id
  2480. * @format int64
  2481. */
  2482. createdUserId?: number | null
  2483. /**
  2484. * 创建者
  2485. * @maxLength 50
  2486. */
  2487. createdUserName?: string | null
  2488. /**
  2489. * 创建时间
  2490. * @format date-time
  2491. */
  2492. createdTime?: string | null
  2493. /**
  2494. * 修改者Id
  2495. * @format int64
  2496. */
  2497. modifiedUserId?: number | null
  2498. /**
  2499. * 修改者
  2500. * @maxLength 50
  2501. */
  2502. modifiedUserName?: string | null
  2503. /**
  2504. * 修改时间
  2505. * @format date-time
  2506. */
  2507. modifiedTime?: string | null
  2508. /** 是否删除 */
  2509. isDeleted?: boolean
  2510. /**
  2511. * 租户Id
  2512. * @format int64
  2513. */
  2514. tenantId?: number | null
  2515. /**
  2516. * 父级Id
  2517. * @format int64
  2518. */
  2519. parentId?: number
  2520. /** 子级列表 */
  2521. childs?: RoleEntity[] | null
  2522. /** 名称 */
  2523. name?: string | null
  2524. /** 编码 */
  2525. code?: string | null
  2526. /** 角色类型:Group=1,Role=2 */
  2527. type?: RoleType
  2528. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2529. dataScope?: DataScope
  2530. /** 说明 */
  2531. description?: string | null
  2532. /** 隐藏 */
  2533. hidden?: boolean
  2534. /**
  2535. * 排序
  2536. * @format int32
  2537. */
  2538. sort?: number
  2539. /** 用户列表 */
  2540. users?: UserEntity[] | null
  2541. /** 部门列表 */
  2542. orgs?: OrgEntity[] | null
  2543. /** 权限列表 */
  2544. permissions?: PermissionEntity[] | null
  2545. }
  2546. export interface RoleGetListOutput {
  2547. /**
  2548. * 主键
  2549. * @format int64
  2550. */
  2551. id?: number
  2552. /**
  2553. * 父级Id
  2554. * @format int64
  2555. */
  2556. parentId?: number
  2557. /** 名称 */
  2558. name?: string | null
  2559. /** 编码 */
  2560. code?: string | null
  2561. /** 角色类型:Group=1,Role=2 */
  2562. type?: RoleType
  2563. /**
  2564. * 排序
  2565. * @format int32
  2566. */
  2567. sort?: number
  2568. /** 描述 */
  2569. description?: string | null
  2570. }
  2571. export interface RoleGetOutput {
  2572. /**
  2573. * 父级Id
  2574. * @format int64
  2575. */
  2576. parentId?: number
  2577. /** 名称 */
  2578. name?: string | null
  2579. /** 编码 */
  2580. code?: string | null
  2581. /** 角色类型:Group=1,Role=2 */
  2582. type?: RoleType
  2583. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2584. dataScope?: DataScope
  2585. /** 指定部门 */
  2586. orgIds?: number[] | null
  2587. /** 部门列表 */
  2588. orgs?: OrgEntity[] | null
  2589. /** 说明 */
  2590. description?: string | null
  2591. /**
  2592. * 排序
  2593. * @format int32
  2594. */
  2595. sort?: number
  2596. /**
  2597. * 角色Id
  2598. * @format int64
  2599. */
  2600. id: number
  2601. }
  2602. export interface RoleGetPageDto {
  2603. /** 名称 */
  2604. name?: string | null
  2605. }
  2606. export interface RoleGetPageOutput {
  2607. /**
  2608. * 主键
  2609. * @format int64
  2610. */
  2611. id?: number
  2612. /** 名称 */
  2613. name?: string | null
  2614. /** 编码 */
  2615. code?: string | null
  2616. /** 说明 */
  2617. description?: string | null
  2618. /** 隐藏 */
  2619. hidden?: boolean
  2620. /**
  2621. * 创建时间
  2622. * @format date-time
  2623. */
  2624. createdTime?: string | null
  2625. }
  2626. /** 设置数据范围 */
  2627. export interface RoleSetDataScopeInput {
  2628. /**
  2629. * 角色Id
  2630. * @format int64
  2631. */
  2632. roleId: number
  2633. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2634. dataScope?: DataScope
  2635. /** 指定部门 */
  2636. orgIds?: number[] | null
  2637. }
  2638. /**
  2639. * 角色类型:Group=1,Role=2
  2640. * @format int32
  2641. */
  2642. export type RoleType = 1 | 2
  2643. /** 修改 */
  2644. export interface RoleUpdateInput {
  2645. /**
  2646. * 父级Id
  2647. * @format int64
  2648. */
  2649. parentId?: number
  2650. /** 名称 */
  2651. name?: string | null
  2652. /** 编码 */
  2653. code?: string | null
  2654. /** 角色类型:Group=1,Role=2 */
  2655. type?: RoleType
  2656. /** 数据范围:All=1,DeptWithChild=2,Dept=3,Self=4,Custom=5 */
  2657. dataScope?: DataScope
  2658. /** 指定部门 */
  2659. orgIds?: number[] | null
  2660. /** 部门列表 */
  2661. orgs?: OrgEntity[] | null
  2662. /** 说明 */
  2663. description?: string | null
  2664. /**
  2665. * 排序
  2666. * @format int32
  2667. */
  2668. sort?: number
  2669. /**
  2670. * 角色Id
  2671. * @format int64
  2672. */
  2673. id: number
  2674. }
  2675. /**
  2676. * 性别:Unknown=0,Male=1,Female=2
  2677. * @format int32
  2678. */
  2679. export type Sex = 0 | 1 | 2
  2680. /** 员工添加 */
  2681. export interface StaffAddInput {
  2682. /** 工号 */
  2683. jobNumber?: string | null
  2684. /** 职位 */
  2685. position?: string | null
  2686. /** 性别:Unknown=0,Male=1,Female=2 */
  2687. sex?: Sex
  2688. /**
  2689. * 入职时间
  2690. * @format date-time
  2691. */
  2692. entryTime?: string | null
  2693. /** 个人简介 */
  2694. introduce?: string | null
  2695. }
  2696. /** 添加 */
  2697. export interface TaskAddInput {
  2698. /** 任务标题 */
  2699. topic?: string | null
  2700. /** 任务数据 */
  2701. body?: string | null
  2702. /**
  2703. * 任务执行多少轮,-1为永久循环
  2704. * @format int32
  2705. */
  2706. round?: number
  2707. /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
  2708. interval?: TaskInterval
  2709. /** 定时参数值 60,60,60,120,120,1200,1200 */
  2710. intervalArgument?: string | null
  2711. }
  2712. export interface TaskGetOutput {
  2713. /** 任务标题 */
  2714. topic?: string | null
  2715. /** 任务数据 */
  2716. body?: string | null
  2717. /**
  2718. * 任务执行多少轮,-1为永久循环
  2719. * @format int32
  2720. */
  2721. round?: number
  2722. /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
  2723. interval?: TaskInterval
  2724. /** 定时参数值 60,60,60,120,120,1200,1200 */
  2725. intervalArgument?: string | null
  2726. /**
  2727. * 任务Id
  2728. * @minLength 1
  2729. */
  2730. id: string
  2731. }
  2732. export interface TaskGetPageDto {
  2733. /** 任务名称名称 */
  2734. topic?: string | null
  2735. }
  2736. /**
  2737. * SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21
  2738. * @format int32
  2739. */
  2740. export type TaskInterval = 1 | 11 | 12 | 13 | 21
  2741. export interface TaskListOutput {
  2742. /** 主键 */
  2743. id?: string | null
  2744. /** 任务标题 */
  2745. topic?: string | null
  2746. /** 任务数据 */
  2747. body?: string | null
  2748. /**
  2749. * 任务执行多少轮
  2750. * @format int32
  2751. */
  2752. round?: number
  2753. /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
  2754. interval?: TaskInterval
  2755. /** 定时参数值 */
  2756. intervalArgument?: string | null
  2757. /** Running=0,Paused=1,Completed=2 */
  2758. status?: TaskStatus
  2759. /**
  2760. * 创建时间
  2761. * @format date-time
  2762. */
  2763. createTime?: string
  2764. /**
  2765. * 最后运行时间
  2766. * @format date-time
  2767. */
  2768. lastRunTime?: string
  2769. /**
  2770. * 当前运行到第几轮
  2771. * @format int32
  2772. */
  2773. currentRound?: number
  2774. /**
  2775. * 错次数
  2776. * @format int32
  2777. */
  2778. errorTimes?: number
  2779. }
  2780. export interface TaskLog {
  2781. taskId?: string | null
  2782. /** @format int32 */
  2783. round?: number
  2784. /** @format int64 */
  2785. elapsedMilliseconds?: number
  2786. success?: boolean
  2787. exception?: string | null
  2788. remark?: string | null
  2789. /** @format date-time */
  2790. createTime?: string
  2791. }
  2792. export interface TaskLogGetPageDto {
  2793. taskId?: string | null
  2794. }
  2795. /**
  2796. * Running=0,Paused=1,Completed=2
  2797. * @format int32
  2798. */
  2799. export type TaskStatus = 0 | 1 | 2
  2800. /** 修改 */
  2801. export interface TaskUpdateInput {
  2802. /** 任务标题 */
  2803. topic?: string | null
  2804. /** 任务数据 */
  2805. body?: string | null
  2806. /**
  2807. * 任务执行多少轮,-1为永久循环
  2808. * @format int32
  2809. */
  2810. round?: number
  2811. /** SEC=1,RunOnDay=11,RunOnWeek=12,RunOnMonth=13,Custom=21 */
  2812. interval?: TaskInterval
  2813. /** 定时参数值 60,60,60,120,120,1200,1200 */
  2814. intervalArgument?: string | null
  2815. /**
  2816. * 任务Id
  2817. * @minLength 1
  2818. */
  2819. id: string
  2820. }
  2821. /** 添加 */
  2822. export interface TenantAddInput {
  2823. /**
  2824. * 企业名称
  2825. * @minLength 1
  2826. */
  2827. name: string
  2828. /**
  2829. * 编码
  2830. * @minLength 1
  2831. */
  2832. code: string
  2833. /**
  2834. * 姓名
  2835. * @minLength 1
  2836. */
  2837. realName: string
  2838. /**
  2839. * 手机号码
  2840. * @minLength 1
  2841. */
  2842. phone: string
  2843. /** 邮箱地址 */
  2844. email?: string | null
  2845. /** 数据库注册键 */
  2846. dbKey?: string | null
  2847. /** 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 */
  2848. dbType?: DataType
  2849. /** 连接字符串 */
  2850. connectionString?: string | null
  2851. /** 启用 */
  2852. enabled?: boolean
  2853. /** 说明 */
  2854. description?: string | null
  2855. }
  2856. /** 租户 */
  2857. export interface TenantEntity {
  2858. /**
  2859. * 主键Id
  2860. * @format int64
  2861. */
  2862. id?: number
  2863. /**
  2864. * 创建者Id
  2865. * @format int64
  2866. */
  2867. createdUserId?: number | null
  2868. /**
  2869. * 创建者
  2870. * @maxLength 50
  2871. */
  2872. createdUserName?: string | null
  2873. /**
  2874. * 创建时间
  2875. * @format date-time
  2876. */
  2877. createdTime?: string | null
  2878. /**
  2879. * 修改者Id
  2880. * @format int64
  2881. */
  2882. modifiedUserId?: number | null
  2883. /**
  2884. * 修改者
  2885. * @maxLength 50
  2886. */
  2887. modifiedUserName?: string | null
  2888. /**
  2889. * 修改时间
  2890. * @format date-time
  2891. */
  2892. modifiedTime?: string | null
  2893. /** 是否删除 */
  2894. isDeleted?: boolean
  2895. /** 企业名称 */
  2896. name?: string | null
  2897. /** 编码 */
  2898. code?: string | null
  2899. /** 姓名 */
  2900. realName?: string | null
  2901. /** 手机号码 */
  2902. phone?: string | null
  2903. /** 邮箱地址 */
  2904. email?: string | null
  2905. /**
  2906. * 授权用户
  2907. * @format int64
  2908. */
  2909. userId?: number | null
  2910. /** 用户 */
  2911. user?: UserEntity
  2912. /** 租户类型:Platform=1,Tenant=2 */
  2913. tenantType?: TenantType
  2914. /** 数据库注册键 */
  2915. dbKey?: string | null
  2916. /** 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 */
  2917. dbType?: DataType
  2918. /** 连接字符串 */
  2919. connectionString?: string | null
  2920. /** 启用 */
  2921. enabled?: boolean
  2922. /** 说明 */
  2923. description?: string | null
  2924. }
  2925. export interface TenantGetOutput {
  2926. /**
  2927. * 企业名称
  2928. * @minLength 1
  2929. */
  2930. name: string
  2931. /**
  2932. * 编码
  2933. * @minLength 1
  2934. */
  2935. code: string
  2936. /**
  2937. * 姓名
  2938. * @minLength 1
  2939. */
  2940. realName: string
  2941. /**
  2942. * 手机号码
  2943. * @minLength 1
  2944. */
  2945. phone: string
  2946. /** 邮箱地址 */
  2947. email?: string | null
  2948. /** 数据库注册键 */
  2949. dbKey?: string | null
  2950. /** 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 */
  2951. dbType?: DataType
  2952. /** 连接字符串 */
  2953. connectionString?: string | null
  2954. /** 启用 */
  2955. enabled?: boolean
  2956. /** 说明 */
  2957. description?: string | null
  2958. /**
  2959. * 接口Id
  2960. * @format int64
  2961. */
  2962. id: number
  2963. }
  2964. export interface TenantGetPageDto {
  2965. /** 企业名称 */
  2966. name?: string | null
  2967. }
  2968. export interface TenantListOutput {
  2969. /**
  2970. * 主键
  2971. * @format int64
  2972. */
  2973. id?: number
  2974. /** 企业编码 */
  2975. code?: string | null
  2976. /** 企业名称 */
  2977. name?: string | null
  2978. /** 姓名 */
  2979. realName?: string | null
  2980. /** 手机号码 */
  2981. phone?: string | null
  2982. /** 邮箱地址 */
  2983. email?: string | null
  2984. /** 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 */
  2985. dbType?: DataType
  2986. /** 数据库名称 */
  2987. dbTypeName?: string | null
  2988. /** 启用 */
  2989. enabled?: boolean
  2990. /** 说明 */
  2991. description?: string | null
  2992. /**
  2993. * 创建时间
  2994. * @format date-time
  2995. */
  2996. createdTime?: string | null
  2997. }
  2998. /**
  2999. * 租户类型:Platform=1,Tenant=2
  3000. * @format int32
  3001. */
  3002. export type TenantType = 1 | 2
  3003. /** 修改 */
  3004. export interface TenantUpdateInput {
  3005. /**
  3006. * 企业名称
  3007. * @minLength 1
  3008. */
  3009. name: string
  3010. /**
  3011. * 编码
  3012. * @minLength 1
  3013. */
  3014. code: string
  3015. /**
  3016. * 姓名
  3017. * @minLength 1
  3018. */
  3019. realName: string
  3020. /**
  3021. * 手机号码
  3022. * @minLength 1
  3023. */
  3024. phone: string
  3025. /** 邮箱地址 */
  3026. email?: string | null
  3027. /** 数据库注册键 */
  3028. dbKey?: string | null
  3029. /** 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 */
  3030. dbType?: DataType
  3031. /** 连接字符串 */
  3032. connectionString?: string | null
  3033. /** 启用 */
  3034. enabled?: boolean
  3035. /** 说明 */
  3036. description?: string | null
  3037. /**
  3038. * 接口Id
  3039. * @format int64
  3040. */
  3041. id: number
  3042. }
  3043. /** 添加 */
  3044. export interface UserAddInput {
  3045. /**
  3046. * 账号
  3047. * @minLength 1
  3048. */
  3049. userName: string
  3050. /**
  3051. * 姓名
  3052. * @minLength 1
  3053. */
  3054. name: string
  3055. /** 手机号 */
  3056. mobile?: string | null
  3057. /** 邮箱 */
  3058. email?: string | null
  3059. /** 角色Ids */
  3060. roleIds?: number[] | null
  3061. /** 所属部门Ids */
  3062. orgIds?: number[] | null
  3063. /**
  3064. * 主属部门Id
  3065. * @format int64
  3066. */
  3067. orgId?: number
  3068. /**
  3069. * 直属主管Id
  3070. * @format int64
  3071. */
  3072. managerUserId?: number | null
  3073. /** 直属主管姓名 */
  3074. managerUserName?: string | null
  3075. /** 员工添加 */
  3076. staff?: StaffAddInput
  3077. /**
  3078. * 密码
  3079. * @minLength 1
  3080. */
  3081. password: string
  3082. /** 用户状态:Enabled=0,Disabled=1,WaitChangePasssword=2,WaitActive=3 */
  3083. status?: UserStatus
  3084. }
  3085. /** 添加会员 */
  3086. export interface UserAddMemberInput {
  3087. /**
  3088. * 账号
  3089. * @minLength 1
  3090. */
  3091. userName: string
  3092. /** 姓名 */
  3093. name?: string | null
  3094. /** 手机号 */
  3095. mobile?: string | null
  3096. /** 邮箱 */
  3097. email?: string | null
  3098. /**
  3099. * 密码
  3100. * @minLength 1
  3101. */
  3102. password: string
  3103. /** 用户状态:Enabled=0,Disabled=1,WaitChangePasssword=2,WaitActive=3 */
  3104. status?: UserStatus
  3105. }
  3106. /** 修改密码 */
  3107. export interface UserChangePasswordInput {
  3108. /**
  3109. * 旧密码
  3110. * @minLength 1
  3111. */
  3112. oldPassword: string
  3113. /**
  3114. * 新密码
  3115. * @minLength 1
  3116. */
  3117. newPassword: string
  3118. /**
  3119. * 确认新密码
  3120. * @minLength 1
  3121. */
  3122. confirmPassword: string
  3123. }
  3124. /** 用户 */
  3125. export interface UserEntity {
  3126. /**
  3127. * 主键Id
  3128. * @format int64
  3129. */
  3130. id?: number
  3131. /**
  3132. * 创建者Id
  3133. * @format int64
  3134. */
  3135. createdUserId?: number | null
  3136. /**
  3137. * 创建者
  3138. * @maxLength 50
  3139. */
  3140. createdUserName?: string | null
  3141. /**
  3142. * 创建时间
  3143. * @format date-time
  3144. */
  3145. createdTime?: string | null
  3146. /**
  3147. * 修改者Id
  3148. * @format int64
  3149. */
  3150. modifiedUserId?: number | null
  3151. /**
  3152. * 修改者
  3153. * @maxLength 50
  3154. */
  3155. modifiedUserName?: string | null
  3156. /**
  3157. * 修改时间
  3158. * @format date-time
  3159. */
  3160. modifiedTime?: string | null
  3161. /** 是否删除 */
  3162. isDeleted?: boolean
  3163. /**
  3164. * 租户Id
  3165. * @format int64
  3166. */
  3167. tenantId?: number | null
  3168. /** 租户 */
  3169. tenant?: TenantEntity
  3170. /** 账号 */
  3171. userName?: string | null
  3172. /** 密码 */
  3173. password?: string | null
  3174. /** 姓名 */
  3175. name?: string | null
  3176. /** 手机号 */
  3177. mobile?: string | null
  3178. /** 邮箱 */
  3179. email?: string | null
  3180. /**
  3181. * 主属部门Id
  3182. * @format int64
  3183. */
  3184. orgId?: number
  3185. /** 组织架构 */
  3186. org?: OrgEntity
  3187. /**
  3188. * 直属主管Id
  3189. * @format int64
  3190. */
  3191. managerUserId?: number | null
  3192. /** 用户 */
  3193. managerUser?: UserEntity
  3194. /** 昵称 */
  3195. nickName?: string | null
  3196. /** 头像 */
  3197. avatar?: string | null
  3198. /** 用户状态:Enabled=0,Disabled=1,WaitChangePasssword=2,WaitActive=3 */
  3199. status?: UserStatus
  3200. /** 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100 */
  3201. type?: UserType
  3202. /** 角色列表 */
  3203. roles?: RoleEntity[] | null
  3204. /** 部门列表 */
  3205. orgs?: OrgEntity[] | null
  3206. /** 用户员工 */
  3207. staff?: UserStaffEntity
  3208. }
  3209. export interface UserGetBasicOutput {
  3210. /** 头像 */
  3211. avatar?: string | null
  3212. /** 姓名 */
  3213. name?: string | null
  3214. /** 昵称 */
  3215. nickName?: string | null
  3216. /** 手机号 */
  3217. mobile?: string | null
  3218. /** 邮箱 */
  3219. email?: string | null
  3220. }
  3221. export interface UserGetOrgDto {
  3222. /** @format int64 */
  3223. id?: number
  3224. name?: string | null
  3225. }
  3226. export interface UserGetOutput {
  3227. /**
  3228. * 账号
  3229. * @minLength 1
  3230. */
  3231. userName: string
  3232. /**
  3233. * 姓名
  3234. * @minLength 1
  3235. */
  3236. name: string
  3237. /** 手机号 */
  3238. mobile?: string | null
  3239. /** 邮箱 */
  3240. email?: string | null
  3241. /**
  3242. * 主属部门Id
  3243. * @format int64
  3244. */
  3245. orgId?: number
  3246. /**
  3247. * 直属主管Id
  3248. * @format int64
  3249. */
  3250. managerUserId?: number | null
  3251. /** 直属主管姓名 */
  3252. managerUserName?: string | null
  3253. /** 员工添加 */
  3254. staff?: StaffAddInput
  3255. /**
  3256. * 主键Id
  3257. * @format int64
  3258. */
  3259. id: number
  3260. /** 角色列表 */
  3261. roles?: UserGetRoleDto[] | null
  3262. /** 部门列表 */
  3263. orgs?: UserGetOrgDto[] | null
  3264. /** 所属部门Ids */
  3265. orgIds?: number[] | null
  3266. /** 角色Ids */
  3267. roleIds?: number[] | null
  3268. }
  3269. /** 用户分页查询条件 */
  3270. export interface UserGetPageDto {
  3271. /**
  3272. * 部门Id
  3273. * @format int64
  3274. */
  3275. orgId?: number | null
  3276. }
  3277. export interface UserGetPageOutput {
  3278. /**
  3279. * 主键Id
  3280. * @format int64
  3281. */
  3282. id?: number
  3283. /** 账号 */
  3284. userName?: string | null
  3285. /** 姓名 */
  3286. name?: string | null
  3287. /** 手机号 */
  3288. mobile?: string | null
  3289. /** 邮箱 */
  3290. email?: string | null
  3291. /** 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100 */
  3292. type?: UserType
  3293. /** 角色 */
  3294. roleNames?: string[] | null
  3295. /** 是否主管 */
  3296. isManager?: boolean
  3297. roles?: RoleEntity[] | null
  3298. /**
  3299. * 创建时间
  3300. * @format date-time
  3301. */
  3302. createdTime?: string | null
  3303. }
  3304. export interface UserGetRoleDto {
  3305. /** @format int64 */
  3306. id?: number
  3307. name?: string | null
  3308. }
  3309. export interface UserGetRoleUserListOutput {
  3310. /**
  3311. * 主键Id
  3312. * @format int64
  3313. */
  3314. id?: number
  3315. /** 姓名 */
  3316. name?: string | null
  3317. }
  3318. export interface UserPermissionsOutput {
  3319. httpMethods?: string | null
  3320. path?: string | null
  3321. }
  3322. /** 重置密码 */
  3323. export interface UserResetPasswordInput {
  3324. /**
  3325. * 主键Id
  3326. * @format int64
  3327. */
  3328. id?: number
  3329. /** 密码 */
  3330. password?: string | null
  3331. }
  3332. /** 设置主管 */
  3333. export interface UserSetManagerInput {
  3334. /**
  3335. * 用户Id
  3336. * @format int64
  3337. */
  3338. userId?: number
  3339. /**
  3340. * 部门Id
  3341. * @format int64
  3342. */
  3343. orgId?: number
  3344. /** 是否主管 */
  3345. isManager?: boolean
  3346. }
  3347. /** 用户员工 */
  3348. export interface UserStaffEntity {
  3349. /**
  3350. * 主键Id
  3351. * @format int64
  3352. */
  3353. id?: number
  3354. /**
  3355. * 创建者Id
  3356. * @format int64
  3357. */
  3358. createdUserId?: number | null
  3359. /**
  3360. * 创建者
  3361. * @maxLength 50
  3362. */
  3363. createdUserName?: string | null
  3364. /**
  3365. * 创建时间
  3366. * @format date-time
  3367. */
  3368. createdTime?: string | null
  3369. /**
  3370. * 修改者Id
  3371. * @format int64
  3372. */
  3373. modifiedUserId?: number | null
  3374. /**
  3375. * 修改者
  3376. * @maxLength 50
  3377. */
  3378. modifiedUserName?: string | null
  3379. /**
  3380. * 修改时间
  3381. * @format date-time
  3382. */
  3383. modifiedTime?: string | null
  3384. /** 是否删除 */
  3385. isDeleted?: boolean
  3386. /**
  3387. * 租户Id
  3388. * @format int64
  3389. */
  3390. tenantId?: number | null
  3391. /** 职位 */
  3392. position?: string | null
  3393. /** 工号 */
  3394. jobNumber?: string | null
  3395. /** 性别:Unknown=0,Male=1,Female=2 */
  3396. sex?: Sex
  3397. /**
  3398. * 入职时间
  3399. * @format date-time
  3400. */
  3401. entryTime?: string | null
  3402. /** 个人简介 */
  3403. introduce?: string | null
  3404. }
  3405. /**
  3406. * 用户状态:Enabled=0,Disabled=1,WaitChangePasssword=2,WaitActive=3
  3407. * @format int32
  3408. */
  3409. export type UserStatus = 0 | 1 | 2 | 3
  3410. /**
  3411. * 用户类型:Member=0,DefaultUser=1,TenantAdmin=10,PlatformAdmin=100
  3412. * @format int32
  3413. */
  3414. export type UserType = 0 | 1 | 10 | 100
  3415. /** 更新基本信息 */
  3416. export interface UserUpdateBasicInput {
  3417. /**
  3418. * 姓名
  3419. * @minLength 1
  3420. */
  3421. name: string
  3422. /** 昵称 */
  3423. nickName?: string | null
  3424. }
  3425. /** 修改 */
  3426. export interface UserUpdateInput {
  3427. /**
  3428. * 账号
  3429. * @minLength 1
  3430. */
  3431. userName: string
  3432. /**
  3433. * 姓名
  3434. * @minLength 1
  3435. */
  3436. name: string
  3437. /** 手机号 */
  3438. mobile?: string | null
  3439. /** 邮箱 */
  3440. email?: string | null
  3441. /** 角色Ids */
  3442. roleIds?: number[] | null
  3443. /** 所属部门Ids */
  3444. orgIds?: number[] | null
  3445. /**
  3446. * 主属部门Id
  3447. * @format int64
  3448. */
  3449. orgId?: number
  3450. /**
  3451. * 直属主管Id
  3452. * @format int64
  3453. */
  3454. managerUserId?: number | null
  3455. /** 直属主管姓名 */
  3456. managerUserName?: string | null
  3457. /** 员工添加 */
  3458. staff?: StaffAddInput
  3459. /**
  3460. * 主键Id
  3461. * @format int64
  3462. */
  3463. id: number
  3464. }
  3465. /** 修改会员 */
  3466. export interface UserUpdateMemberInput {
  3467. /**
  3468. * 账号
  3469. * @minLength 1
  3470. */
  3471. userName: string
  3472. /** 姓名 */
  3473. name?: string | null
  3474. /** 手机号 */
  3475. mobile?: string | null
  3476. /** 邮箱 */
  3477. email?: string | null
  3478. /**
  3479. * 主键Id
  3480. * @format int64
  3481. */
  3482. id: number
  3483. }
  3484. /** 添加 */
  3485. export interface ViewAddInput {
  3486. /**
  3487. * 所属节点
  3488. * @format int64
  3489. */
  3490. parentId?: number | null
  3491. /** 视图命名 */
  3492. name?: string | null
  3493. /** 视图名称 */
  3494. label?: string | null
  3495. /** 视图路径 */
  3496. path?: string | null
  3497. /** 说明 */
  3498. description?: string | null
  3499. /** 缓存 */
  3500. cache?: boolean
  3501. /**
  3502. * 排序
  3503. * @format int32
  3504. */
  3505. sort?: number
  3506. /** 启用 */
  3507. enabled?: boolean
  3508. }
  3509. /** 视图管理 */
  3510. export interface ViewEntity {
  3511. /**
  3512. * 主键Id
  3513. * @format int64
  3514. */
  3515. id?: number
  3516. /**
  3517. * 创建者Id
  3518. * @format int64
  3519. */
  3520. createdUserId?: number | null
  3521. /**
  3522. * 创建者
  3523. * @maxLength 50
  3524. */
  3525. createdUserName?: string | null
  3526. /**
  3527. * 创建时间
  3528. * @format date-time
  3529. */
  3530. createdTime?: string | null
  3531. /**
  3532. * 修改者Id
  3533. * @format int64
  3534. */
  3535. modifiedUserId?: number | null
  3536. /**
  3537. * 修改者
  3538. * @maxLength 50
  3539. */
  3540. modifiedUserName?: string | null
  3541. /**
  3542. * 修改时间
  3543. * @format date-time
  3544. */
  3545. modifiedTime?: string | null
  3546. /** 是否删除 */
  3547. isDeleted?: boolean
  3548. /**
  3549. * 所属节点
  3550. * @format int64
  3551. */
  3552. parentId?: number
  3553. /** 视图命名 */
  3554. name?: string | null
  3555. /** 视图名称 */
  3556. label?: string | null
  3557. /** 视图路径 */
  3558. path?: string | null
  3559. /** 说明 */
  3560. description?: string | null
  3561. /** 缓存 */
  3562. cache?: boolean
  3563. /**
  3564. * 排序
  3565. * @format int32
  3566. */
  3567. sort?: number
  3568. /** 启用 */
  3569. enabled?: boolean
  3570. childs?: ViewEntity[] | null
  3571. }
  3572. export interface ViewGetOutput {
  3573. /**
  3574. * 所属节点
  3575. * @format int64
  3576. */
  3577. parentId?: number | null
  3578. /** 视图命名 */
  3579. name?: string | null
  3580. /** 视图名称 */
  3581. label?: string | null
  3582. /** 视图路径 */
  3583. path?: string | null
  3584. /** 说明 */
  3585. description?: string | null
  3586. /** 缓存 */
  3587. cache?: boolean
  3588. /**
  3589. * 排序
  3590. * @format int32
  3591. */
  3592. sort?: number
  3593. /** 启用 */
  3594. enabled?: boolean
  3595. /**
  3596. * 视图Id
  3597. * @format int64
  3598. */
  3599. id: number
  3600. }
  3601. export interface ViewListOutput {
  3602. /**
  3603. * 视图Id
  3604. * @format int64
  3605. */
  3606. id?: number
  3607. /**
  3608. * 视图父级
  3609. * @format int64
  3610. */
  3611. parentId?: number | null
  3612. /** 视图命名 */
  3613. name?: string | null
  3614. /** 视图名称 */
  3615. label?: string | null
  3616. /** 视图路径 */
  3617. path?: string | null
  3618. /** 缓存 */
  3619. cache?: boolean
  3620. /**
  3621. * 排序
  3622. * @format int32
  3623. */
  3624. sort?: number
  3625. /** 启用 */
  3626. enabled?: boolean
  3627. /** 说明 */
  3628. description?: string | null
  3629. }
  3630. export interface ViewSyncDto {
  3631. /** 视图命名 */
  3632. name?: string | null
  3633. /** 地址 */
  3634. path?: string | null
  3635. /** 视图名称 */
  3636. label?: string | null
  3637. /** 说明 */
  3638. description?: string | null
  3639. /** 缓存 */
  3640. cache?: boolean
  3641. }
  3642. export interface ViewSyncInput {
  3643. views?: ViewSyncDto[] | null
  3644. }
  3645. /** 修改 */
  3646. export interface ViewUpdateInput {
  3647. /**
  3648. * 所属节点
  3649. * @format int64
  3650. */
  3651. parentId?: number | null
  3652. /** 视图命名 */
  3653. name?: string | null
  3654. /** 视图名称 */
  3655. label?: string | null
  3656. /** 视图路径 */
  3657. path?: string | null
  3658. /** 说明 */
  3659. description?: string | null
  3660. /** 缓存 */
  3661. cache?: boolean
  3662. /**
  3663. * 排序
  3664. * @format int32
  3665. */
  3666. sort?: number
  3667. /** 启用 */
  3668. enabled?: boolean
  3669. /**
  3670. * 视图Id
  3671. * @format int64
  3672. */
  3673. id: number
  3674. }