examples.ts 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. // Code generated by tools/openapigen. DO NOT EDIT.
  2. export const EXAMPLES: Record<string, unknown> = {
  3. "AllSetting": {
  4. "datepicker": "",
  5. "expireDiff": 0,
  6. "externalTrafficInformEnable": false,
  7. "externalTrafficInformURI": "",
  8. "ldapAutoCreate": false,
  9. "ldapAutoDelete": false,
  10. "ldapBaseDN": "",
  11. "ldapBindDN": "",
  12. "ldapDefaultExpiryDays": 0,
  13. "ldapDefaultLimitIP": 0,
  14. "ldapDefaultTotalGB": 0,
  15. "ldapEnable": false,
  16. "ldapFlagField": "",
  17. "ldapHost": "",
  18. "ldapInboundTags": "",
  19. "ldapInvertFlag": false,
  20. "ldapPassword": "",
  21. "ldapPort": 0,
  22. "ldapSyncCron": "",
  23. "ldapTruthyValues": "",
  24. "ldapUseTLS": false,
  25. "ldapUserAttr": "",
  26. "ldapUserFilter": "",
  27. "ldapVlessField": "",
  28. "pageSize": 0,
  29. "panelProxy": "",
  30. "remarkModel": "",
  31. "restartXrayOnClientDisable": false,
  32. "sessionMaxAge": 1,
  33. "subAnnounce": "",
  34. "subCertFile": "",
  35. "subClashEnable": false,
  36. "subClashEnableRouting": false,
  37. "subClashPath": "",
  38. "subClashRules": "",
  39. "subClashURI": "",
  40. "subDomain": "",
  41. "subEmailInRemark": false,
  42. "subEnable": false,
  43. "subEnableRouting": false,
  44. "subEncrypt": false,
  45. "subJsonEnable": false,
  46. "subJsonFinalMask": "",
  47. "subJsonMux": "",
  48. "subJsonPath": "",
  49. "subJsonRules": "",
  50. "subJsonURI": "",
  51. "subKeyFile": "",
  52. "subListen": "",
  53. "subPath": "",
  54. "subPort": 1,
  55. "subProfileUrl": "",
  56. "subRoutingRules": "",
  57. "subShowInfo": false,
  58. "subSupportUrl": "",
  59. "subThemeDir": "",
  60. "subTitle": "",
  61. "subURI": "",
  62. "subUpdates": 0,
  63. "tgBotAPIServer": "",
  64. "tgBotBackup": false,
  65. "tgBotChatId": "",
  66. "tgBotEnable": false,
  67. "tgBotLoginNotify": false,
  68. "tgBotProxy": "",
  69. "tgBotToken": "",
  70. "tgCpu": 0,
  71. "tgLang": "",
  72. "tgRunTime": "",
  73. "timeLocation": "",
  74. "trafficDiff": 0,
  75. "trustedProxyCIDRs": "",
  76. "twoFactorEnable": false,
  77. "twoFactorToken": "",
  78. "warpUpdateInterval": 0,
  79. "webBasePath": "",
  80. "webCertFile": "",
  81. "webDomain": "",
  82. "webKeyFile": "",
  83. "webListen": "",
  84. "webPort": 1
  85. },
  86. "AllSettingView": {
  87. "datepicker": "",
  88. "expireDiff": 0,
  89. "externalTrafficInformEnable": false,
  90. "externalTrafficInformURI": "",
  91. "hasApiToken": false,
  92. "hasLdapPassword": false,
  93. "hasNordSecret": false,
  94. "hasTgBotToken": false,
  95. "hasTwoFactorToken": false,
  96. "hasWarpSecret": false,
  97. "ldapAutoCreate": false,
  98. "ldapAutoDelete": false,
  99. "ldapBaseDN": "",
  100. "ldapBindDN": "",
  101. "ldapDefaultExpiryDays": 0,
  102. "ldapDefaultLimitIP": 0,
  103. "ldapDefaultTotalGB": 0,
  104. "ldapEnable": false,
  105. "ldapFlagField": "",
  106. "ldapHost": "",
  107. "ldapInboundTags": "",
  108. "ldapInvertFlag": false,
  109. "ldapPassword": "",
  110. "ldapPort": 0,
  111. "ldapSyncCron": "",
  112. "ldapTruthyValues": "",
  113. "ldapUseTLS": false,
  114. "ldapUserAttr": "",
  115. "ldapUserFilter": "",
  116. "ldapVlessField": "",
  117. "pageSize": 0,
  118. "panelProxy": "",
  119. "remarkModel": "",
  120. "restartXrayOnClientDisable": false,
  121. "sessionMaxAge": 1,
  122. "subAnnounce": "",
  123. "subCertFile": "",
  124. "subClashEnable": false,
  125. "subClashEnableRouting": false,
  126. "subClashPath": "",
  127. "subClashRules": "",
  128. "subClashURI": "",
  129. "subDomain": "",
  130. "subEmailInRemark": false,
  131. "subEnable": false,
  132. "subEnableRouting": false,
  133. "subEncrypt": false,
  134. "subJsonEnable": false,
  135. "subJsonFinalMask": "",
  136. "subJsonMux": "",
  137. "subJsonPath": "",
  138. "subJsonRules": "",
  139. "subJsonURI": "",
  140. "subKeyFile": "",
  141. "subListen": "",
  142. "subPath": "",
  143. "subPort": 1,
  144. "subProfileUrl": "",
  145. "subRoutingRules": "",
  146. "subShowInfo": false,
  147. "subSupportUrl": "",
  148. "subThemeDir": "",
  149. "subTitle": "",
  150. "subURI": "",
  151. "subUpdates": 0,
  152. "tgBotAPIServer": "",
  153. "tgBotBackup": false,
  154. "tgBotChatId": "",
  155. "tgBotEnable": false,
  156. "tgBotLoginNotify": false,
  157. "tgBotProxy": "",
  158. "tgBotToken": "",
  159. "tgCpu": 0,
  160. "tgLang": "",
  161. "tgRunTime": "",
  162. "timeLocation": "",
  163. "trafficDiff": 0,
  164. "trustedProxyCIDRs": "",
  165. "twoFactorEnable": false,
  166. "twoFactorToken": "",
  167. "warpUpdateInterval": 0,
  168. "webBasePath": "",
  169. "webCertFile": "",
  170. "webDomain": "",
  171. "webKeyFile": "",
  172. "webListen": "",
  173. "webPort": 1
  174. },
  175. "ApiToken": {
  176. "createdAt": 0,
  177. "enabled": false,
  178. "id": 0,
  179. "name": "",
  180. "token": ""
  181. },
  182. "ApiTokenView": {
  183. "createdAt": 1736000000,
  184. "enabled": true,
  185. "id": 2,
  186. "name": "central-panel-a",
  187. "token": "new-token-string"
  188. },
  189. "Client": {
  190. "auth": "",
  191. "comment": "",
  192. "created_at": 0,
  193. "email": "",
  194. "enable": false,
  195. "expiryTime": 0,
  196. "flow": "",
  197. "group": "",
  198. "id": "",
  199. "limitIp": 0,
  200. "password": "",
  201. "reset": 0,
  202. "reverse": null,
  203. "security": "",
  204. "subId": "",
  205. "tgId": 0,
  206. "totalGB": 0,
  207. "updated_at": 0
  208. },
  209. "ClientInbound": {
  210. "clientId": 0,
  211. "createdAt": 0,
  212. "flowOverride": "",
  213. "inboundId": 0
  214. },
  215. "ClientRecord": {
  216. "auth": "",
  217. "comment": "",
  218. "createdAt": 0,
  219. "email": "",
  220. "enable": false,
  221. "expiryTime": 0,
  222. "flow": "",
  223. "group": "",
  224. "id": 0,
  225. "limitIp": 0,
  226. "password": "",
  227. "reset": 0,
  228. "reverse": null,
  229. "security": "",
  230. "subId": "",
  231. "tgId": 0,
  232. "totalGB": 0,
  233. "updatedAt": 0,
  234. "uuid": ""
  235. },
  236. "ClientReverse": {
  237. "tag": ""
  238. },
  239. "ClientTraffic": {
  240. "down": 2097152,
  241. "email": "user1",
  242. "enable": true,
  243. "expiryTime": 1735689600000,
  244. "id": 14825,
  245. "inboundId": 1,
  246. "lastOnline": 1735680000000,
  247. "reset": 0,
  248. "subId": "i7tvdpeffi0hvvf1",
  249. "total": 10737418240,
  250. "up": 1048576,
  251. "uuid": "e18c9a96-71bf-48d4-933f-8b9a46d4290c"
  252. },
  253. "CustomGeoResource": {
  254. "alias": "",
  255. "createdAt": 0,
  256. "id": 0,
  257. "lastModified": "",
  258. "lastUpdatedAt": 0,
  259. "localPath": "",
  260. "type": "",
  261. "updatedAt": 0,
  262. "url": ""
  263. },
  264. "FallbackParentInfo": {
  265. "masterId": 0,
  266. "path": ""
  267. },
  268. "HistoryOfSeeders": {
  269. "id": 0,
  270. "seederName": ""
  271. },
  272. "Inbound": {
  273. "clientStats": [
  274. {
  275. "down": 2097152,
  276. "email": "user1",
  277. "enable": true,
  278. "expiryTime": 1735689600000,
  279. "id": 14825,
  280. "inboundId": 1,
  281. "lastOnline": 1735680000000,
  282. "reset": 0,
  283. "subId": "i7tvdpeffi0hvvf1",
  284. "total": 10737418240,
  285. "up": 1048576,
  286. "uuid": "e18c9a96-71bf-48d4-933f-8b9a46d4290c"
  287. }
  288. ],
  289. "down": 0,
  290. "enable": true,
  291. "expiryTime": 0,
  292. "fallbackParent": null,
  293. "id": 1,
  294. "lastTrafficResetTime": 0,
  295. "listen": "",
  296. "nodeId": null,
  297. "originNodeGuid": "",
  298. "port": 443,
  299. "protocol": "vless",
  300. "remark": "VLESS-443",
  301. "settings": null,
  302. "sniffing": null,
  303. "streamSettings": null,
  304. "tag": "in-443-tcp",
  305. "total": 0,
  306. "trafficReset": "never",
  307. "up": 0
  308. },
  309. "InboundClientIps": {
  310. "clientEmail": "",
  311. "id": 0,
  312. "ips": null
  313. },
  314. "InboundFallback": {
  315. "alpn": "",
  316. "childId": 0,
  317. "dest": "",
  318. "id": 0,
  319. "masterId": 0,
  320. "name": "",
  321. "path": "",
  322. "sortOrder": 0,
  323. "xver": 0
  324. },
  325. "InboundOption": {
  326. "id": 1,
  327. "port": 443,
  328. "protocol": "vless",
  329. "remark": "VLESS-443",
  330. "ssMethod": "",
  331. "tag": "in-443-tcp",
  332. "tlsFlowCapable": true
  333. },
  334. "Msg": {
  335. "msg": "",
  336. "obj": null,
  337. "success": false
  338. },
  339. "Node": {
  340. "address": "node1.example.com",
  341. "allowPrivateAddress": false,
  342. "apiToken": "abcdef0123456789",
  343. "basePath": "/",
  344. "clientCount": 27,
  345. "configDirty": false,
  346. "configDirtyAt": 0,
  347. "cpuPct": 23.5,
  348. "createdAt": 1700000000,
  349. "depletedCount": 1,
  350. "enable": true,
  351. "guid": "",
  352. "id": 1,
  353. "inboundCount": 5,
  354. "lastError": "",
  355. "lastHeartbeat": 1700000000,
  356. "latencyMs": 42,
  357. "memPct": 45.1,
  358. "name": "de-fra-1",
  359. "onlineCount": 3,
  360. "panelVersion": "v3.x.x",
  361. "parentGuid": "",
  362. "pinnedCertSha256": "",
  363. "port": 2053,
  364. "remark": "",
  365. "scheme": "https",
  366. "status": "online",
  367. "tlsVerifyMode": "verify",
  368. "transitive": false,
  369. "updatedAt": 1700000000,
  370. "uptimeSecs": 86400,
  371. "xrayError": "",
  372. "xrayState": "",
  373. "xrayVersion": "25.10.31"
  374. },
  375. "OutboundTraffics": {
  376. "down": 0,
  377. "id": 0,
  378. "tag": "",
  379. "total": 0,
  380. "up": 0
  381. },
  382. "ProbeResultUI": {
  383. "cpuPct": 12.5,
  384. "error": "",
  385. "latencyMs": 42,
  386. "memPct": 45.2,
  387. "panelVersion": "v3.x.x",
  388. "status": "online",
  389. "uptimeSecs": 86400,
  390. "xrayError": "",
  391. "xrayState": "",
  392. "xrayVersion": "25.10.31"
  393. },
  394. "Setting": {
  395. "id": 0,
  396. "key": "",
  397. "value": ""
  398. },
  399. "User": {
  400. "id": 0,
  401. "password": "",
  402. "username": ""
  403. }
  404. };