@remnawave/xtls-sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +104 -0
- package/build/index.d.ts +8 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +13 -0
- package/build/scripts/export-protos.d.ts +2 -0
- package/build/scripts/export-protos.d.ts.map +1 -0
- package/build/scripts/export-protos.js +122 -0
- package/build/src/common/errors/index.d.ts +2 -0
- package/build/src/common/errors/index.d.ts.map +1 -0
- package/build/src/common/errors/index.js +17 -0
- package/build/src/common/errors/stats/index.d.ts +2 -0
- package/build/src/common/errors/stats/index.d.ts.map +1 -0
- package/build/src/common/errors/stats/index.js +17 -0
- package/build/src/common/errors/stats/stats.errors.d.ts +39 -0
- package/build/src/common/errors/stats/stats.errors.d.ts.map +1 -0
- package/build/src/common/errors/stats/stats.errors.js +38 -0
- package/build/src/common/types/index.d.ts +2 -0
- package/build/src/common/types/index.d.ts.map +1 -0
- package/build/src/common/types/index.js +17 -0
- package/build/src/common/types/sdk-response.d.ts +6 -0
- package/build/src/common/types/sdk-response.d.ts.map +1 -0
- package/build/src/common/types/sdk-response.js +2 -0
- package/build/src/handler/handler.service.d.ts +1 -0
- package/build/src/handler/handler.service.d.ts.map +1 -0
- package/build/src/handler/handler.service.js +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/get-all-inbounds-stats.response.model.d.ts +21 -0
- package/build/src/stats/models/get-all-inbounds-stats/get-all-inbounds-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/get-all-inbounds-stats.response.model.js +42 -0
- package/build/src/stats/models/get-all-inbounds-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-all-inbounds-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/index.js +17 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/inbound.interface.d.ts +6 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/inbound.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/inbound.interface.js +2 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-inbounds-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-all-outbounds-stats/get-all-outbounds-stats.response.model.d.ts +21 -0
- package/build/src/stats/models/get-all-outbounds-stats/get-all-outbounds-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-all-outbounds-stats/get-all-outbounds-stats.response.model.js +42 -0
- package/build/src/stats/models/get-all-outbounds-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-all-outbounds-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-outbounds-stats/index.js +17 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/outbound.interface.d.ts +6 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/outbound.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-all-outbounds-stats/interfaces/outbound.interface.js +2 -0
- package/build/src/stats/models/get-all-users-stats/get-all-users-stats.response.model.d.ts +21 -0
- package/build/src/stats/models/get-all-users-stats/get-all-users-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-all-users-stats/get-all-users-stats.response.model.js +42 -0
- package/build/src/stats/models/get-all-users-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-all-users-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-users-stats/index.js +17 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/user.interface.d.ts +6 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/user.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-all-users-stats/interfaces/user.interface.js +2 -0
- package/build/src/stats/models/get-inbound-stats/get-inbound-stats.response.model.d.ts +27 -0
- package/build/src/stats/models/get-inbound-stats/get-inbound-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-inbound-stats/get-inbound-stats.response.model.js +46 -0
- package/build/src/stats/models/get-inbound-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-inbound-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-inbound-stats/index.js +17 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/inbound.interface.d.ts +6 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/inbound.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/inbound.interface.js +2 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-inbound-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-outbound-stats/get-outbound-stats.response.model.d.ts +27 -0
- package/build/src/stats/models/get-outbound-stats/get-outbound-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-outbound-stats/get-outbound-stats.response.model.js +46 -0
- package/build/src/stats/models/get-outbound-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-outbound-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-outbound-stats/index.js +17 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/outbound.d.ts +6 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/outbound.d.ts.map +1 -0
- package/build/src/stats/models/get-outbound-stats/interfaces/outbound.js +2 -0
- package/build/src/stats/models/get-sys-stats/get-sys-stats.response.model.d.ts +15 -0
- package/build/src/stats/models/get-sys-stats/get-sys-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-sys-stats/get-sys-stats.response.model.js +22 -0
- package/build/src/stats/models/get-sys-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-sys-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-sys-stats/index.js +17 -0
- package/build/src/stats/models/get-user-online-status/get-user-online-status.response.model.d.ts +5 -0
- package/build/src/stats/models/get-user-online-status/get-user-online-status.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-user-online-status/get-user-online-status.response.model.js +9 -0
- package/build/src/stats/models/get-user-online-status/index.d.ts +2 -0
- package/build/src/stats/models/get-user-online-status/index.d.ts.map +1 -0
- package/build/src/stats/models/get-user-online-status/index.js +17 -0
- package/build/src/stats/models/get-user-stats/get-user-stats.response.model.d.ts +26 -0
- package/build/src/stats/models/get-user-stats/get-user-stats.response.model.d.ts.map +1 -0
- package/build/src/stats/models/get-user-stats/get-user-stats.response.model.js +46 -0
- package/build/src/stats/models/get-user-stats/index.d.ts +2 -0
- package/build/src/stats/models/get-user-stats/index.d.ts.map +1 -0
- package/build/src/stats/models/get-user-stats/index.js +17 -0
- package/build/src/stats/models/get-user-stats/interfaces/index.d.ts +2 -0
- package/build/src/stats/models/get-user-stats/interfaces/index.d.ts.map +1 -0
- package/build/src/stats/models/get-user-stats/interfaces/index.js +17 -0
- package/build/src/stats/models/get-user-stats/interfaces/user.interface.d.ts +6 -0
- package/build/src/stats/models/get-user-stats/interfaces/user.interface.d.ts.map +1 -0
- package/build/src/stats/models/get-user-stats/interfaces/user.interface.js +2 -0
- package/build/src/stats/models/index.d.ts +9 -0
- package/build/src/stats/models/index.d.ts.map +1 -0
- package/build/src/stats/models/index.js +24 -0
- package/build/src/stats/stats.service.d.ts +227 -0
- package/build/src/stats/stats.service.d.ts.map +1 -0
- package/build/src/stats/stats.service.js +399 -0
- package/build/src/xray-protos/app/commander/config.d.ts +37 -0
- package/build/src/xray-protos/app/commander/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/commander/config.js +143 -0
- package/build/src/xray-protos/app/dispatcher/config.d.ts +26 -0
- package/build/src/xray-protos/app/dispatcher/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/dispatcher/config.js +112 -0
- package/build/src/xray-protos/app/dns/config.d.ts +93 -0
- package/build/src/xray-protos/app/dns/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/dns/config.js +707 -0
- package/build/src/xray-protos/app/dns/fakedns/fakedns.d.ts +30 -0
- package/build/src/xray-protos/app/dns/fakedns/fakedns.d.ts.map +1 -0
- package/build/src/xray-protos/app/dns/fakedns/fakedns.js +152 -0
- package/build/src/xray-protos/app/log/command/config.d.ts +51 -0
- package/build/src/xray-protos/app/log/command/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/log/command/config.js +143 -0
- package/build/src/xray-protos/app/log/config.d.ts +38 -0
- package/build/src/xray-protos/app/log/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/log/config.js +216 -0
- package/build/src/xray-protos/app/metrics/config.d.ts +24 -0
- package/build/src/xray-protos/app/metrics/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/metrics/config.js +68 -0
- package/build/src/xray-protos/app/observatory/burst/config.d.ts +41 -0
- package/build/src/xray-protos/app/observatory/burst/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/observatory/burst/config.js +223 -0
- package/build/src/xray-protos/app/observatory/command/command.d.ts +53 -0
- package/build/src/xray-protos/app/observatory/command/command.d.ts.map +1 -0
- package/build/src/xray-protos/app/observatory/command/command.js +166 -0
- package/build/src/xray-protos/app/observatory/config.d.ts +106 -0
- package/build/src/xray-protos/app/observatory/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/observatory/config.js +628 -0
- package/build/src/xray-protos/app/policy/config.d.ts +78 -0
- package/build/src/xray-protos/app/policy/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/policy/config.js +750 -0
- package/build/src/xray-protos/app/proxyman/command/command.d.ts +198 -0
- package/build/src/xray-protos/app/proxyman/command/command.d.ts.map +1 -0
- package/build/src/xray-protos/app/proxyman/command/command.js +1028 -0
- package/build/src/xray-protos/app/proxyman/config.d.ts +125 -0
- package/build/src/xray-protos/app/proxyman/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/proxyman/config.js +958 -0
- package/build/src/xray-protos/app/reverse/config.d.ts +48 -0
- package/build/src/xray-protos/app/reverse/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/reverse/config.js +361 -0
- package/build/src/xray-protos/app/router/command/command.d.ts +222 -0
- package/build/src/xray-protos/app/router/command/command.d.ts.map +1 -0
- package/build/src/xray-protos/app/router/command/command.js +1235 -0
- package/build/src/xray-protos/app/router/config.d.ts +176 -0
- package/build/src/xray-protos/app/router/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/router/config.js +1484 -0
- package/build/src/xray-protos/app/stats/command/command.d.ts +121 -0
- package/build/src/xray-protos/app/stats/command/command.d.ts.map +1 -0
- package/build/src/xray-protos/app/stats/command/command.js +666 -0
- package/build/src/xray-protos/app/stats/config.d.ts +28 -0
- package/build/src/xray-protos/app/stats/config.d.ts.map +1 -0
- package/build/src/xray-protos/app/stats/config.js +140 -0
- package/build/src/xray-protos/common/log/log.d.ts +12 -0
- package/build/src/xray-protos/common/log/log.d.ts.map +1 -0
- package/build/src/xray-protos/common/log/log.js +61 -0
- package/build/src/xray-protos/common/net/address.d.ts +29 -0
- package/build/src/xray-protos/common/net/address.d.ts.map +1 -0
- package/build/src/xray-protos/common/net/address.js +111 -0
- package/build/src/xray-protos/common/net/destination.d.ts +27 -0
- package/build/src/xray-protos/common/net/destination.d.ts.map +1 -0
- package/build/src/xray-protos/common/net/destination.js +105 -0
- package/build/src/xray-protos/common/net/network.d.ts +32 -0
- package/build/src/xray-protos/common/net/network.d.ts.map +1 -0
- package/build/src/xray-protos/common/net/network.js +122 -0
- package/build/src/xray-protos/common/net/port.d.ts +32 -0
- package/build/src/xray-protos/common/net/port.d.ts.map +1 -0
- package/build/src/xray-protos/common/net/port.js +142 -0
- package/build/src/xray-protos/common/protocol/headers.d.ts +34 -0
- package/build/src/xray-protos/common/protocol/headers.d.ts.map +1 -0
- package/build/src/xray-protos/common/protocol/headers.js +126 -0
- package/build/src/xray-protos/common/protocol/server_spec.d.ts +26 -0
- package/build/src/xray-protos/common/protocol/server_spec.d.ts.map +1 -0
- package/build/src/xray-protos/common/protocol/server_spec.js +105 -0
- package/build/src/xray-protos/common/protocol/user.d.ts +30 -0
- package/build/src/xray-protos/common/protocol/user.d.ts.map +1 -0
- package/build/src/xray-protos/common/protocol/user.js +104 -0
- package/build/src/xray-protos/common/serial/typed_message.d.ts +26 -0
- package/build/src/xray-protos/common/serial/typed_message.d.ts.map +1 -0
- package/build/src/xray-protos/common/serial/typed_message.js +111 -0
- package/build/src/xray-protos/core/config.d.ts +74 -0
- package/build/src/xray-protos/core/config.d.ts.map +1 -0
- package/build/src/xray-protos/core/config.js +350 -0
- package/build/src/xray-protos/proxy/blackhole/config.d.ts +31 -0
- package/build/src/xray-protos/proxy/blackhole/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/blackhole/config.js +152 -0
- package/build/src/xray-protos/proxy/dns/config.d.ts +30 -0
- package/build/src/xray-protos/proxy/dns/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/dns/config.js +130 -0
- package/build/src/xray-protos/proxy/dokodemo/config.d.ts +29 -0
- package/build/src/xray-protos/proxy/dokodemo/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/dokodemo/config.js +151 -0
- package/build/src/xray-protos/proxy/freedom/config.d.ts +68 -0
- package/build/src/xray-protos/proxy/freedom/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/freedom/config.js +603 -0
- package/build/src/xray-protos/proxy/http/config.d.ts +54 -0
- package/build/src/xray-protos/proxy/http/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/http/config.js +408 -0
- package/build/src/xray-protos/proxy/loopback/config.d.ts +22 -0
- package/build/src/xray-protos/proxy/loopback/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/loopback/config.js +68 -0
- package/build/src/xray-protos/proxy/shadowsocks/config.d.ts +49 -0
- package/build/src/xray-protos/proxy/shadowsocks/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/shadowsocks/config.js +297 -0
- package/build/src/xray-protos/proxy/shadowsocks_2022/config.d.ts +69 -0
- package/build/src/xray-protos/proxy/shadowsocks_2022/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/shadowsocks_2022/config.js +684 -0
- package/build/src/xray-protos/proxy/socks/config.d.ts +61 -0
- package/build/src/xray-protos/proxy/socks/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/socks/config.js +402 -0
- package/build/src/xray-protos/proxy/trojan/config.d.ts +45 -0
- package/build/src/xray-protos/proxy/trojan/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/trojan/config.js +340 -0
- package/build/src/xray-protos/proxy/vless/account.d.ts +27 -0
- package/build/src/xray-protos/proxy/vless/account.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vless/account.js +101 -0
- package/build/src/xray-protos/proxy/vless/encoding/addons.d.ts +23 -0
- package/build/src/xray-protos/proxy/vless/encoding/addons.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vless/encoding/addons.js +111 -0
- package/build/src/xray-protos/proxy/vless/inbound/config.d.ts +39 -0
- package/build/src/xray-protos/proxy/vless/inbound/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vless/inbound/config.js +245 -0
- package/build/src/xray-protos/proxy/vless/outbound/config.d.ts +23 -0
- package/build/src/xray-protos/proxy/vless/outbound/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vless/outbound/config.js +69 -0
- package/build/src/xray-protos/proxy/vmess/account.d.ts +31 -0
- package/build/src/xray-protos/proxy/vmess/account.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vmess/account.js +104 -0
- package/build/src/xray-protos/proxy/vmess/inbound/config.d.ts +36 -0
- package/build/src/xray-protos/proxy/vmess/inbound/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vmess/inbound/config.js +212 -0
- package/build/src/xray-protos/proxy/vmess/outbound/config.d.ts +23 -0
- package/build/src/xray-protos/proxy/vmess/outbound/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/vmess/outbound/config.js +71 -0
- package/build/src/xray-protos/proxy/wireguard/config.d.ts +49 -0
- package/build/src/xray-protos/proxy/wireguard/config.d.ts.map +1 -0
- package/build/src/xray-protos/proxy/wireguard/config.js +403 -0
- package/build/src/xray-protos/transport/internet/config.d.ts +114 -0
- package/build/src/xray-protos/transport/internet/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/config.js +946 -0
- package/build/src/xray-protos/transport/internet/grpc/config.d.ts +29 -0
- package/build/src/xray-protos/transport/internet/grpc/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/grpc/config.js +186 -0
- package/build/src/xray-protos/transport/internet/grpc/encoding/stream.d.ts +62 -0
- package/build/src/xray-protos/transport/internet/grpc/encoding/stream.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/grpc/encoding/stream.js +164 -0
- package/build/src/xray-protos/transport/internet/headers/dns/config.d.ts +22 -0
- package/build/src/xray-protos/transport/internet/headers/dns/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/headers/dns/config.js +68 -0
- package/build/src/xray-protos/transport/internet/headers/http/config.d.ts +80 -0
- package/build/src/xray-protos/transport/internet/headers/http/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/headers/http/config.js +544 -0
- package/build/src/xray-protos/transport/internet/headers/noop/config.d.ts +25 -0
- package/build/src/xray-protos/transport/internet/headers/noop/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/headers/noop/config.js +90 -0
- package/build/src/xray-protos/transport/internet/headers/srtp/config.d.ts +27 -0
- package/build/src/xray-protos/transport/internet/headers/srtp/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/headers/srtp/config.js +154 -0
- package/build/src/xray-protos/transport/internet/headers/tls/config.d.ts +21 -0
- package/build/src/xray-protos/transport/internet/headers/tls/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/headers/tls/config.js +51 -0
- package/build/src/xray-protos/transport/internet/headers/utp/config.d.ts +22 -0
- package/build/src/xray-protos/transport/internet/headers/utp/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/headers/utp/config.js +68 -0
- package/build/src/xray-protos/transport/internet/headers/wechat/config.d.ts +21 -0
- package/build/src/xray-protos/transport/internet/headers/wechat/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/headers/wechat/config.js +51 -0
- package/build/src/xray-protos/transport/internet/headers/wireguard/config.d.ts +21 -0
- package/build/src/xray-protos/transport/internet/headers/wireguard/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/headers/wireguard/config.js +51 -0
- package/build/src/xray-protos/transport/internet/http/config.d.ts +28 -0
- package/build/src/xray-protos/transport/internet/http/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/http/config.js +155 -0
- package/build/src/xray-protos/transport/internet/httpupgrade/config.d.ts +34 -0
- package/build/src/xray-protos/transport/internet/httpupgrade/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/httpupgrade/config.js +235 -0
- package/build/src/xray-protos/transport/internet/kcp/config.d.ts +82 -0
- package/build/src/xray-protos/transport/internet/kcp/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/kcp/config.js +639 -0
- package/build/src/xray-protos/transport/internet/reality/config.d.ts +38 -0
- package/build/src/xray-protos/transport/internet/reality/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/reality/config.js +376 -0
- package/build/src/xray-protos/transport/internet/splithttp/config.d.ts +55 -0
- package/build/src/xray-protos/transport/internet/splithttp/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/splithttp/config.js +536 -0
- package/build/src/xray-protos/transport/internet/tcp/config.d.ts +24 -0
- package/build/src/xray-protos/transport/internet/tcp/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/tcp/config.js +89 -0
- package/build/src/xray-protos/transport/internet/tls/config.d.ts +87 -0
- package/build/src/xray-protos/transport/internet/tls/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/tls/config.js +555 -0
- package/build/src/xray-protos/transport/internet/udp/config.d.ts +21 -0
- package/build/src/xray-protos/transport/internet/udp/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/udp/config.js +51 -0
- package/build/src/xray-protos/transport/internet/websocket/config.d.ts +35 -0
- package/build/src/xray-protos/transport/internet/websocket/config.d.ts.map +1 -0
- package/build/src/xray-protos/transport/internet/websocket/config.js +235 -0
- package/build/src/xray-protos/typeRegistry.d.ts +19 -0
- package/build/src/xray-protos/typeRegistry.d.ts.map +1 -0
- package/build/src/xray-protos/typeRegistry.js +8 -0
- package/package.json +28 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.2.7
|
|
5
|
+
// protoc v5.28.3
|
|
6
|
+
// source: app/metrics/config.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.Config = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
const typeRegistry_1 = require("../../typeRegistry");
|
|
12
|
+
exports.protobufPackage = "xray.app.metrics";
|
|
13
|
+
function createBaseConfig() {
|
|
14
|
+
return { $type: "xray.app.metrics.Config", tag: "" };
|
|
15
|
+
}
|
|
16
|
+
exports.Config = {
|
|
17
|
+
$type: "xray.app.metrics.Config",
|
|
18
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
19
|
+
if (message.tag !== "") {
|
|
20
|
+
writer.uint32(10).string(message.tag);
|
|
21
|
+
}
|
|
22
|
+
return writer;
|
|
23
|
+
},
|
|
24
|
+
decode(input, length) {
|
|
25
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
26
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
27
|
+
const message = createBaseConfig();
|
|
28
|
+
while (reader.pos < end) {
|
|
29
|
+
const tag = reader.uint32();
|
|
30
|
+
switch (tag >>> 3) {
|
|
31
|
+
case 1: {
|
|
32
|
+
if (tag !== 10) {
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
message.tag = reader.string();
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skip(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { $type: exports.Config.$type, tag: isSet(object.tag) ? globalThis.String(object.tag) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.tag !== "") {
|
|
52
|
+
obj.tag = message.tag;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.Config.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseConfig();
|
|
61
|
+
message.tag = object.tag ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
typeRegistry_1.messageTypeRegistry.set(exports.Config.$type, exports.Config);
|
|
66
|
+
function isSet(value) {
|
|
67
|
+
return value !== null && value !== undefined;
|
|
68
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "xray.core.app.observatory.burst";
|
|
3
|
+
export interface Config {
|
|
4
|
+
$type: "xray.core.app.observatory.burst.Config";
|
|
5
|
+
/** @Document The selectors for outbound under observation */
|
|
6
|
+
subjectSelector: string[];
|
|
7
|
+
pingConfig: HealthPingConfig | undefined;
|
|
8
|
+
}
|
|
9
|
+
export interface HealthPingConfig {
|
|
10
|
+
$type: "xray.core.app.observatory.burst.HealthPingConfig";
|
|
11
|
+
/**
|
|
12
|
+
* destination url, need 204 for success return
|
|
13
|
+
* default https://connectivitycheck.gstatic.com/generate_204
|
|
14
|
+
*/
|
|
15
|
+
destination: string;
|
|
16
|
+
/** connectivity check url */
|
|
17
|
+
connectivity: string;
|
|
18
|
+
/** health check interval, int64 values of time.Duration */
|
|
19
|
+
interval: number;
|
|
20
|
+
/** sampling count is the amount of recent ping results which are kept for calculation */
|
|
21
|
+
samplingCount: number;
|
|
22
|
+
/** ping timeout, int64 values of time.Duration */
|
|
23
|
+
timeout: number;
|
|
24
|
+
}
|
|
25
|
+
export declare const Config: MessageFns<Config, "xray.core.app.observatory.burst.Config">;
|
|
26
|
+
export declare const HealthPingConfig: MessageFns<HealthPingConfig, "xray.core.app.observatory.burst.HealthPingConfig">;
|
|
27
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
29
|
+
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
export interface MessageFns<T, V extends string> {
|
|
32
|
+
readonly $type: V;
|
|
33
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
34
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
35
|
+
fromJSON(object: any): T;
|
|
36
|
+
toJSON(message: T): unknown;
|
|
37
|
+
create(base?: DeepPartial<T>): T;
|
|
38
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../../src/xray-protos/app/observatory/burst/config.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGrE,eAAO,MAAM,eAAe,oCAAoC,CAAC;AAEjE,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,wCAAwC,CAAC;IAChD,6DAA6D;IAC7D,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC1C;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,kDAAkD,CAAC;IAC1D;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,6BAA6B;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,yFAAyF;IACzF,aAAa,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,OAAO,EAAE,MAAM,CAAC;CACjB;AAMD,eAAO,MAAM,MAAM,EAAE,UAAU,CAAC,MAAM,EAAE,wCAAwC,CA6E/E,CAAC;AAeF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,gBAAgB,EAAE,kDAAkD,CAyH7G,CAAC;AAIF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAC9C,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACvE,OAAO,CAAC,CAAC,CAAC,CAAC;AAiBf,MAAM,WAAW,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM;IAC7C,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.2.7
|
|
5
|
+
// protoc v5.28.3
|
|
6
|
+
// source: app/observatory/burst/config.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.HealthPingConfig = exports.Config = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
const typeRegistry_1 = require("../../../typeRegistry");
|
|
12
|
+
exports.protobufPackage = "xray.core.app.observatory.burst";
|
|
13
|
+
function createBaseConfig() {
|
|
14
|
+
return { $type: "xray.core.app.observatory.burst.Config", subjectSelector: [], pingConfig: undefined };
|
|
15
|
+
}
|
|
16
|
+
exports.Config = {
|
|
17
|
+
$type: "xray.core.app.observatory.burst.Config",
|
|
18
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
19
|
+
for (const v of message.subjectSelector) {
|
|
20
|
+
writer.uint32(18).string(v);
|
|
21
|
+
}
|
|
22
|
+
if (message.pingConfig !== undefined) {
|
|
23
|
+
exports.HealthPingConfig.encode(message.pingConfig, writer.uint32(26).fork()).join();
|
|
24
|
+
}
|
|
25
|
+
return writer;
|
|
26
|
+
},
|
|
27
|
+
decode(input, length) {
|
|
28
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
29
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
30
|
+
const message = createBaseConfig();
|
|
31
|
+
while (reader.pos < end) {
|
|
32
|
+
const tag = reader.uint32();
|
|
33
|
+
switch (tag >>> 3) {
|
|
34
|
+
case 2: {
|
|
35
|
+
if (tag !== 18) {
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
message.subjectSelector.push(reader.string());
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
case 3: {
|
|
42
|
+
if (tag !== 26) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.pingConfig = exports.HealthPingConfig.decode(reader, reader.uint32());
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
reader.skip(tag & 7);
|
|
53
|
+
}
|
|
54
|
+
return message;
|
|
55
|
+
},
|
|
56
|
+
fromJSON(object) {
|
|
57
|
+
return {
|
|
58
|
+
$type: exports.Config.$type,
|
|
59
|
+
subjectSelector: globalThis.Array.isArray(object?.subjectSelector)
|
|
60
|
+
? object.subjectSelector.map((e) => globalThis.String(e))
|
|
61
|
+
: [],
|
|
62
|
+
pingConfig: isSet(object.pingConfig) ? exports.HealthPingConfig.fromJSON(object.pingConfig) : undefined,
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
toJSON(message) {
|
|
66
|
+
const obj = {};
|
|
67
|
+
if (message.subjectSelector?.length) {
|
|
68
|
+
obj.subjectSelector = message.subjectSelector;
|
|
69
|
+
}
|
|
70
|
+
if (message.pingConfig !== undefined) {
|
|
71
|
+
obj.pingConfig = exports.HealthPingConfig.toJSON(message.pingConfig);
|
|
72
|
+
}
|
|
73
|
+
return obj;
|
|
74
|
+
},
|
|
75
|
+
create(base) {
|
|
76
|
+
return exports.Config.fromPartial(base ?? {});
|
|
77
|
+
},
|
|
78
|
+
fromPartial(object) {
|
|
79
|
+
const message = createBaseConfig();
|
|
80
|
+
message.subjectSelector = object.subjectSelector?.map((e) => e) || [];
|
|
81
|
+
message.pingConfig = (object.pingConfig !== undefined && object.pingConfig !== null)
|
|
82
|
+
? exports.HealthPingConfig.fromPartial(object.pingConfig)
|
|
83
|
+
: undefined;
|
|
84
|
+
return message;
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
typeRegistry_1.messageTypeRegistry.set(exports.Config.$type, exports.Config);
|
|
88
|
+
function createBaseHealthPingConfig() {
|
|
89
|
+
return {
|
|
90
|
+
$type: "xray.core.app.observatory.burst.HealthPingConfig",
|
|
91
|
+
destination: "",
|
|
92
|
+
connectivity: "",
|
|
93
|
+
interval: 0,
|
|
94
|
+
samplingCount: 0,
|
|
95
|
+
timeout: 0,
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
exports.HealthPingConfig = {
|
|
99
|
+
$type: "xray.core.app.observatory.burst.HealthPingConfig",
|
|
100
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
101
|
+
if (message.destination !== "") {
|
|
102
|
+
writer.uint32(10).string(message.destination);
|
|
103
|
+
}
|
|
104
|
+
if (message.connectivity !== "") {
|
|
105
|
+
writer.uint32(18).string(message.connectivity);
|
|
106
|
+
}
|
|
107
|
+
if (message.interval !== 0) {
|
|
108
|
+
writer.uint32(24).int64(message.interval);
|
|
109
|
+
}
|
|
110
|
+
if (message.samplingCount !== 0) {
|
|
111
|
+
writer.uint32(32).int32(message.samplingCount);
|
|
112
|
+
}
|
|
113
|
+
if (message.timeout !== 0) {
|
|
114
|
+
writer.uint32(40).int64(message.timeout);
|
|
115
|
+
}
|
|
116
|
+
return writer;
|
|
117
|
+
},
|
|
118
|
+
decode(input, length) {
|
|
119
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
120
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
121
|
+
const message = createBaseHealthPingConfig();
|
|
122
|
+
while (reader.pos < end) {
|
|
123
|
+
const tag = reader.uint32();
|
|
124
|
+
switch (tag >>> 3) {
|
|
125
|
+
case 1: {
|
|
126
|
+
if (tag !== 10) {
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
message.destination = reader.string();
|
|
130
|
+
continue;
|
|
131
|
+
}
|
|
132
|
+
case 2: {
|
|
133
|
+
if (tag !== 18) {
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
message.connectivity = reader.string();
|
|
137
|
+
continue;
|
|
138
|
+
}
|
|
139
|
+
case 3: {
|
|
140
|
+
if (tag !== 24) {
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
message.interval = longToNumber(reader.int64());
|
|
144
|
+
continue;
|
|
145
|
+
}
|
|
146
|
+
case 4: {
|
|
147
|
+
if (tag !== 32) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
message.samplingCount = reader.int32();
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
case 5: {
|
|
154
|
+
if (tag !== 40) {
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
message.timeout = longToNumber(reader.int64());
|
|
158
|
+
continue;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
reader.skip(tag & 7);
|
|
165
|
+
}
|
|
166
|
+
return message;
|
|
167
|
+
},
|
|
168
|
+
fromJSON(object) {
|
|
169
|
+
return {
|
|
170
|
+
$type: exports.HealthPingConfig.$type,
|
|
171
|
+
destination: isSet(object.destination) ? globalThis.String(object.destination) : "",
|
|
172
|
+
connectivity: isSet(object.connectivity) ? globalThis.String(object.connectivity) : "",
|
|
173
|
+
interval: isSet(object.interval) ? globalThis.Number(object.interval) : 0,
|
|
174
|
+
samplingCount: isSet(object.samplingCount) ? globalThis.Number(object.samplingCount) : 0,
|
|
175
|
+
timeout: isSet(object.timeout) ? globalThis.Number(object.timeout) : 0,
|
|
176
|
+
};
|
|
177
|
+
},
|
|
178
|
+
toJSON(message) {
|
|
179
|
+
const obj = {};
|
|
180
|
+
if (message.destination !== "") {
|
|
181
|
+
obj.destination = message.destination;
|
|
182
|
+
}
|
|
183
|
+
if (message.connectivity !== "") {
|
|
184
|
+
obj.connectivity = message.connectivity;
|
|
185
|
+
}
|
|
186
|
+
if (message.interval !== 0) {
|
|
187
|
+
obj.interval = Math.round(message.interval);
|
|
188
|
+
}
|
|
189
|
+
if (message.samplingCount !== 0) {
|
|
190
|
+
obj.samplingCount = Math.round(message.samplingCount);
|
|
191
|
+
}
|
|
192
|
+
if (message.timeout !== 0) {
|
|
193
|
+
obj.timeout = Math.round(message.timeout);
|
|
194
|
+
}
|
|
195
|
+
return obj;
|
|
196
|
+
},
|
|
197
|
+
create(base) {
|
|
198
|
+
return exports.HealthPingConfig.fromPartial(base ?? {});
|
|
199
|
+
},
|
|
200
|
+
fromPartial(object) {
|
|
201
|
+
const message = createBaseHealthPingConfig();
|
|
202
|
+
message.destination = object.destination ?? "";
|
|
203
|
+
message.connectivity = object.connectivity ?? "";
|
|
204
|
+
message.interval = object.interval ?? 0;
|
|
205
|
+
message.samplingCount = object.samplingCount ?? 0;
|
|
206
|
+
message.timeout = object.timeout ?? 0;
|
|
207
|
+
return message;
|
|
208
|
+
},
|
|
209
|
+
};
|
|
210
|
+
typeRegistry_1.messageTypeRegistry.set(exports.HealthPingConfig.$type, exports.HealthPingConfig);
|
|
211
|
+
function longToNumber(int64) {
|
|
212
|
+
const num = globalThis.Number(int64.toString());
|
|
213
|
+
if (num > globalThis.Number.MAX_SAFE_INTEGER) {
|
|
214
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
215
|
+
}
|
|
216
|
+
if (num < globalThis.Number.MIN_SAFE_INTEGER) {
|
|
217
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
218
|
+
}
|
|
219
|
+
return num;
|
|
220
|
+
}
|
|
221
|
+
function isSet(value) {
|
|
222
|
+
return value !== null && value !== undefined;
|
|
223
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { type CallContext, type CallOptions } from "nice-grpc-common";
|
|
3
|
+
import { ObservationResult } from "../config";
|
|
4
|
+
export declare const protobufPackage = "xray.core.app.observatory.command";
|
|
5
|
+
export interface GetOutboundStatusRequest {
|
|
6
|
+
$type: "xray.core.app.observatory.command.GetOutboundStatusRequest";
|
|
7
|
+
}
|
|
8
|
+
export interface GetOutboundStatusResponse {
|
|
9
|
+
$type: "xray.core.app.observatory.command.GetOutboundStatusResponse";
|
|
10
|
+
status: ObservationResult | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface Config {
|
|
13
|
+
$type: "xray.core.app.observatory.command.Config";
|
|
14
|
+
}
|
|
15
|
+
export declare const GetOutboundStatusRequest: MessageFns<GetOutboundStatusRequest, "xray.core.app.observatory.command.GetOutboundStatusRequest">;
|
|
16
|
+
export declare const GetOutboundStatusResponse: MessageFns<GetOutboundStatusResponse, "xray.core.app.observatory.command.GetOutboundStatusResponse">;
|
|
17
|
+
export declare const Config: MessageFns<Config, "xray.core.app.observatory.command.Config">;
|
|
18
|
+
export type ObservatoryServiceDefinition = typeof ObservatoryServiceDefinition;
|
|
19
|
+
export declare const ObservatoryServiceDefinition: {
|
|
20
|
+
readonly name: "ObservatoryService";
|
|
21
|
+
readonly fullName: "xray.core.app.observatory.command.ObservatoryService";
|
|
22
|
+
readonly methods: {
|
|
23
|
+
readonly getOutboundStatus: {
|
|
24
|
+
readonly name: "GetOutboundStatus";
|
|
25
|
+
readonly requestType: MessageFns<GetOutboundStatusRequest, "xray.core.app.observatory.command.GetOutboundStatusRequest">;
|
|
26
|
+
readonly requestStream: false;
|
|
27
|
+
readonly responseType: MessageFns<GetOutboundStatusResponse, "xray.core.app.observatory.command.GetOutboundStatusResponse">;
|
|
28
|
+
readonly responseStream: false;
|
|
29
|
+
readonly options: {};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export interface ObservatoryServiceImplementation<CallContextExt = {}> {
|
|
34
|
+
getOutboundStatus(request: GetOutboundStatusRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetOutboundStatusResponse>>;
|
|
35
|
+
}
|
|
36
|
+
export interface ObservatoryServiceClient<CallOptionsExt = {}> {
|
|
37
|
+
getOutboundStatus(request: DeepPartial<GetOutboundStatusRequest>, options?: CallOptions & CallOptionsExt): Promise<GetOutboundStatusResponse>;
|
|
38
|
+
}
|
|
39
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
40
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
41
|
+
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>;
|
|
42
|
+
} : Partial<T>;
|
|
43
|
+
export interface MessageFns<T, V extends string> {
|
|
44
|
+
readonly $type: V;
|
|
45
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
46
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
47
|
+
fromJSON(object: any): T;
|
|
48
|
+
toJSON(message: T): unknown;
|
|
49
|
+
create(base?: DeepPartial<T>): T;
|
|
50
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../../../src/xray-protos/app/observatory/command/command.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,eAAO,MAAM,eAAe,sCAAsC,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,4DAA4D,CAAC;CACrE;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,6DAA6D,CAAC;IACrE,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAAC;CACvC;AAED,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,0CAA0C,CAAC;CACnD;AAMD,eAAO,MAAM,wBAAwB,EAAE,UAAU,CAC/C,wBAAwB,EACxB,4DAA4D,CAwC7D,CAAC;AAQF,eAAO,MAAM,yBAAyB,EAAE,UAAU,CAChD,yBAAyB,EACzB,6DAA6D,CA4D9D,CAAC;AAQF,eAAO,MAAM,MAAM,EAAE,UAAU,CAAC,MAAM,EAAE,0CAA0C,CAuCjF,CAAC;AAIF,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC;AAC/E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;CAa/B,CAAC;AAEX,MAAM,WAAW,gCAAgC,CAAC,cAAc,GAAG,EAAE;IACnE,iBAAiB,CACf,OAAO,EAAE,wBAAwB,EACjC,OAAO,EAAE,WAAW,GAAG,cAAc,GACpC,OAAO,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC,CAAC;CACpD;AAED,MAAM,WAAW,wBAAwB,CAAC,cAAc,GAAG,EAAE;IAC3D,iBAAiB,CACf,OAAO,EAAE,WAAW,CAAC,wBAAwB,CAAC,EAC9C,OAAO,CAAC,EAAE,WAAW,GAAG,cAAc,GACrC,OAAO,CAAC,yBAAyB,CAAC,CAAC;CACvC;AAED,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GAC9C,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACvE,OAAO,CAAC,CAAC,CAAC,CAAC;AAMf,MAAM,WAAW,UAAU,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM;IAC7C,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,WAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CACxC"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.2.7
|
|
5
|
+
// protoc v5.28.3
|
|
6
|
+
// source: app/observatory/command/command.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.ObservatoryServiceDefinition = exports.Config = exports.GetOutboundStatusResponse = exports.GetOutboundStatusRequest = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
const typeRegistry_1 = require("../../../typeRegistry");
|
|
12
|
+
const config_1 = require("../config");
|
|
13
|
+
exports.protobufPackage = "xray.core.app.observatory.command";
|
|
14
|
+
function createBaseGetOutboundStatusRequest() {
|
|
15
|
+
return { $type: "xray.core.app.observatory.command.GetOutboundStatusRequest" };
|
|
16
|
+
}
|
|
17
|
+
exports.GetOutboundStatusRequest = {
|
|
18
|
+
$type: "xray.core.app.observatory.command.GetOutboundStatusRequest",
|
|
19
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBaseGetOutboundStatusRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skip(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return { $type: exports.GetOutboundStatusRequest.$type };
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.GetOutboundStatusRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBaseGetOutboundStatusRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
typeRegistry_1.messageTypeRegistry.set(exports.GetOutboundStatusRequest.$type, exports.GetOutboundStatusRequest);
|
|
53
|
+
function createBaseGetOutboundStatusResponse() {
|
|
54
|
+
return { $type: "xray.core.app.observatory.command.GetOutboundStatusResponse", status: undefined };
|
|
55
|
+
}
|
|
56
|
+
exports.GetOutboundStatusResponse = {
|
|
57
|
+
$type: "xray.core.app.observatory.command.GetOutboundStatusResponse",
|
|
58
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
59
|
+
if (message.status !== undefined) {
|
|
60
|
+
config_1.ObservationResult.encode(message.status, writer.uint32(10).fork()).join();
|
|
61
|
+
}
|
|
62
|
+
return writer;
|
|
63
|
+
},
|
|
64
|
+
decode(input, length) {
|
|
65
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
66
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
67
|
+
const message = createBaseGetOutboundStatusResponse();
|
|
68
|
+
while (reader.pos < end) {
|
|
69
|
+
const tag = reader.uint32();
|
|
70
|
+
switch (tag >>> 3) {
|
|
71
|
+
case 1: {
|
|
72
|
+
if (tag !== 10) {
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
message.status = config_1.ObservationResult.decode(reader, reader.uint32());
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
reader.skip(tag & 7);
|
|
83
|
+
}
|
|
84
|
+
return message;
|
|
85
|
+
},
|
|
86
|
+
fromJSON(object) {
|
|
87
|
+
return {
|
|
88
|
+
$type: exports.GetOutboundStatusResponse.$type,
|
|
89
|
+
status: isSet(object.status) ? config_1.ObservationResult.fromJSON(object.status) : undefined,
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
toJSON(message) {
|
|
93
|
+
const obj = {};
|
|
94
|
+
if (message.status !== undefined) {
|
|
95
|
+
obj.status = config_1.ObservationResult.toJSON(message.status);
|
|
96
|
+
}
|
|
97
|
+
return obj;
|
|
98
|
+
},
|
|
99
|
+
create(base) {
|
|
100
|
+
return exports.GetOutboundStatusResponse.fromPartial(base ?? {});
|
|
101
|
+
},
|
|
102
|
+
fromPartial(object) {
|
|
103
|
+
const message = createBaseGetOutboundStatusResponse();
|
|
104
|
+
message.status = (object.status !== undefined && object.status !== null)
|
|
105
|
+
? config_1.ObservationResult.fromPartial(object.status)
|
|
106
|
+
: undefined;
|
|
107
|
+
return message;
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
typeRegistry_1.messageTypeRegistry.set(exports.GetOutboundStatusResponse.$type, exports.GetOutboundStatusResponse);
|
|
111
|
+
function createBaseConfig() {
|
|
112
|
+
return { $type: "xray.core.app.observatory.command.Config" };
|
|
113
|
+
}
|
|
114
|
+
exports.Config = {
|
|
115
|
+
$type: "xray.core.app.observatory.command.Config",
|
|
116
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
117
|
+
return writer;
|
|
118
|
+
},
|
|
119
|
+
decode(input, length) {
|
|
120
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
121
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
122
|
+
const message = createBaseConfig();
|
|
123
|
+
while (reader.pos < end) {
|
|
124
|
+
const tag = reader.uint32();
|
|
125
|
+
switch (tag >>> 3) {
|
|
126
|
+
}
|
|
127
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
reader.skip(tag & 7);
|
|
131
|
+
}
|
|
132
|
+
return message;
|
|
133
|
+
},
|
|
134
|
+
fromJSON(_) {
|
|
135
|
+
return { $type: exports.Config.$type };
|
|
136
|
+
},
|
|
137
|
+
toJSON(_) {
|
|
138
|
+
const obj = {};
|
|
139
|
+
return obj;
|
|
140
|
+
},
|
|
141
|
+
create(base) {
|
|
142
|
+
return exports.Config.fromPartial(base ?? {});
|
|
143
|
+
},
|
|
144
|
+
fromPartial(_) {
|
|
145
|
+
const message = createBaseConfig();
|
|
146
|
+
return message;
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
typeRegistry_1.messageTypeRegistry.set(exports.Config.$type, exports.Config);
|
|
150
|
+
exports.ObservatoryServiceDefinition = {
|
|
151
|
+
name: "ObservatoryService",
|
|
152
|
+
fullName: "xray.core.app.observatory.command.ObservatoryService",
|
|
153
|
+
methods: {
|
|
154
|
+
getOutboundStatus: {
|
|
155
|
+
name: "GetOutboundStatus",
|
|
156
|
+
requestType: exports.GetOutboundStatusRequest,
|
|
157
|
+
requestStream: false,
|
|
158
|
+
responseType: exports.GetOutboundStatusResponse,
|
|
159
|
+
responseStream: false,
|
|
160
|
+
options: {},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
};
|
|
164
|
+
function isSet(value) {
|
|
165
|
+
return value !== null && value !== undefined;
|
|
166
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "xray.core.app.observatory";
|
|
3
|
+
export interface ObservationResult {
|
|
4
|
+
$type: "xray.core.app.observatory.ObservationResult";
|
|
5
|
+
status: OutboundStatus[];
|
|
6
|
+
}
|
|
7
|
+
export interface HealthPingMeasurementResult {
|
|
8
|
+
$type: "xray.core.app.observatory.HealthPingMeasurementResult";
|
|
9
|
+
all: number;
|
|
10
|
+
fail: number;
|
|
11
|
+
deviation: number;
|
|
12
|
+
average: number;
|
|
13
|
+
max: number;
|
|
14
|
+
min: number;
|
|
15
|
+
}
|
|
16
|
+
export interface OutboundStatus {
|
|
17
|
+
$type: "xray.core.app.observatory.OutboundStatus";
|
|
18
|
+
/**
|
|
19
|
+
* @Document Whether this outbound is usable
|
|
20
|
+
* @Restriction ReadOnlyForUser
|
|
21
|
+
*/
|
|
22
|
+
alive: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @Document The time for probe request to finish.
|
|
25
|
+
* @Type time.ms
|
|
26
|
+
* @Restriction ReadOnlyForUser
|
|
27
|
+
*/
|
|
28
|
+
delay: number;
|
|
29
|
+
/**
|
|
30
|
+
* @Document The last error caused this outbound failed to relay probe request
|
|
31
|
+
* @Restriction NotMachineReadable
|
|
32
|
+
*/
|
|
33
|
+
lastErrorReason: string;
|
|
34
|
+
/**
|
|
35
|
+
* @Document The outbound tag for this Server
|
|
36
|
+
* @Type id.outboundTag
|
|
37
|
+
*/
|
|
38
|
+
outboundTag: string;
|
|
39
|
+
/**
|
|
40
|
+
* @Document The time this outbound is known to be alive
|
|
41
|
+
* @Type id.outboundTag
|
|
42
|
+
*/
|
|
43
|
+
lastSeenTime: number;
|
|
44
|
+
/**
|
|
45
|
+
* @Document The time this outbound is tried
|
|
46
|
+
* @Type id.outboundTag
|
|
47
|
+
*/
|
|
48
|
+
lastTryTime: number;
|
|
49
|
+
healthPing: HealthPingMeasurementResult | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface ProbeResult {
|
|
52
|
+
$type: "xray.core.app.observatory.ProbeResult";
|
|
53
|
+
/**
|
|
54
|
+
* @Document Whether this outbound is usable
|
|
55
|
+
* @Restriction ReadOnlyForUser
|
|
56
|
+
*/
|
|
57
|
+
alive: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* @Document The time for probe request to finish.
|
|
60
|
+
* @Type time.ms
|
|
61
|
+
* @Restriction ReadOnlyForUser
|
|
62
|
+
*/
|
|
63
|
+
delay: number;
|
|
64
|
+
/**
|
|
65
|
+
* @Document The error caused this outbound failed to relay probe request
|
|
66
|
+
* @Restriction NotMachineReadable
|
|
67
|
+
*/
|
|
68
|
+
lastErrorReason: string;
|
|
69
|
+
}
|
|
70
|
+
export interface Intensity {
|
|
71
|
+
$type: "xray.core.app.observatory.Intensity";
|
|
72
|
+
/**
|
|
73
|
+
* @Document The time interval for a probe request in ms.
|
|
74
|
+
* @Type time.ms
|
|
75
|
+
*/
|
|
76
|
+
probeInterval: number;
|
|
77
|
+
}
|
|
78
|
+
export interface Config {
|
|
79
|
+
$type: "xray.core.app.observatory.Config";
|
|
80
|
+
/** @Document The selectors for outbound under observation */
|
|
81
|
+
subjectSelector: string[];
|
|
82
|
+
probeUrl: string;
|
|
83
|
+
probeInterval: number;
|
|
84
|
+
enableConcurrency: boolean;
|
|
85
|
+
}
|
|
86
|
+
export declare const ObservationResult: MessageFns<ObservationResult, "xray.core.app.observatory.ObservationResult">;
|
|
87
|
+
export declare const HealthPingMeasurementResult: MessageFns<HealthPingMeasurementResult, "xray.core.app.observatory.HealthPingMeasurementResult">;
|
|
88
|
+
export declare const OutboundStatus: MessageFns<OutboundStatus, "xray.core.app.observatory.OutboundStatus">;
|
|
89
|
+
export declare const ProbeResult: MessageFns<ProbeResult, "xray.core.app.observatory.ProbeResult">;
|
|
90
|
+
export declare const Intensity: MessageFns<Intensity, "xray.core.app.observatory.Intensity">;
|
|
91
|
+
export declare const Config: MessageFns<Config, "xray.core.app.observatory.Config">;
|
|
92
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
93
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
94
|
+
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>;
|
|
95
|
+
} : Partial<T>;
|
|
96
|
+
export interface MessageFns<T, V extends string> {
|
|
97
|
+
readonly $type: V;
|
|
98
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
99
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
100
|
+
fromJSON(object: any): T;
|
|
101
|
+
toJSON(message: T): unknown;
|
|
102
|
+
create(base?: DeepPartial<T>): T;
|
|
103
|
+
fromPartial(object: DeepPartial<T>): T;
|
|
104
|
+
}
|
|
105
|
+
export {};
|
|
106
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/xray-protos/app/observatory/config.ts"],"names":[],"mappings":"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"}
|