examples.ts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  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. "ldapInsecureSkipVerify": false,
  20. "ldapInvertFlag": false,
  21. "ldapPassword": "",
  22. "ldapPort": 0,
  23. "ldapSyncCron": "",
  24. "ldapTruthyValues": "",
  25. "ldapUseTLS": false,
  26. "ldapUserAttr": "",
  27. "ldapUserFilter": "",
  28. "ldapVlessField": "",
  29. "pageSize": 0,
  30. "panelOutbound": "",
  31. "remarkTemplate": "",
  32. "restartXrayOnClientDisable": false,
  33. "sessionMaxAge": 1,
  34. "smtpCpu": 0,
  35. "smtpEnable": false,
  36. "smtpEnabledEvents": "",
  37. "smtpEncryptionType": "",
  38. "smtpHost": "",
  39. "smtpMemory": 0,
  40. "smtpPassword": "",
  41. "smtpPort": 1,
  42. "smtpTo": "",
  43. "smtpUsername": "",
  44. "subAnnounce": "",
  45. "subCertFile": "",
  46. "subClashEnable": false,
  47. "subClashEnableRouting": false,
  48. "subClashPath": "",
  49. "subClashRules": "",
  50. "subClashURI": "",
  51. "subDomain": "",
  52. "subEnable": false,
  53. "subEnableRouting": false,
  54. "subEncrypt": false,
  55. "subHideSettings": false,
  56. "subIncyEnableRouting": false,
  57. "subIncyRoutingRules": "",
  58. "subJsonEnable": false,
  59. "subJsonFinalMask": "",
  60. "subJsonMux": "",
  61. "subJsonPath": "",
  62. "subJsonRules": "",
  63. "subJsonURI": "",
  64. "subKeyFile": "",
  65. "subListen": "",
  66. "subPath": "",
  67. "subPort": 1,
  68. "subProfileUrl": "",
  69. "subRoutingRules": "",
  70. "subSupportUrl": "",
  71. "subThemeDir": "",
  72. "subTitle": "",
  73. "subURI": "",
  74. "subUpdates": 0,
  75. "tgBotAPIServer": "",
  76. "tgBotBackup": false,
  77. "tgBotChatId": "",
  78. "tgBotEnable": false,
  79. "tgBotProxy": "",
  80. "tgBotToken": "",
  81. "tgCpu": 0,
  82. "tgEnabledEvents": "",
  83. "tgLang": "",
  84. "tgMemory": 0,
  85. "tgRunTime": "",
  86. "timeLocation": "",
  87. "trafficDiff": 0,
  88. "trustedProxyCIDRs": "",
  89. "twoFactorEnable": false,
  90. "twoFactorToken": "",
  91. "warpUpdateInterval": 0,
  92. "webBasePath": "",
  93. "webCertFile": "",
  94. "webDomain": "",
  95. "webKeyFile": "",
  96. "webListen": "",
  97. "webPort": 1
  98. },
  99. "AllSettingView": {
  100. "datepicker": "",
  101. "expireDiff": 0,
  102. "externalTrafficInformEnable": false,
  103. "externalTrafficInformURI": "",
  104. "hasApiToken": false,
  105. "hasLdapPassword": false,
  106. "hasNordSecret": false,
  107. "hasSmtpPassword": false,
  108. "hasTgBotToken": false,
  109. "hasTwoFactorToken": false,
  110. "hasWarpSecret": false,
  111. "ldapAutoCreate": false,
  112. "ldapAutoDelete": false,
  113. "ldapBaseDN": "",
  114. "ldapBindDN": "",
  115. "ldapDefaultExpiryDays": 0,
  116. "ldapDefaultLimitIP": 0,
  117. "ldapDefaultTotalGB": 0,
  118. "ldapEnable": false,
  119. "ldapFlagField": "",
  120. "ldapHost": "",
  121. "ldapInboundTags": "",
  122. "ldapInsecureSkipVerify": false,
  123. "ldapInvertFlag": false,
  124. "ldapPassword": "",
  125. "ldapPort": 0,
  126. "ldapSyncCron": "",
  127. "ldapTruthyValues": "",
  128. "ldapUseTLS": false,
  129. "ldapUserAttr": "",
  130. "ldapUserFilter": "",
  131. "ldapVlessField": "",
  132. "pageSize": 0,
  133. "panelOutbound": "",
  134. "remarkTemplate": "",
  135. "restartXrayOnClientDisable": false,
  136. "sessionMaxAge": 1,
  137. "smtpCpu": 0,
  138. "smtpEnable": false,
  139. "smtpEnabledEvents": "",
  140. "smtpEncryptionType": "",
  141. "smtpHost": "",
  142. "smtpMemory": 0,
  143. "smtpPassword": "",
  144. "smtpPort": 1,
  145. "smtpTo": "",
  146. "smtpUsername": "",
  147. "subAnnounce": "",
  148. "subCertFile": "",
  149. "subClashEnable": false,
  150. "subClashEnableRouting": false,
  151. "subClashPath": "",
  152. "subClashRules": "",
  153. "subClashURI": "",
  154. "subDomain": "",
  155. "subEnable": false,
  156. "subEnableRouting": false,
  157. "subEncrypt": false,
  158. "subHideSettings": false,
  159. "subIncyEnableRouting": false,
  160. "subIncyRoutingRules": "",
  161. "subJsonEnable": false,
  162. "subJsonFinalMask": "",
  163. "subJsonMux": "",
  164. "subJsonPath": "",
  165. "subJsonRules": "",
  166. "subJsonURI": "",
  167. "subKeyFile": "",
  168. "subListen": "",
  169. "subPath": "",
  170. "subPort": 1,
  171. "subProfileUrl": "",
  172. "subRoutingRules": "",
  173. "subSupportUrl": "",
  174. "subThemeDir": "",
  175. "subTitle": "",
  176. "subURI": "",
  177. "subUpdates": 0,
  178. "tgBotAPIServer": "",
  179. "tgBotBackup": false,
  180. "tgBotChatId": "",
  181. "tgBotEnable": false,
  182. "tgBotProxy": "",
  183. "tgBotToken": "",
  184. "tgCpu": 0,
  185. "tgEnabledEvents": "",
  186. "tgLang": "",
  187. "tgMemory": 0,
  188. "tgRunTime": "",
  189. "timeLocation": "",
  190. "trafficDiff": 0,
  191. "trustedProxyCIDRs": "",
  192. "twoFactorEnable": false,
  193. "twoFactorToken": "",
  194. "warpUpdateInterval": 0,
  195. "webBasePath": "",
  196. "webCertFile": "",
  197. "webDomain": "",
  198. "webKeyFile": "",
  199. "webListen": "",
  200. "webPort": 1
  201. },
  202. "ApiToken": {
  203. "createdAt": 0,
  204. "enabled": false,
  205. "id": 0,
  206. "name": "",
  207. "token": ""
  208. },
  209. "ApiTokenView": {
  210. "createdAt": 1736000000,
  211. "enabled": true,
  212. "id": 2,
  213. "name": "central-panel-a",
  214. "token": "new-token-string"
  215. },
  216. "Client": {
  217. "allowedIPs": [
  218. ""
  219. ],
  220. "auth": "",
  221. "comment": "",
  222. "created_at": 0,
  223. "email": "",
  224. "enable": false,
  225. "expiryTime": 0,
  226. "flow": "",
  227. "group": "",
  228. "id": "",
  229. "keepAlive": 0,
  230. "limitIp": 0,
  231. "password": "",
  232. "preSharedKey": "",
  233. "privateKey": "",
  234. "publicKey": "",
  235. "reset": 0,
  236. "reverse": null,
  237. "security": "",
  238. "subId": "",
  239. "tgId": 0,
  240. "totalGB": 0,
  241. "updated_at": 0
  242. },
  243. "ClientInbound": {
  244. "clientId": 0,
  245. "createdAt": 0,
  246. "flowOverride": "",
  247. "inboundId": 0
  248. },
  249. "ClientRecord": {
  250. "allowedIPs": "",
  251. "auth": "",
  252. "comment": "",
  253. "createdAt": 0,
  254. "email": "",
  255. "enable": false,
  256. "expiryTime": 0,
  257. "flow": "",
  258. "group": "",
  259. "id": 0,
  260. "keepAlive": 0,
  261. "limitIp": 0,
  262. "password": "",
  263. "preSharedKey": "",
  264. "privateKey": "",
  265. "publicKey": "",
  266. "reset": 0,
  267. "reverse": null,
  268. "security": "",
  269. "subId": "",
  270. "tgId": 0,
  271. "totalGB": 0,
  272. "updatedAt": 0,
  273. "uuid": ""
  274. },
  275. "ClientReverse": {
  276. "tag": ""
  277. },
  278. "ClientTraffic": {
  279. "down": 2097152,
  280. "email": "user1",
  281. "enable": true,
  282. "expiryTime": 1735689600000,
  283. "id": 14825,
  284. "inboundId": 1,
  285. "lastOnline": 1735680000000,
  286. "reset": 0,
  287. "subId": "i7tvdpeffi0hvvf1",
  288. "total": 10737418240,
  289. "up": 1048576,
  290. "uuid": "e18c9a96-71bf-48d4-933f-8b9a46d4290c"
  291. },
  292. "FallbackParentInfo": {
  293. "masterId": 0,
  294. "path": ""
  295. },
  296. "HistoryOfSeeders": {
  297. "id": 0,
  298. "seederName": ""
  299. },
  300. "Host": {
  301. "address": "cdn.example.com",
  302. "allowInsecure": false,
  303. "alpn": [
  304. ""
  305. ],
  306. "createdAt": 0,
  307. "echConfigList": "",
  308. "excludeFromSubTypes": [
  309. ""
  310. ],
  311. "finalMask": "",
  312. "fingerprint": "",
  313. "hostHeader": "",
  314. "id": 1,
  315. "inboundId": 1,
  316. "isDisabled": false,
  317. "isHidden": false,
  318. "keepSniBlank": false,
  319. "mihomoIpVersion": "dual",
  320. "mihomoX25519": false,
  321. "muxParams": null,
  322. "nodeGuids": [
  323. ""
  324. ],
  325. "overrideSniFromAddress": false,
  326. "path": "",
  327. "pinnedPeerCertSha256": [
  328. ""
  329. ],
  330. "port": 8443,
  331. "remark": "cdn-front",
  332. "security": "same",
  333. "serverDescription": "",
  334. "shuffleHost": false,
  335. "sni": "",
  336. "sockoptParams": null,
  337. "sortOrder": 0,
  338. "tags": [
  339. ""
  340. ],
  341. "updatedAt": 0,
  342. "verifyPeerCertByName": "",
  343. "vlessRoute": ""
  344. },
  345. "Inbound": {
  346. "clientStats": [
  347. {
  348. "down": 2097152,
  349. "email": "user1",
  350. "enable": true,
  351. "expiryTime": 1735689600000,
  352. "id": 14825,
  353. "inboundId": 1,
  354. "lastOnline": 1735680000000,
  355. "reset": 0,
  356. "subId": "i7tvdpeffi0hvvf1",
  357. "total": 10737418240,
  358. "up": 1048576,
  359. "uuid": "e18c9a96-71bf-48d4-933f-8b9a46d4290c"
  360. }
  361. ],
  362. "down": 0,
  363. "enable": true,
  364. "expiryTime": 0,
  365. "fallbackParent": null,
  366. "id": 1,
  367. "lastTrafficResetTime": 0,
  368. "listen": "",
  369. "nodeId": null,
  370. "originNodeGuid": "",
  371. "port": 443,
  372. "protocol": "vless",
  373. "remark": "VLESS-443",
  374. "settings": null,
  375. "shareAddr": "",
  376. "shareAddrStrategy": "node",
  377. "sniffing": null,
  378. "streamSettings": null,
  379. "subSortIndex": 1,
  380. "tag": "in-443-tcp",
  381. "total": 0,
  382. "trafficReset": "never",
  383. "up": 0
  384. },
  385. "InboundClientIps": {
  386. "clientEmail": "",
  387. "id": 0,
  388. "ips": null
  389. },
  390. "InboundFallback": {
  391. "alpn": "",
  392. "childId": 0,
  393. "dest": "",
  394. "id": 0,
  395. "masterId": 0,
  396. "name": "",
  397. "path": "",
  398. "sortOrder": 0,
  399. "xver": 0
  400. },
  401. "InboundOption": {
  402. "id": 1,
  403. "nodeId": null,
  404. "port": 443,
  405. "protocol": "vless",
  406. "remark": "VLESS-443",
  407. "ssMethod": "",
  408. "tag": "in-443-tcp",
  409. "tlsFlowCapable": true
  410. },
  411. "Msg": {
  412. "msg": "",
  413. "obj": null,
  414. "success": false
  415. },
  416. "Node": {
  417. "activeCount": 23,
  418. "address": "node1.example.com",
  419. "allowPrivateAddress": false,
  420. "apiToken": "abcdef0123456789",
  421. "basePath": "/",
  422. "clientCount": 27,
  423. "configDirty": false,
  424. "configDirtyAt": 0,
  425. "cpuPct": 23.5,
  426. "createdAt": 1700000000,
  427. "depletedCount": 1,
  428. "disabledCount": 3,
  429. "enable": true,
  430. "guid": "",
  431. "id": 1,
  432. "inboundCount": 5,
  433. "inboundSyncMode": "all",
  434. "inboundTags": [
  435. ""
  436. ],
  437. "lastError": "",
  438. "lastHeartbeat": 1700000000,
  439. "latencyMs": 42,
  440. "memPct": 45.1,
  441. "name": "de-fra-1",
  442. "netDown": 2097152,
  443. "netUp": 1048576,
  444. "onlineCount": 3,
  445. "outboundTag": "",
  446. "panelVersion": "v3.x.x",
  447. "parentGuid": "",
  448. "pinnedCertSha256": "",
  449. "port": 2053,
  450. "remark": "",
  451. "scheme": "https",
  452. "status": "online",
  453. "tlsVerifyMode": "verify",
  454. "transitive": false,
  455. "updatedAt": 1700000000,
  456. "uptimeSecs": 86400,
  457. "xrayError": "",
  458. "xrayState": "",
  459. "xrayVersion": "25.10.31"
  460. },
  461. "OutboundTraffics": {
  462. "down": 0,
  463. "id": 0,
  464. "tag": "",
  465. "total": 0,
  466. "up": 0
  467. },
  468. "ProbeResultUI": {
  469. "cpuPct": 12.5,
  470. "error": "",
  471. "latencyMs": 42,
  472. "memPct": 45.2,
  473. "panelVersion": "v3.x.x",
  474. "status": "online",
  475. "uptimeSecs": 86400,
  476. "xrayError": "",
  477. "xrayState": "",
  478. "xrayVersion": "25.10.31"
  479. },
  480. "RealityScanResult": {
  481. "alpn": "h2",
  482. "certIssuer": "Google Trust Services",
  483. "certSubject": "cloudflare.com",
  484. "certValid": true,
  485. "curveID": "X25519",
  486. "feasible": true,
  487. "h2": true,
  488. "host": "www.cloudflare.com",
  489. "ip": "104.16.124.96",
  490. "latencyMs": 180,
  491. "notAfter": "2026-08-01T00:00:00Z",
  492. "port": 443,
  493. "reason": "",
  494. "serverNames": [
  495. ""
  496. ],
  497. "target": "www.cloudflare.com:443",
  498. "tls13": true,
  499. "tlsVersion": "1.3",
  500. "x25519": true
  501. },
  502. "Setting": {
  503. "id": 0,
  504. "key": "",
  505. "value": ""
  506. },
  507. "User": {
  508. "id": 0,
  509. "password": "",
  510. "username": ""
  511. }
  512. };