| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364 |
- // Code generated by tools/openapigen. DO NOT EDIT.
- export type Protocol = string;
- export interface AllSetting {
- datepicker: string;
- expireDiff: number;
- externalTrafficInformEnable: boolean;
- externalTrafficInformURI: string;
- ldapAutoCreate: boolean;
- ldapAutoDelete: boolean;
- ldapBaseDN: string;
- ldapBindDN: string;
- ldapDefaultExpiryDays: number;
- ldapDefaultLimitIP: number;
- ldapDefaultTotalGB: number;
- ldapEnable: boolean;
- ldapFlagField: string;
- ldapHost: string;
- ldapInboundTags: string;
- ldapInvertFlag: boolean;
- ldapPassword: string;
- ldapPort: number;
- ldapSyncCron: string;
- ldapTruthyValues: string;
- ldapUseTLS: boolean;
- ldapUserAttr: string;
- ldapUserFilter: string;
- ldapVlessField: string;
- pageSize: number;
- panelProxy: string;
- remarkModel: string;
- restartXrayOnClientDisable: boolean;
- sessionMaxAge: number;
- subAnnounce: string;
- subCertFile: string;
- subClashEnable: boolean;
- subClashPath: string;
- subClashURI: string;
- subDomain: string;
- subEmailInRemark: boolean;
- subEnable: boolean;
- subEnableRouting: boolean;
- subEncrypt: boolean;
- subJsonEnable: boolean;
- subJsonFragment: string;
- subJsonMux: string;
- subJsonNoises: string;
- subJsonPath: string;
- subJsonRules: string;
- subJsonURI: string;
- subKeyFile: string;
- subListen: string;
- subPath: string;
- subPort: number;
- subProfileUrl: string;
- subRoutingRules: string;
- subShowInfo: boolean;
- subSupportUrl: string;
- subTitle: string;
- subURI: string;
- subUpdates: number;
- tgBotAPIServer: string;
- tgBotBackup: boolean;
- tgBotChatId: string;
- tgBotEnable: boolean;
- tgBotLoginNotify: boolean;
- tgBotProxy: string;
- tgBotToken: string;
- tgCpu: number;
- tgLang: string;
- tgRunTime: string;
- timeLocation: string;
- trafficDiff: number;
- trustedProxyCIDRs: string;
- twoFactorEnable: boolean;
- twoFactorToken: string;
- webBasePath: string;
- webCertFile: string;
- webDomain: string;
- webKeyFile: string;
- webListen: string;
- webPort: number;
- }
- export interface AllSettingView {
- datepicker: string;
- expireDiff: number;
- externalTrafficInformEnable: boolean;
- externalTrafficInformURI: string;
- hasApiToken: boolean;
- hasLdapPassword: boolean;
- hasNordSecret: boolean;
- hasTgBotToken: boolean;
- hasTwoFactorToken: boolean;
- hasWarpSecret: boolean;
- ldapAutoCreate: boolean;
- ldapAutoDelete: boolean;
- ldapBaseDN: string;
- ldapBindDN: string;
- ldapDefaultExpiryDays: number;
- ldapDefaultLimitIP: number;
- ldapDefaultTotalGB: number;
- ldapEnable: boolean;
- ldapFlagField: string;
- ldapHost: string;
- ldapInboundTags: string;
- ldapInvertFlag: boolean;
- ldapPassword: string;
- ldapPort: number;
- ldapSyncCron: string;
- ldapTruthyValues: string;
- ldapUseTLS: boolean;
- ldapUserAttr: string;
- ldapUserFilter: string;
- ldapVlessField: string;
- pageSize: number;
- panelProxy: string;
- remarkModel: string;
- restartXrayOnClientDisable: boolean;
- sessionMaxAge: number;
- subAnnounce: string;
- subCertFile: string;
- subClashEnable: boolean;
- subClashPath: string;
- subClashURI: string;
- subDomain: string;
- subEmailInRemark: boolean;
- subEnable: boolean;
- subEnableRouting: boolean;
- subEncrypt: boolean;
- subJsonEnable: boolean;
- subJsonFragment: string;
- subJsonMux: string;
- subJsonNoises: string;
- subJsonPath: string;
- subJsonRules: string;
- subJsonURI: string;
- subKeyFile: string;
- subListen: string;
- subPath: string;
- subPort: number;
- subProfileUrl: string;
- subRoutingRules: string;
- subShowInfo: boolean;
- subSupportUrl: string;
- subTitle: string;
- subURI: string;
- subUpdates: number;
- tgBotAPIServer: string;
- tgBotBackup: boolean;
- tgBotChatId: string;
- tgBotEnable: boolean;
- tgBotLoginNotify: boolean;
- tgBotProxy: string;
- tgBotToken: string;
- tgCpu: number;
- tgLang: string;
- tgRunTime: string;
- timeLocation: string;
- trafficDiff: number;
- trustedProxyCIDRs: string;
- twoFactorEnable: boolean;
- twoFactorToken: string;
- webBasePath: string;
- webCertFile: string;
- webDomain: string;
- webKeyFile: string;
- webListen: string;
- webPort: number;
- }
- export interface ApiToken {
- createdAt: number;
- enabled: boolean;
- id: number;
- name: string;
- token: string;
- }
- export interface Client {
- auth?: string;
- comment: string;
- created_at?: number;
- email: string;
- enable: boolean;
- expiryTime: number;
- flow?: string;
- group?: string;
- id?: string;
- limitIp: number;
- password?: string;
- reset: number;
- reverse?: ClientReverse | null;
- security: string;
- subId: string;
- tgId: number;
- totalGB: number;
- updated_at?: number;
- }
- export interface ClientInbound {
- clientId: number;
- createdAt: number;
- flowOverride: string;
- inboundId: number;
- }
- export interface ClientRecord {
- auth: string;
- comment: string;
- createdAt: number;
- email: string;
- enable: boolean;
- expiryTime: number;
- flow: string;
- group: string;
- id: number;
- limitIp: number;
- password: string;
- reset: number;
- reverse: unknown;
- security: string;
- subId: string;
- tgId: number;
- totalGB: number;
- updatedAt: number;
- uuid: string;
- }
- export interface ClientReverse {
- tag: string;
- }
- export interface ClientTraffic {
- down: number;
- email: string;
- enable: boolean;
- expiryTime: number;
- id: number;
- inboundId: number;
- lastOnline: number;
- reset: number;
- subId: string;
- total: number;
- up: number;
- uuid: string;
- }
- export interface CustomGeoResource {
- alias: string;
- createdAt: number;
- id: number;
- lastModified: string;
- lastUpdatedAt: number;
- localPath: string;
- type: string;
- updatedAt: number;
- url: string;
- }
- export interface FallbackParentInfo {
- masterId: number;
- path?: string;
- }
- export interface HistoryOfSeeders {
- id: number;
- seederName: string;
- }
- export interface Inbound {
- clientStats: ClientTraffic[];
- down: number;
- enable: boolean;
- expiryTime: number;
- fallbackParent?: FallbackParentInfo | null;
- id: number;
- lastTrafficResetTime: number;
- listen: string;
- nodeId?: number | null;
- port: number;
- protocol: Protocol;
- remark: string;
- settings: unknown;
- sniffing: unknown;
- streamSettings: unknown;
- tag: string;
- total: number;
- trafficReset: string;
- up: number;
- }
- export interface InboundClientIps {
- clientEmail: string;
- id: number;
- ips: unknown;
- }
- export interface InboundFallback {
- alpn: string;
- childId: number;
- dest: string;
- id: number;
- masterId: number;
- name: string;
- path: string;
- sortOrder: number;
- xver: number;
- }
- export interface Msg {
- msg: string;
- obj: unknown;
- success: boolean;
- }
- export interface Node {
- address: string;
- allowPrivateAddress: boolean;
- apiToken: string;
- basePath: string;
- clientCount: number;
- cpuPct: number;
- createdAt: number;
- depletedCount: number;
- enable: boolean;
- id: number;
- inboundCount: number;
- lastError: string;
- lastHeartbeat: number;
- latencyMs: number;
- memPct: number;
- name: string;
- onlineCount: number;
- panelVersion: string;
- port: number;
- remark: string;
- scheme: string;
- status: string;
- updatedAt: number;
- uptimeSecs: number;
- xrayVersion: string;
- }
- export interface OutboundTraffics {
- down: number;
- id: number;
- tag: string;
- total: number;
- up: number;
- }
- export interface Setting {
- id: number;
- key: string;
- value: string;
- }
- export interface User {
- id: number;
- password: string;
- username: string;
- }
|