@remnawave/backend-contract 2.9.3 → 2.9.5
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/build/backend/commands/api-tokens/create.command.d.ts +9 -54
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/delete.command.d.ts +2 -6
- package/build/backend/commands/api-tokens/delete.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/delete.command.js +1 -1
- package/build/backend/commands/api-tokens/get-api-tokens.command.d.ts +9 -91
- package/build/backend/commands/api-tokens/get-api-tokens.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/get-scopes.command.d.ts +21 -144
- package/build/backend/commands/api-tokens/get-scopes.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.d.ts +8 -122
- package/build/backend/commands/auth/get-status.command.d.ts.map +1 -1
- package/build/backend/commands/auth/get-status.command.js +1 -1
- package/build/backend/commands/auth/login.command.d.ts +3 -21
- package/build/backend/commands/auth/login.command.d.ts.map +1 -1
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts +5 -21
- package/build/backend/commands/auth/oauth2/authorize.command.d.ts.map +1 -1
- package/build/backend/commands/auth/oauth2/authorize.command.js +2 -2
- package/build/backend/commands/auth/oauth2/callback.command.d.ts +4 -24
- package/build/backend/commands/auth/oauth2/callback.command.d.ts.map +1 -1
- package/build/backend/commands/auth/oauth2/callback.command.js +1 -1
- package/build/backend/commands/auth/passkey/get-authentication-options.command.d.ts +1 -5
- package/build/backend/commands/auth/passkey/get-authentication-options.command.d.ts.map +1 -1
- package/build/backend/commands/auth/passkey/verify-authentication.command.d.ts +3 -19
- package/build/backend/commands/auth/passkey/verify-authentication.command.d.ts.map +1 -1
- package/build/backend/commands/auth/register.command.d.ts +3 -21
- package/build/backend/commands/auth/register.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts +10 -48
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +5 -5
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts +10 -52
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +5 -5
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.d.ts +11 -67
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +3 -3
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts +13 -123
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +4 -4
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.d.ts +11 -67
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +3 -3
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts +15 -129
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts.map +1 -1
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -5
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +17 -252
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +13 -141
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/create-config-profile.command.js +1 -1
- package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts +2 -6
- package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/delete-config-profile.command.js +1 -1
- package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts +6 -83
- package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-all-inbounds.command.js +1 -1
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +13 -135
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +13 -135
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +12 -186
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts +8 -89
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +14 -140
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/update-config-profile.command.js +2 -2
- package/build/backend/commands/connections/connections-by-node-result.command.d.ts +8 -110
- package/build/backend/commands/connections/connections-by-node-result.command.d.ts.map +1 -1
- package/build/backend/commands/connections/connections-by-node-result.command.js +2 -3
- package/build/backend/commands/connections/connections-by-node.command.d.ts +4 -20
- package/build/backend/commands/connections/connections-by-node.command.d.ts.map +1 -1
- package/build/backend/commands/connections/connections-by-node.command.js +1 -1
- package/build/backend/commands/connections/connections-by-user-result.command.d.ts +10 -162
- package/build/backend/commands/connections/connections-by-user-result.command.d.ts.map +1 -1
- package/build/backend/commands/connections/connections-by-user-result.command.js +3 -4
- package/build/backend/commands/connections/connections-by-user.command.d.ts +4 -20
- package/build/backend/commands/connections/connections-by-user.command.d.ts.map +1 -1
- package/build/backend/commands/connections/connections-by-user.command.js +1 -1
- package/build/backend/commands/connections/drop-connections.command.d.ts +19 -91
- package/build/backend/commands/connections/drop-connections.command.d.ts.map +1 -1
- package/build/backend/commands/connections/drop-connections.command.js +3 -3
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +29 -482
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts +2 -6
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +1 -1
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts +2 -6
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +1 -1
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +24 -262
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/delete-external-squad.command.d.ts +2 -6
- package/build/backend/commands/external-squads/delete-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/delete-external-squad.command.js +1 -1
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +25 -263
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.js +1 -1
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +24 -356
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +41 -403
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/update-external-squad.command.js +8 -8
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +2 -6
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +2 -6
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +2 -6
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts +16 -93
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +33 -261
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +12 -17
- package/build/backend/commands/hosts/delete.command.d.ts +2 -6
- package/build/backend/commands/hosts/delete.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/delete.command.js +1 -1
- package/build/backend/commands/hosts/get-host.command.d.ts +20 -178
- package/build/backend/commands/hosts/get-host.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-host.command.js +1 -1
- package/build/backend/commands/hosts/get-hosts.command.d.ts +18 -172
- package/build/backend/commands/hosts/get-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/host.response.d.ts +18 -172
- package/build/backend/commands/hosts/host.response.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +7 -98
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/tags/get-hosts-tags.command.d.ts +3 -15
- package/build/backend/commands/hosts/tags/get-hosts-tags.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +35 -330
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +12 -17
- package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts +7 -99
- package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/create-user-hwid-device.command.js +1 -1
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts +7 -87
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +7 -89
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.js +1 -1
- package/build/backend/commands/hwid/get-hwid-devices-stats.command.d.ts +5 -93
- package/build/backend/commands/hwid/get-hwid-devices-stats.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-hwid-devices.command.d.ts +13 -127
- package/build/backend/commands/hwid/get-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts +7 -59
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts +7 -87
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.js +1 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +12 -107
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.js +4 -7
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +23 -739
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.js +4 -7
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +12 -120
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +2 -2
- package/build/backend/commands/infra-billing/delete-bill-record.command.d.ts +2 -6
- package/build/backend/commands/infra-billing/delete-bill-record.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-bill-record.command.js +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node.command.d.ts +2 -6
- package/build/backend/commands/infra-billing/delete-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node.command.js +1 -1
- package/build/backend/commands/infra-billing/delete-infra-provider.command.d.ts +2 -6
- package/build/backend/commands/infra-billing/delete-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-infra-provider.command.js +1 -1
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +12 -105
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-bill-records.command.js +2 -2
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +19 -725
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-infra-provider.command.d.ts +11 -115
- package/build/backend/commands/infra-billing/get-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-infra-provider.command.js +1 -1
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +10 -158
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +22 -734
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.js +3 -6
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +13 -123
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +4 -8
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +16 -233
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts +2 -6
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +2 -6
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -1
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +12 -126
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/create-internal-squad.command.js +3 -3
- package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts +2 -6
- package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/delete-internal-squad.command.js +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts +9 -71
- package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +4 -4
- package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts +12 -124
- package/build/backend/commands/internal-squads/get-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad.command.js +1 -1
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +11 -171
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +13 -129
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/update-internal-squad.command.js +2 -2
- package/build/backend/commands/keygen/get-node-secret-key.command.d.ts +2 -14
- package/build/backend/commands/keygen/get-node-secret-key.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/node/get-node-metadata.command.d.ts +5 -29
- package/build/backend/commands/metadata/node/get-node-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/node/get-node-metadata.command.js +2 -2
- package/build/backend/commands/metadata/node/upsert-node-metadata.command.d.ts +7 -39
- package/build/backend/commands/metadata/node/upsert-node-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/node/upsert-node-metadata.command.js +3 -3
- package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts +5 -29
- package/build/backend/commands/metadata/user/get-user-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/user/get-user-metadata.command.js +2 -2
- package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts +7 -39
- package/build/backend/commands/metadata/user/upsert-user-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts +5 -34
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
- package/build/backend/commands/node-plugins/actions/reorder.command.d.ts +8 -72
- package/build/backend/commands/node-plugins/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts +4 -32
- package/build/backend/commands/node-plugins/create-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts +2 -6
- package/build/backend/commands/node-plugins/delete-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/delete-node-plugin.command.js +1 -1
- package/build/backend/commands/node-plugins/executor.command.d.ts +23 -137
- package/build/backend/commands/node-plugins/executor.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/executor.command.js +3 -3
- package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts +5 -34
- package/build/backend/commands/node-plugins/get-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/get-node-plugin.command.js +1 -1
- package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts +4 -50
- package/build/backend/commands/node-plugins/get-node-plugins.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts +7 -123
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +2 -2
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +23 -725
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts +5 -38
- package/build/backend/commands/node-plugins/update-node-plugin.command.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/update-node-plugin.command.js +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +32 -532
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/disable.command.js +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +32 -532
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.js +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +35 -796
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reset-traffic.command.d.ts +2 -6
- package/build/backend/commands/nodes/actions/reset-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reset-traffic.command.js +1 -1
- package/build/backend/commands/nodes/actions/restart-all.command.d.ts +1 -5
- package/build/backend/commands/nodes/actions/restart-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/restart.command.d.ts +3 -11
- package/build/backend/commands/nodes/actions/restart.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/restart.command.js +1 -1
- package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts +3 -9
- package/build/backend/commands/nodes/bulk-actions/actions.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/actions.command.js +2 -2
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts +8 -46
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +9 -9
- package/build/backend/commands/nodes/bulk-actions/profile-modification.command.d.ts +5 -23
- package/build/backend/commands/nodes/bulk-actions/profile-modification.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/profile-modification.command.js +3 -7
- package/build/backend/commands/nodes/create.command.d.ts +42 -584
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +16 -36
- package/build/backend/commands/nodes/delete.command.d.ts +2 -6
- package/build/backend/commands/nodes/delete.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/delete.command.js +1 -1
- package/build/backend/commands/nodes/get-node.command.d.ts +32 -532
- package/build/backend/commands/nodes/get-node.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-node.command.js +1 -1
- package/build/backend/commands/nodes/get-nodes.command.d.ts +30 -526
- package/build/backend/commands/nodes/get-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/node.response.d.ts +30 -526
- package/build/backend/commands/nodes/node.response.d.ts.map +1 -1
- package/build/backend/commands/nodes/tags/get-nodes-tags.command.d.ts +3 -15
- package/build/backend/commands/nodes/tags/get-nodes-tags.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +41 -836
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +17 -29
- package/build/backend/commands/passkeys/delete-passkey.command.d.ts +1 -5
- package/build/backend/commands/passkeys/delete-passkey.command.d.ts.map +1 -1
- package/build/backend/commands/passkeys/get-passkeys.command.d.ts +5 -47
- package/build/backend/commands/passkeys/get-passkeys.command.d.ts.map +1 -1
- package/build/backend/commands/passkeys/get-passkeys.command.js +4 -10
- package/build/backend/commands/passkeys/get-registration-options.command.d.ts +1 -5
- package/build/backend/commands/passkeys/get-registration-options.command.d.ts.map +1 -1
- package/build/backend/commands/passkeys/update-passkey.command.d.ts +6 -54
- package/build/backend/commands/passkeys/update-passkey.command.d.ts.map +1 -1
- package/build/backend/commands/passkeys/update-passkey.command.js +6 -8
- package/build/backend/commands/passkeys/verify-registration.command.d.ts +3 -19
- package/build/backend/commands/passkeys/verify-registration.command.d.ts.map +1 -1
- package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts +25 -457
- package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts.map +1 -1
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts +49 -789
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/create-snippet.command.d.ts +5 -45
- package/build/backend/commands/snippets/create-snippet.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/create-snippet.command.js +3 -3
- package/build/backend/commands/snippets/delete-snippet.command.d.ts +1 -5
- package/build/backend/commands/snippets/delete-snippet.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/get-snippets.command.d.ts +3 -37
- package/build/backend/commands/snippets/get-snippets.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/update-snippet.command.d.ts +5 -45
- package/build/backend/commands/snippets/update-snippet.command.d.ts.map +1 -1
- package/build/backend/commands/snippets/update-snippet.command.js +3 -3
- package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.d.ts +2 -8
- package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.d.ts.map +1 -1
- package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +2 -2
- package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts +1 -5
- package/build/backend/commands/subscription/get-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts +8 -124
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts +5 -34
- package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts +8 -72
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts +4 -32
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.d.ts +2 -6
- package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/delete-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts +5 -34
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts +4 -50
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts +5 -38
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.d.ts +5 -57
- package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +1 -3
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts +12 -102
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +31 -492
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +59 -847
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +3 -6
- package/build/backend/commands/subscription-template/actions/reorder.command.d.ts +9 -94
- package/build/backend/commands/subscription-template/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/create-template.command.d.ts +6 -44
- package/build/backend/commands/subscription-template/create-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/create-template.command.js +3 -3
- package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts +2 -6
- package/build/backend/commands/subscription-template/delete-subscription-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/delete-subscription-template.command.js +1 -1
- package/build/backend/commands/subscription-template/get-template.command.d.ts +6 -42
- package/build/backend/commands/subscription-template/get-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +1 -1
- package/build/backend/commands/subscription-template/get-templates.command.d.ts +5 -63
- package/build/backend/commands/subscription-template/get-templates.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/update-template.command.d.ts +7 -49
- package/build/backend/commands/subscription-template/update-template.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +4 -4
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts +7 -31
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +102 -1301
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts +8 -124
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts +8 -124
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts +9 -125
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
- package/build/backend/commands/subscriptions/get-subscriptions.command.d.ts +11 -181
- package/build/backend/commands/subscriptions/get-subscriptions.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-subscriptions.command.js +5 -8
- package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts +5 -29
- package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts +8 -160
- package/build/backend/commands/system/get-bandwidth-stats.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-metadata.command.d.ts +6 -118
- package/build/backend/commands/system/get-metadata.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts +5 -129
- package/build/backend/commands/system/get-nodes-metrics.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-nodes-statistics.d.ts +4 -44
- package/build/backend/commands/system/get-nodes-statistics.d.ts.map +1 -1
- package/build/backend/commands/system/get-recap.command.d.ts +5 -89
- package/build/backend/commands/system/get-recap.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-recap.command.js +1 -3
- package/build/backend/commands/system/get-remnawave-health.command.d.ts +3 -99
- package/build/backend/commands/system/get-remnawave-health.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-stats.command.d.ts +14 -151
- package/build/backend/commands/system/get-stats.command.d.ts.map +1 -1
- package/build/backend/commands/system/get-stats.command.js +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +35 -545
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.js +1 -1
- package/build/backend/commands/system/tools/generate-x25519.command.d.ts +3 -33
- package/build/backend/commands/system/tools/generate-x25519.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/disable-user.command.d.ts +26 -193
- package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/disable-user.command.js +1 -1
- package/build/backend/commands/users/actions/enable-user.command.d.ts +26 -193
- package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/enable-user.command.js +1 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +26 -193
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.js +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +28 -204
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.js +3 -3
- package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts +3 -7
- package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts +2 -6
- package/build/backend/commands/users/bulk/bulk-delete-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users.command.js +1 -4
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts +3 -9
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.js +2 -9
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts +2 -6
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -4
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts +2 -6
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -4
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts +3 -9
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.js +2 -7
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +10 -60
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.js +11 -26
- package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.d.ts +2 -6
- package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +7 -27
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.js +10 -21
- package/build/backend/commands/users/create-user.command.d.ts +38 -241
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +25 -63
- package/build/backend/commands/users/delete-user.command.d.ts +2 -6
- package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/delete-user.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts +26 -193
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-id.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +25 -192
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +25 -192
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +10 -96
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +4 -4
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +26 -193
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.js +1 -1
- package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts +6 -62
- package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-subscription-request-history.command.js +2 -4
- package/build/backend/commands/users/get-users-stream.command.d.ts +33 -300
- package/build/backend/commands/users/get-users-stream.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-users-stream.command.js +10 -11
- package/build/backend/commands/users/get-users.command.d.ts +33 -316
- package/build/backend/commands/users/get-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/resolve-user.command.d.ts +6 -50
- package/build/backend/commands/users/resolve-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/resolve-user.command.js +3 -3
- package/build/backend/commands/users/tags/get-users-tags.command.d.ts +3 -15
- package/build/backend/commands/users/tags/get-users-tags.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.d.ts +38 -254
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +14 -39
- package/build/backend/commands/users/user.response.d.ts +24 -187
- package/build/backend/commands/users/user.response.d.ts.map +1 -1
- package/build/backend/models/api-tokens.schema.d.ts +6 -20
- package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
- package/build/backend/models/api-tokens.schema.js +4 -10
- package/build/backend/models/auth.schema.d.ts +1 -5
- package/build/backend/models/auth.schema.d.ts.map +1 -1
- package/build/backend/models/base-internal-squad.schema.d.ts +2 -8
- package/build/backend/models/base-internal-squad.schema.d.ts.map +1 -1
- package/build/backend/models/base-internal-squad.schema.js +1 -1
- package/build/backend/models/base-stat.schema.d.ts +1 -9
- package/build/backend/models/base-stat.schema.d.ts.map +1 -1
- package/build/backend/models/config-profile-inbounds.schema.d.ts +3 -21
- package/build/backend/models/config-profile-inbounds.schema.d.ts.map +1 -1
- package/build/backend/models/config-profile-inbounds.schema.js +2 -2
- package/build/backend/models/config-profile.schema.d.ts +10 -80
- package/build/backend/models/config-profile.schema.d.ts.map +1 -1
- package/build/backend/models/config-profile.schema.js +5 -9
- package/build/backend/models/extended-users.schema.d.ts +23 -112
- package/build/backend/models/extended-users.schema.d.ts.map +1 -1
- package/build/backend/models/external-squad.schema.d.ts +22 -166
- package/build/backend/models/external-squad.schema.d.ts.map +1 -1
- package/build/backend/models/external-squad.schema.js +7 -11
- package/build/backend/models/external-squads/external-squad-host-overrides.schema.d.ts +2 -8
- package/build/backend/models/external-squads/external-squad-host-overrides.schema.d.ts.map +1 -1
- package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts +2 -22
- package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.d.ts +17 -95
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +13 -13
- package/build/backend/models/hwid-user-device.schema.d.ts +3 -23
- package/build/backend/models/hwid-user-device.schema.d.ts.map +1 -1
- package/build/backend/models/hwid-user-device.schema.js +2 -6
- package/build/backend/models/infra-billing-available-node.schema.d.ts +3 -259
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
- package/build/backend/models/infra-billing-history-record.schema.d.ts +7 -38
- package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -1
- package/build/backend/models/infra-billing-history-record.schema.js +3 -5
- package/build/backend/models/infra-billing-node.schema.d.ts +13 -319
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
- package/build/backend/models/infra-billing-node.schema.js +6 -12
- package/build/backend/models/infra-provider.schema.d.ts +12 -86
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
- package/build/backend/models/infra-provider.schema.js +7 -15
- package/build/backend/models/internal-squad.schema.d.ts +9 -73
- package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
- package/build/backend/models/internal-squad.schema.js +4 -8
- package/build/backend/models/last-connected-node.schema.d.ts +2 -10
- package/build/backend/models/last-connected-node.schema.d.ts.map +1 -1
- package/build/backend/models/last-connected-node.schema.js +1 -3
- package/build/backend/models/node-plugin.schema.d.ts +2 -12
- package/build/backend/models/node-plugin.schema.d.ts.map +1 -1
- package/build/backend/models/node-plugin.schema.js +1 -1
- package/build/backend/models/node-system.schema.d.ts +14 -194
- package/build/backend/models/node-system.schema.d.ts.map +1 -1
- package/build/backend/models/node-system.schema.js +1 -1
- package/build/backend/models/nodes.schema.d.ts +29 -361
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +11 -17
- package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts +1 -7
- package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts.map +1 -1
- package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts +18 -188
- package/build/backend/models/remnawave-settings/oauth2-settings.schema.d.ts.map +1 -1
- package/build/backend/models/remnawave-settings/passkey-settings.schema.d.ts +3 -11
- package/build/backend/models/remnawave-settings/passkey-settings.schema.d.ts.map +1 -1
- package/build/backend/models/remnawave-settings/password-auth-settings.schema.d.ts +1 -5
- package/build/backend/models/remnawave-settings/password-auth-settings.schema.d.ts.map +1 -1
- package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts +24 -332
- package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts.map +1 -1
- package/build/backend/models/resolved-proxy-config.schema.d.ts +168 -1224
- package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
- package/build/backend/models/resolved-proxy-config.schema.js +18 -18
- package/build/backend/models/response-rules/response-rule-condition.schema.d.ts +2 -12
- package/build/backend/models/response-rules/response-rule-condition.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-condition.schema.js +1 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +14 -58
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-settings.schema.d.ts +1 -5
- package/build/backend/models/response-rules/response-rule-settings.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule.schema.d.ts +28 -246
- package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule.schema.js +2 -2
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +17 -200
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rules-config.schema.js +2 -2
- package/build/backend/models/snippets.schema.d.ts +1 -7
- package/build/backend/models/snippets.schema.d.ts.map +1 -1
- package/build/backend/models/subscripion-page-config.schema.d.ts +2 -12
- package/build/backend/models/subscripion-page-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscripion-page-config.schema.js +1 -1
- package/build/backend/models/subscription-info.schema.d.ts +6 -74
- package/build/backend/models/subscription-info.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-info.schema.js +3 -5
- package/build/backend/models/subscription-request-history.schema.d.ts +2 -14
- package/build/backend/models/subscription-request-history.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-request-history.schema.js +1 -4
- package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts +7 -21
- package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts +1 -9
- package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +30 -361
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.js +4 -13
- package/build/backend/models/subscription-template.schema.d.ts +3 -17
- package/build/backend/models/subscription-template.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-template.schema.js +2 -2
- package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts +1 -7
- package/build/backend/models/tanstack-query/tanstask-query-filter.schema.d.ts.map +1 -1
- package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts +8 -46
- package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.d.ts.map +1 -1
- package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts +1 -7
- package/build/backend/models/tanstack-query/tanstask-query-sorting.schema.d.ts.map +1 -1
- package/build/backend/models/torrent-blocker-report.schema.d.ts +13 -505
- package/build/backend/models/torrent-blocker-report.schema.d.ts.map +1 -1
- package/build/backend/models/torrent-blocker-report.schema.js +3 -8
- package/build/backend/models/user-traffic.schema.d.ts +4 -16
- package/build/backend/models/user-traffic.schema.d.ts.map +1 -1
- package/build/backend/models/user-traffic.schema.js +3 -9
- package/build/backend/models/users.schema.d.ts +17 -63
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.js +14 -33
- package/build/backend/models/webhook/webhook.schema.d.ts +441 -4845
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/backend/models/webhook/webhook.schema.js +2 -2
- package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts +31 -197
- package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts.map +1 -1
- package/build/backend/models/xray-json-advanced/remnawave-injector.schema.js +1 -1
- package/build/frontend/commands/api-tokens/delete.command.js +1 -1
- package/build/frontend/commands/auth/get-status.command.js +1 -1
- package/build/frontend/commands/auth/oauth2/authorize.command.js +2 -2
- package/build/frontend/commands/auth/oauth2/callback.command.js +1 -1
- package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-stats-node-user-usage.command.js +5 -5
- package/build/frontend/commands/bandwidth-stats/legacy/get-legacy-user-usage.command.js +5 -5
- package/build/frontend/commands/bandwidth-stats/nodes/get-stats-node-users-usage.command.js +3 -3
- package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.js +4 -4
- package/build/frontend/commands/bandwidth-stats/nodes/get-stats-nodes-users-usage.command.js +3 -3
- package/build/frontend/commands/bandwidth-stats/users/get-stats-user-usage.command.js +5 -5
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +1 -1
- package/build/frontend/commands/config-profiles/delete-config-profile.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-all-inbounds.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-computed-config-profile-by-uuid.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-config-profile-by-uuid.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +2 -2
- package/build/frontend/commands/config-profiles/update-config-profile.command.js +2 -2
- package/build/frontend/commands/connections/connections-by-node-result.command.js +2 -3
- package/build/frontend/commands/connections/connections-by-node.command.js +1 -1
- package/build/frontend/commands/connections/connections-by-user-result.command.js +3 -4
- package/build/frontend/commands/connections/connections-by-user.command.js +1 -1
- package/build/frontend/commands/connections/drop-connections.command.js +3 -3
- package/build/frontend/commands/external-squads/bulk-actions/add-users-to-external-squad.command.js +1 -1
- package/build/frontend/commands/external-squads/bulk-actions/delete-users-from-external-squad.command.js +1 -1
- package/build/frontend/commands/external-squads/delete-external-squad.command.js +1 -1
- package/build/frontend/commands/external-squads/get-external-squad-by-uuid.command.js +1 -1
- package/build/frontend/commands/external-squads/update-external-squad.command.js +8 -8
- package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/update-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/create.command.js +12 -17
- package/build/frontend/commands/hosts/delete.command.js +1 -1
- package/build/frontend/commands/hosts/get-host.command.js +1 -1
- package/build/frontend/commands/hosts/update.command.js +12 -17
- package/build/frontend/commands/hwid/create-user-hwid-device.command.js +1 -1
- package/build/frontend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
- package/build/frontend/commands/hwid/delete-user-hwid-device.command.js +1 -1
- package/build/frontend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
- package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +1 -1
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +4 -7
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +4 -7
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +2 -2
- package/build/frontend/commands/infra-billing/delete-bill-record.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-billing-node.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-infra-provider.command.js +1 -1
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +2 -2
- package/build/frontend/commands/infra-billing/get-infra-provider.command.js +1 -1
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +3 -6
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +4 -8
- package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +1 -1
- package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +1 -1
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +3 -3
- package/build/frontend/commands/internal-squads/delete-internal-squad.command.js +1 -1
- package/build/frontend/commands/internal-squads/get-internal-squad-accessible-nodes.command.js +4 -4
- package/build/frontend/commands/internal-squads/get-internal-squad.command.js +1 -1
- package/build/frontend/commands/internal-squads/update-internal-squad.command.js +2 -2
- package/build/frontend/commands/metadata/node/get-node-metadata.command.js +2 -2
- package/build/frontend/commands/metadata/node/upsert-node-metadata.command.js +3 -3
- package/build/frontend/commands/metadata/user/get-user-metadata.command.js +2 -2
- package/build/frontend/commands/metadata/user/upsert-user-metadata.command.js +3 -3
- package/build/frontend/commands/node-plugins/actions/clone-node-plugin.command.js +1 -1
- package/build/frontend/commands/node-plugins/delete-node-plugin.command.js +1 -1
- package/build/frontend/commands/node-plugins/executor.command.js +3 -3
- package/build/frontend/commands/node-plugins/get-node-plugin.command.js +1 -1
- package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.js +2 -2
- package/build/frontend/commands/node-plugins/update-node-plugin.command.js +1 -1
- package/build/frontend/commands/nodes/actions/disable.command.js +1 -1
- package/build/frontend/commands/nodes/actions/enable.command.js +1 -1
- package/build/frontend/commands/nodes/actions/reset-traffic.command.js +1 -1
- package/build/frontend/commands/nodes/actions/restart.command.js +1 -1
- package/build/frontend/commands/nodes/bulk-actions/actions.command.js +2 -2
- package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +9 -9
- package/build/frontend/commands/nodes/bulk-actions/profile-modification.command.js +3 -7
- package/build/frontend/commands/nodes/create.command.js +16 -36
- package/build/frontend/commands/nodes/delete.command.js +1 -1
- package/build/frontend/commands/nodes/get-node.command.js +1 -1
- package/build/frontend/commands/nodes/update.command.js +17 -29
- package/build/frontend/commands/passkeys/get-passkeys.command.js +4 -10
- package/build/frontend/commands/passkeys/update-passkey.command.js +6 -8
- package/build/frontend/commands/snippets/create-snippet.command.js +3 -3
- package/build/frontend/commands/snippets/update-snippet.command.js +3 -3
- package/build/frontend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +2 -2
- package/build/frontend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/delete-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-request-history/get-subscription-request-history-stats.command.js +1 -3
- package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +3 -6
- package/build/frontend/commands/subscription-template/create-template.command.js +3 -3
- package/build/frontend/commands/subscription-template/delete-subscription-template.command.js +1 -1
- package/build/frontend/commands/subscription-template/get-template.command.js +1 -1
- package/build/frontend/commands/subscription-template/update-template.command.js +4 -4
- package/build/frontend/commands/subscriptions/get-by/get-connection-keys-by-uuid.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-subscriptions.command.js +5 -8
- package/build/frontend/commands/subscriptions/subpage/get-subpage-config-by-shortuuid.command.js +1 -1
- package/build/frontend/commands/system/get-recap.command.js +1 -3
- package/build/frontend/commands/system/get-stats.command.js +1 -1
- package/build/frontend/commands/system/testers/test-srr-matcher.command.js +1 -1
- package/build/frontend/commands/users/actions/disable-user.command.js +1 -1
- package/build/frontend/commands/users/actions/enable-user.command.js +1 -1
- package/build/frontend/commands/users/actions/reset-user-traffic.command.js +1 -1
- package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +3 -3
- package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +1 -4
- package/build/frontend/commands/users/bulk/bulk-extend-expiration-date.command.js +2 -9
- package/build/frontend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -4
- package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -4
- package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +2 -7
- package/build/frontend/commands/users/bulk/bulk-update-users.command.js +11 -26
- package/build/frontend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
- package/build/frontend/commands/users/bulk-all/bulk-all-update-users.command.js +10 -21
- package/build/frontend/commands/users/create-user.command.js +25 -63
- package/build/frontend/commands/users/delete-user.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-id.command.js +1 -1
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +4 -4
- package/build/frontend/commands/users/get-user-by-uuid.command.js +1 -1
- package/build/frontend/commands/users/get-user-subscription-request-history.command.js +2 -4
- package/build/frontend/commands/users/get-users-stream.command.js +10 -11
- package/build/frontend/commands/users/resolve-user.command.js +3 -3
- package/build/frontend/commands/users/update-user.command.js +14 -39
- package/build/frontend/models/api-tokens.schema.js +4 -10
- package/build/frontend/models/base-internal-squad.schema.js +1 -1
- package/build/frontend/models/config-profile-inbounds.schema.js +2 -2
- package/build/frontend/models/config-profile.schema.js +5 -9
- package/build/frontend/models/external-squad.schema.js +7 -11
- package/build/frontend/models/hosts.schema.js +13 -13
- package/build/frontend/models/hwid-user-device.schema.js +2 -6
- package/build/frontend/models/infra-billing-history-record.schema.js +3 -5
- package/build/frontend/models/infra-billing-node.schema.js +6 -12
- package/build/frontend/models/infra-provider.schema.js +7 -15
- package/build/frontend/models/internal-squad.schema.js +4 -8
- package/build/frontend/models/last-connected-node.schema.js +1 -3
- package/build/frontend/models/node-plugin.schema.js +1 -1
- package/build/frontend/models/node-system.schema.js +1 -1
- package/build/frontend/models/nodes.schema.js +11 -17
- package/build/frontend/models/resolved-proxy-config.schema.js +18 -18
- package/build/frontend/models/response-rules/response-rule-condition.schema.js +1 -1
- package/build/frontend/models/response-rules/response-rule.schema.js +2 -2
- package/build/frontend/models/response-rules/response-rules-config.schema.js +2 -2
- package/build/frontend/models/subscripion-page-config.schema.js +1 -1
- package/build/frontend/models/subscription-info.schema.js +3 -5
- package/build/frontend/models/subscription-request-history.schema.js +1 -4
- package/build/frontend/models/subscription-settings.schema.js +4 -13
- package/build/frontend/models/subscription-template.schema.js +2 -2
- package/build/frontend/models/torrent-blocker-report.schema.js +3 -8
- package/build/frontend/models/user-traffic.schema.js +3 -9
- package/build/frontend/models/users.schema.js +14 -33
- package/build/frontend/models/webhook/webhook.schema.js +2 -2
- package/build/frontend/models/xray-json-advanced/remnawave-injector.schema.js +1 -1
- package/package.json +2 -2
|
@@ -2,234 +2,79 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const VlessProtocolOptionsSchema: z.ZodObject<{
|
|
3
3
|
encryption: z.ZodString;
|
|
4
4
|
id: z.ZodString;
|
|
5
|
-
flow: z.ZodEnum<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
id: string;
|
|
12
|
-
encryption: string;
|
|
13
|
-
flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
|
|
14
|
-
}>;
|
|
5
|
+
flow: z.ZodEnum<{
|
|
6
|
+
"": "";
|
|
7
|
+
"xtls-rprx-vision": "xtls-rprx-vision";
|
|
8
|
+
"xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
|
|
9
|
+
}>;
|
|
10
|
+
}, z.core.$strip>;
|
|
15
11
|
export declare const TrojanProtocolOptionsSchema: z.ZodObject<{
|
|
16
12
|
password: z.ZodString;
|
|
17
|
-
},
|
|
18
|
-
password: string;
|
|
19
|
-
}, {
|
|
20
|
-
password: string;
|
|
21
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
22
14
|
export declare const ShadowsocksProtocolOptionsSchema: z.ZodObject<{
|
|
23
15
|
method: z.ZodString;
|
|
24
16
|
password: z.ZodString;
|
|
25
17
|
uot: z.ZodBoolean;
|
|
26
|
-
uotVersion: z.
|
|
27
|
-
},
|
|
28
|
-
method: string;
|
|
29
|
-
password: string;
|
|
30
|
-
uot: boolean;
|
|
31
|
-
uotVersion: number;
|
|
32
|
-
}, {
|
|
33
|
-
method: string;
|
|
34
|
-
password: string;
|
|
35
|
-
uot: boolean;
|
|
36
|
-
uotVersion: number;
|
|
37
|
-
}>;
|
|
18
|
+
uotVersion: z.ZodInt;
|
|
19
|
+
}, z.core.$strip>;
|
|
38
20
|
export declare const TcpTransportOptionsSchema: z.ZodObject<{
|
|
39
|
-
header: z.ZodNullable<z.ZodDiscriminatedUnion<
|
|
21
|
+
header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
40
22
|
type: z.ZodLiteral<"none">;
|
|
41
|
-
},
|
|
42
|
-
type: "none";
|
|
43
|
-
}, {
|
|
44
|
-
type: "none";
|
|
45
|
-
}>, z.ZodObject<{
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
24
|
type: z.ZodLiteral<"http">;
|
|
47
25
|
request: z.ZodOptional<z.ZodObject<{
|
|
48
26
|
version: z.ZodOptional<z.ZodString>;
|
|
49
27
|
method: z.ZodOptional<z.ZodString>;
|
|
50
|
-
path: z.ZodOptional<z.ZodArray<z.ZodString
|
|
28
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
29
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
52
|
-
},
|
|
53
|
-
path?: string[] | undefined;
|
|
54
|
-
method?: string | undefined;
|
|
55
|
-
headers?: Record<string, unknown> | undefined;
|
|
56
|
-
version?: string | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
path?: string[] | undefined;
|
|
59
|
-
method?: string | undefined;
|
|
60
|
-
headers?: Record<string, unknown> | undefined;
|
|
61
|
-
version?: string | undefined;
|
|
62
|
-
}>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
63
31
|
response: z.ZodOptional<z.ZodObject<{
|
|
64
32
|
version: z.ZodOptional<z.ZodString>;
|
|
65
33
|
status: z.ZodOptional<z.ZodString>;
|
|
66
34
|
reason: z.ZodOptional<z.ZodString>;
|
|
67
35
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
version?: string | undefined;
|
|
72
|
-
reason?: string | undefined;
|
|
73
|
-
}, {
|
|
74
|
-
status?: string | undefined;
|
|
75
|
-
headers?: Record<string, unknown> | undefined;
|
|
76
|
-
version?: string | undefined;
|
|
77
|
-
reason?: string | undefined;
|
|
78
|
-
}>>;
|
|
79
|
-
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
type: "http";
|
|
81
|
-
response?: {
|
|
82
|
-
status?: string | undefined;
|
|
83
|
-
headers?: Record<string, unknown> | undefined;
|
|
84
|
-
version?: string | undefined;
|
|
85
|
-
reason?: string | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
request?: {
|
|
88
|
-
path?: string[] | undefined;
|
|
89
|
-
method?: string | undefined;
|
|
90
|
-
headers?: Record<string, unknown> | undefined;
|
|
91
|
-
version?: string | undefined;
|
|
92
|
-
} | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
type: "http";
|
|
95
|
-
response?: {
|
|
96
|
-
status?: string | undefined;
|
|
97
|
-
headers?: Record<string, unknown> | undefined;
|
|
98
|
-
version?: string | undefined;
|
|
99
|
-
reason?: string | undefined;
|
|
100
|
-
} | undefined;
|
|
101
|
-
request?: {
|
|
102
|
-
path?: string[] | undefined;
|
|
103
|
-
method?: string | undefined;
|
|
104
|
-
headers?: Record<string, unknown> | undefined;
|
|
105
|
-
version?: string | undefined;
|
|
106
|
-
} | undefined;
|
|
107
|
-
}>]>>;
|
|
108
|
-
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
header: {
|
|
110
|
-
type: "none";
|
|
111
|
-
} | {
|
|
112
|
-
type: "http";
|
|
113
|
-
response?: {
|
|
114
|
-
status?: string | undefined;
|
|
115
|
-
headers?: Record<string, unknown> | undefined;
|
|
116
|
-
version?: string | undefined;
|
|
117
|
-
reason?: string | undefined;
|
|
118
|
-
} | undefined;
|
|
119
|
-
request?: {
|
|
120
|
-
path?: string[] | undefined;
|
|
121
|
-
method?: string | undefined;
|
|
122
|
-
headers?: Record<string, unknown> | undefined;
|
|
123
|
-
version?: string | undefined;
|
|
124
|
-
} | undefined;
|
|
125
|
-
} | null;
|
|
126
|
-
}, {
|
|
127
|
-
header: {
|
|
128
|
-
type: "none";
|
|
129
|
-
} | {
|
|
130
|
-
type: "http";
|
|
131
|
-
response?: {
|
|
132
|
-
status?: string | undefined;
|
|
133
|
-
headers?: Record<string, unknown> | undefined;
|
|
134
|
-
version?: string | undefined;
|
|
135
|
-
reason?: string | undefined;
|
|
136
|
-
} | undefined;
|
|
137
|
-
request?: {
|
|
138
|
-
path?: string[] | undefined;
|
|
139
|
-
method?: string | undefined;
|
|
140
|
-
headers?: Record<string, unknown> | undefined;
|
|
141
|
-
version?: string | undefined;
|
|
142
|
-
} | undefined;
|
|
143
|
-
} | null;
|
|
144
|
-
}>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>], "type">>;
|
|
38
|
+
}, z.core.$strip>;
|
|
145
39
|
export declare const XhttpTransportOptionsSchema: z.ZodObject<{
|
|
146
40
|
path: z.ZodNullable<z.ZodString>;
|
|
147
41
|
host: z.ZodNullable<z.ZodString>;
|
|
148
|
-
mode: z.ZodEnum<
|
|
42
|
+
mode: z.ZodEnum<{
|
|
43
|
+
auto: "auto";
|
|
44
|
+
"packet-up": "packet-up";
|
|
45
|
+
"stream-up": "stream-up";
|
|
46
|
+
"stream-one": "stream-one";
|
|
47
|
+
}>;
|
|
149
48
|
extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
150
|
-
},
|
|
151
|
-
path: string | null;
|
|
152
|
-
host: string | null;
|
|
153
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
154
|
-
extra: Record<string, unknown> | null;
|
|
155
|
-
}, {
|
|
156
|
-
path: string | null;
|
|
157
|
-
host: string | null;
|
|
158
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
159
|
-
extra: Record<string, unknown> | null;
|
|
160
|
-
}>;
|
|
49
|
+
}, z.core.$strip>;
|
|
161
50
|
export declare const WsTransportOptionsSchema: z.ZodObject<{
|
|
162
51
|
path: z.ZodNullable<z.ZodString>;
|
|
163
52
|
host: z.ZodNullable<z.ZodString>;
|
|
164
53
|
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
165
54
|
heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
|
|
166
|
-
},
|
|
167
|
-
path: string | null;
|
|
168
|
-
host: string | null;
|
|
169
|
-
headers: Record<string, string> | null;
|
|
170
|
-
heartbeatPeriod: number | null;
|
|
171
|
-
}, {
|
|
172
|
-
path: string | null;
|
|
173
|
-
host: string | null;
|
|
174
|
-
headers: Record<string, string> | null;
|
|
175
|
-
heartbeatPeriod: number | null;
|
|
176
|
-
}>;
|
|
55
|
+
}, z.core.$strip>;
|
|
177
56
|
export declare const HttpUpgradeTransportOptionsSchema: z.ZodObject<{
|
|
178
57
|
path: z.ZodNullable<z.ZodString>;
|
|
179
58
|
host: z.ZodNullable<z.ZodString>;
|
|
180
59
|
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
181
|
-
},
|
|
182
|
-
path: string | null;
|
|
183
|
-
host: string | null;
|
|
184
|
-
headers: Record<string, string> | null;
|
|
185
|
-
}, {
|
|
186
|
-
path: string | null;
|
|
187
|
-
host: string | null;
|
|
188
|
-
headers: Record<string, string> | null;
|
|
189
|
-
}>;
|
|
60
|
+
}, z.core.$strip>;
|
|
190
61
|
export declare const GrpcTransportOptionsSchema: z.ZodObject<{
|
|
191
62
|
authority: z.ZodNullable<z.ZodString>;
|
|
192
63
|
serviceName: z.ZodNullable<z.ZodString>;
|
|
193
64
|
multiMode: z.ZodBoolean;
|
|
194
|
-
},
|
|
195
|
-
authority: string | null;
|
|
196
|
-
serviceName: string | null;
|
|
197
|
-
multiMode: boolean;
|
|
198
|
-
}, {
|
|
199
|
-
authority: string | null;
|
|
200
|
-
serviceName: string | null;
|
|
201
|
-
multiMode: boolean;
|
|
202
|
-
}>;
|
|
65
|
+
}, z.core.$strip>;
|
|
203
66
|
export declare const KcpTransportOptionsSchema: z.ZodObject<{
|
|
204
|
-
clientMtu: z.
|
|
205
|
-
clientTti: z.
|
|
67
|
+
clientMtu: z.ZodInt;
|
|
68
|
+
clientTti: z.ZodInt;
|
|
206
69
|
congestion: z.ZodBoolean;
|
|
207
|
-
},
|
|
208
|
-
clientMtu: number;
|
|
209
|
-
clientTti: number;
|
|
210
|
-
congestion: boolean;
|
|
211
|
-
}, {
|
|
212
|
-
clientMtu: number;
|
|
213
|
-
clientTti: number;
|
|
214
|
-
congestion: boolean;
|
|
215
|
-
}>;
|
|
70
|
+
}, z.core.$strip>;
|
|
216
71
|
export declare const HysteriaProtocolOptionsSchema: z.ZodObject<{
|
|
217
|
-
version: z.
|
|
218
|
-
},
|
|
219
|
-
version: number;
|
|
220
|
-
}, {
|
|
221
|
-
version: number;
|
|
222
|
-
}>;
|
|
72
|
+
version: z.ZodInt;
|
|
73
|
+
}, z.core.$strip>;
|
|
223
74
|
export declare const HysteriaTransportOptionsSchema: z.ZodObject<{
|
|
224
|
-
version: z.
|
|
75
|
+
version: z.ZodInt;
|
|
225
76
|
auth: z.ZodString;
|
|
226
|
-
},
|
|
227
|
-
auth: string;
|
|
228
|
-
version: number;
|
|
229
|
-
}, {
|
|
230
|
-
auth: string;
|
|
231
|
-
version: number;
|
|
232
|
-
}>;
|
|
77
|
+
}, z.core.$strip>;
|
|
233
78
|
export declare const TlsSecurityOptionsSchema: z.ZodObject<{
|
|
234
79
|
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
235
80
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
@@ -239,25 +84,7 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
|
|
|
239
84
|
serverName: z.ZodNullable<z.ZodString>;
|
|
240
85
|
echConfigList: z.ZodNullable<z.ZodString>;
|
|
241
86
|
echForceQuery: z.ZodNullable<z.ZodString>;
|
|
242
|
-
},
|
|
243
|
-
alpn: string | null;
|
|
244
|
-
fingerprint: string | null;
|
|
245
|
-
pinnedPeerCertSha256: string | null;
|
|
246
|
-
verifyPeerCertByName: string | null;
|
|
247
|
-
enableSessionResumption: boolean;
|
|
248
|
-
serverName: string | null;
|
|
249
|
-
echConfigList: string | null;
|
|
250
|
-
echForceQuery: string | null;
|
|
251
|
-
}, {
|
|
252
|
-
alpn: string | null;
|
|
253
|
-
fingerprint: string | null;
|
|
254
|
-
pinnedPeerCertSha256: string | null;
|
|
255
|
-
verifyPeerCertByName: string | null;
|
|
256
|
-
enableSessionResumption: boolean;
|
|
257
|
-
serverName: string | null;
|
|
258
|
-
echConfigList: string | null;
|
|
259
|
-
echForceQuery: string | null;
|
|
260
|
-
}>;
|
|
87
|
+
}, z.core.$strip>;
|
|
261
88
|
export declare const RealitySecurityOptionsSchema: z.ZodObject<{
|
|
262
89
|
fingerprint: z.ZodString;
|
|
263
90
|
publicKey: z.ZodString;
|
|
@@ -265,455 +92,108 @@ export declare const RealitySecurityOptionsSchema: z.ZodObject<{
|
|
|
265
92
|
serverName: z.ZodString;
|
|
266
93
|
spiderX: z.ZodNullable<z.ZodString>;
|
|
267
94
|
mldsa65Verify: z.ZodNullable<z.ZodString>;
|
|
268
|
-
},
|
|
269
|
-
|
|
270
|
-
serverName: string;
|
|
271
|
-
publicKey: string;
|
|
272
|
-
shortId: string | null;
|
|
273
|
-
spiderX: string | null;
|
|
274
|
-
mldsa65Verify: string | null;
|
|
275
|
-
}, {
|
|
276
|
-
fingerprint: string;
|
|
277
|
-
serverName: string;
|
|
278
|
-
publicKey: string;
|
|
279
|
-
shortId: string | null;
|
|
280
|
-
spiderX: string | null;
|
|
281
|
-
mldsa65Verify: string | null;
|
|
282
|
-
}>;
|
|
283
|
-
export declare const ProtocolVariantSchema: z.ZodDiscriminatedUnion<"protocol", [z.ZodObject<{
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export declare const ProtocolVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
284
97
|
protocol: z.ZodLiteral<"vless">;
|
|
285
98
|
protocolOptions: z.ZodObject<{
|
|
286
99
|
encryption: z.ZodString;
|
|
287
100
|
id: z.ZodString;
|
|
288
|
-
flow: z.ZodEnum<
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
},
|
|
294
|
-
|
|
295
|
-
encryption: string;
|
|
296
|
-
flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
|
|
297
|
-
}>;
|
|
298
|
-
}, "strip", z.ZodTypeAny, {
|
|
299
|
-
protocol: "vless";
|
|
300
|
-
protocolOptions: {
|
|
301
|
-
id: string;
|
|
302
|
-
encryption: string;
|
|
303
|
-
flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
|
|
304
|
-
};
|
|
305
|
-
}, {
|
|
306
|
-
protocol: "vless";
|
|
307
|
-
protocolOptions: {
|
|
308
|
-
id: string;
|
|
309
|
-
encryption: string;
|
|
310
|
-
flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
|
|
311
|
-
};
|
|
312
|
-
}>, z.ZodObject<{
|
|
101
|
+
flow: z.ZodEnum<{
|
|
102
|
+
"": "";
|
|
103
|
+
"xtls-rprx-vision": "xtls-rprx-vision";
|
|
104
|
+
"xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
|
|
105
|
+
}>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
313
108
|
protocol: z.ZodLiteral<"trojan">;
|
|
314
109
|
protocolOptions: z.ZodObject<{
|
|
315
110
|
password: z.ZodString;
|
|
316
|
-
},
|
|
317
|
-
|
|
318
|
-
}, {
|
|
319
|
-
password: string;
|
|
320
|
-
}>;
|
|
321
|
-
}, "strip", z.ZodTypeAny, {
|
|
322
|
-
protocol: "trojan";
|
|
323
|
-
protocolOptions: {
|
|
324
|
-
password: string;
|
|
325
|
-
};
|
|
326
|
-
}, {
|
|
327
|
-
protocol: "trojan";
|
|
328
|
-
protocolOptions: {
|
|
329
|
-
password: string;
|
|
330
|
-
};
|
|
331
|
-
}>, z.ZodObject<{
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
113
|
protocol: z.ZodLiteral<"shadowsocks">;
|
|
333
114
|
protocolOptions: z.ZodObject<{
|
|
334
115
|
method: z.ZodString;
|
|
335
116
|
password: z.ZodString;
|
|
336
117
|
uot: z.ZodBoolean;
|
|
337
|
-
uotVersion: z.
|
|
338
|
-
},
|
|
339
|
-
|
|
340
|
-
password: string;
|
|
341
|
-
uot: boolean;
|
|
342
|
-
uotVersion: number;
|
|
343
|
-
}, {
|
|
344
|
-
method: string;
|
|
345
|
-
password: string;
|
|
346
|
-
uot: boolean;
|
|
347
|
-
uotVersion: number;
|
|
348
|
-
}>;
|
|
349
|
-
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
protocol: "shadowsocks";
|
|
351
|
-
protocolOptions: {
|
|
352
|
-
method: string;
|
|
353
|
-
password: string;
|
|
354
|
-
uot: boolean;
|
|
355
|
-
uotVersion: number;
|
|
356
|
-
};
|
|
357
|
-
}, {
|
|
358
|
-
protocol: "shadowsocks";
|
|
359
|
-
protocolOptions: {
|
|
360
|
-
method: string;
|
|
361
|
-
password: string;
|
|
362
|
-
uot: boolean;
|
|
363
|
-
uotVersion: number;
|
|
364
|
-
};
|
|
365
|
-
}>, z.ZodObject<{
|
|
118
|
+
uotVersion: z.ZodInt;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
366
121
|
protocol: z.ZodLiteral<"hysteria">;
|
|
367
122
|
protocolOptions: z.ZodObject<{
|
|
368
|
-
version: z.
|
|
369
|
-
},
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
version: number;
|
|
373
|
-
}>;
|
|
374
|
-
}, "strip", z.ZodTypeAny, {
|
|
375
|
-
protocol: "hysteria";
|
|
376
|
-
protocolOptions: {
|
|
377
|
-
version: number;
|
|
378
|
-
};
|
|
379
|
-
}, {
|
|
380
|
-
protocol: "hysteria";
|
|
381
|
-
protocolOptions: {
|
|
382
|
-
version: number;
|
|
383
|
-
};
|
|
384
|
-
}>]>;
|
|
385
|
-
export declare const TransportVariantSchema: z.ZodDiscriminatedUnion<"transport", [z.ZodObject<{
|
|
123
|
+
version: z.ZodInt;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
}, z.core.$strip>], "protocol">;
|
|
126
|
+
export declare const TransportVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
386
127
|
transport: z.ZodLiteral<"tcp">;
|
|
387
128
|
transportOptions: z.ZodObject<{
|
|
388
|
-
header: z.ZodNullable<z.ZodDiscriminatedUnion<
|
|
129
|
+
header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
389
130
|
type: z.ZodLiteral<"none">;
|
|
390
|
-
},
|
|
391
|
-
type: "none";
|
|
392
|
-
}, {
|
|
393
|
-
type: "none";
|
|
394
|
-
}>, z.ZodObject<{
|
|
131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
395
132
|
type: z.ZodLiteral<"http">;
|
|
396
133
|
request: z.ZodOptional<z.ZodObject<{
|
|
397
134
|
version: z.ZodOptional<z.ZodString>;
|
|
398
135
|
method: z.ZodOptional<z.ZodString>;
|
|
399
|
-
path: z.ZodOptional<z.ZodArray<z.ZodString
|
|
136
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
400
137
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
401
|
-
},
|
|
402
|
-
path?: string[] | undefined;
|
|
403
|
-
method?: string | undefined;
|
|
404
|
-
headers?: Record<string, unknown> | undefined;
|
|
405
|
-
version?: string | undefined;
|
|
406
|
-
}, {
|
|
407
|
-
path?: string[] | undefined;
|
|
408
|
-
method?: string | undefined;
|
|
409
|
-
headers?: Record<string, unknown> | undefined;
|
|
410
|
-
version?: string | undefined;
|
|
411
|
-
}>>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
412
139
|
response: z.ZodOptional<z.ZodObject<{
|
|
413
140
|
version: z.ZodOptional<z.ZodString>;
|
|
414
141
|
status: z.ZodOptional<z.ZodString>;
|
|
415
142
|
reason: z.ZodOptional<z.ZodString>;
|
|
416
143
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
417
|
-
},
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
reason?: string | undefined;
|
|
422
|
-
}, {
|
|
423
|
-
status?: string | undefined;
|
|
424
|
-
headers?: Record<string, unknown> | undefined;
|
|
425
|
-
version?: string | undefined;
|
|
426
|
-
reason?: string | undefined;
|
|
427
|
-
}>>;
|
|
428
|
-
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
type: "http";
|
|
430
|
-
response?: {
|
|
431
|
-
status?: string | undefined;
|
|
432
|
-
headers?: Record<string, unknown> | undefined;
|
|
433
|
-
version?: string | undefined;
|
|
434
|
-
reason?: string | undefined;
|
|
435
|
-
} | undefined;
|
|
436
|
-
request?: {
|
|
437
|
-
path?: string[] | undefined;
|
|
438
|
-
method?: string | undefined;
|
|
439
|
-
headers?: Record<string, unknown> | undefined;
|
|
440
|
-
version?: string | undefined;
|
|
441
|
-
} | undefined;
|
|
442
|
-
}, {
|
|
443
|
-
type: "http";
|
|
444
|
-
response?: {
|
|
445
|
-
status?: string | undefined;
|
|
446
|
-
headers?: Record<string, unknown> | undefined;
|
|
447
|
-
version?: string | undefined;
|
|
448
|
-
reason?: string | undefined;
|
|
449
|
-
} | undefined;
|
|
450
|
-
request?: {
|
|
451
|
-
path?: string[] | undefined;
|
|
452
|
-
method?: string | undefined;
|
|
453
|
-
headers?: Record<string, unknown> | undefined;
|
|
454
|
-
version?: string | undefined;
|
|
455
|
-
} | undefined;
|
|
456
|
-
}>]>>;
|
|
457
|
-
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
header: {
|
|
459
|
-
type: "none";
|
|
460
|
-
} | {
|
|
461
|
-
type: "http";
|
|
462
|
-
response?: {
|
|
463
|
-
status?: string | undefined;
|
|
464
|
-
headers?: Record<string, unknown> | undefined;
|
|
465
|
-
version?: string | undefined;
|
|
466
|
-
reason?: string | undefined;
|
|
467
|
-
} | undefined;
|
|
468
|
-
request?: {
|
|
469
|
-
path?: string[] | undefined;
|
|
470
|
-
method?: string | undefined;
|
|
471
|
-
headers?: Record<string, unknown> | undefined;
|
|
472
|
-
version?: string | undefined;
|
|
473
|
-
} | undefined;
|
|
474
|
-
} | null;
|
|
475
|
-
}, {
|
|
476
|
-
header: {
|
|
477
|
-
type: "none";
|
|
478
|
-
} | {
|
|
479
|
-
type: "http";
|
|
480
|
-
response?: {
|
|
481
|
-
status?: string | undefined;
|
|
482
|
-
headers?: Record<string, unknown> | undefined;
|
|
483
|
-
version?: string | undefined;
|
|
484
|
-
reason?: string | undefined;
|
|
485
|
-
} | undefined;
|
|
486
|
-
request?: {
|
|
487
|
-
path?: string[] | undefined;
|
|
488
|
-
method?: string | undefined;
|
|
489
|
-
headers?: Record<string, unknown> | undefined;
|
|
490
|
-
version?: string | undefined;
|
|
491
|
-
} | undefined;
|
|
492
|
-
} | null;
|
|
493
|
-
}>;
|
|
494
|
-
}, "strip", z.ZodTypeAny, {
|
|
495
|
-
transport: "tcp";
|
|
496
|
-
transportOptions: {
|
|
497
|
-
header: {
|
|
498
|
-
type: "none";
|
|
499
|
-
} | {
|
|
500
|
-
type: "http";
|
|
501
|
-
response?: {
|
|
502
|
-
status?: string | undefined;
|
|
503
|
-
headers?: Record<string, unknown> | undefined;
|
|
504
|
-
version?: string | undefined;
|
|
505
|
-
reason?: string | undefined;
|
|
506
|
-
} | undefined;
|
|
507
|
-
request?: {
|
|
508
|
-
path?: string[] | undefined;
|
|
509
|
-
method?: string | undefined;
|
|
510
|
-
headers?: Record<string, unknown> | undefined;
|
|
511
|
-
version?: string | undefined;
|
|
512
|
-
} | undefined;
|
|
513
|
-
} | null;
|
|
514
|
-
};
|
|
515
|
-
}, {
|
|
516
|
-
transport: "tcp";
|
|
517
|
-
transportOptions: {
|
|
518
|
-
header: {
|
|
519
|
-
type: "none";
|
|
520
|
-
} | {
|
|
521
|
-
type: "http";
|
|
522
|
-
response?: {
|
|
523
|
-
status?: string | undefined;
|
|
524
|
-
headers?: Record<string, unknown> | undefined;
|
|
525
|
-
version?: string | undefined;
|
|
526
|
-
reason?: string | undefined;
|
|
527
|
-
} | undefined;
|
|
528
|
-
request?: {
|
|
529
|
-
path?: string[] | undefined;
|
|
530
|
-
method?: string | undefined;
|
|
531
|
-
headers?: Record<string, unknown> | undefined;
|
|
532
|
-
version?: string | undefined;
|
|
533
|
-
} | undefined;
|
|
534
|
-
} | null;
|
|
535
|
-
};
|
|
536
|
-
}>, z.ZodObject<{
|
|
144
|
+
}, z.core.$strip>>;
|
|
145
|
+
}, z.core.$strip>], "type">>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
537
148
|
transport: z.ZodLiteral<"xhttp">;
|
|
538
149
|
transportOptions: z.ZodObject<{
|
|
539
150
|
path: z.ZodNullable<z.ZodString>;
|
|
540
151
|
host: z.ZodNullable<z.ZodString>;
|
|
541
|
-
mode: z.ZodEnum<
|
|
152
|
+
mode: z.ZodEnum<{
|
|
153
|
+
auto: "auto";
|
|
154
|
+
"packet-up": "packet-up";
|
|
155
|
+
"stream-up": "stream-up";
|
|
156
|
+
"stream-one": "stream-one";
|
|
157
|
+
}>;
|
|
542
158
|
extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
543
|
-
},
|
|
544
|
-
|
|
545
|
-
host: string | null;
|
|
546
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
547
|
-
extra: Record<string, unknown> | null;
|
|
548
|
-
}, {
|
|
549
|
-
path: string | null;
|
|
550
|
-
host: string | null;
|
|
551
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
552
|
-
extra: Record<string, unknown> | null;
|
|
553
|
-
}>;
|
|
554
|
-
}, "strip", z.ZodTypeAny, {
|
|
555
|
-
transport: "xhttp";
|
|
556
|
-
transportOptions: {
|
|
557
|
-
path: string | null;
|
|
558
|
-
host: string | null;
|
|
559
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
560
|
-
extra: Record<string, unknown> | null;
|
|
561
|
-
};
|
|
562
|
-
}, {
|
|
563
|
-
transport: "xhttp";
|
|
564
|
-
transportOptions: {
|
|
565
|
-
path: string | null;
|
|
566
|
-
host: string | null;
|
|
567
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
568
|
-
extra: Record<string, unknown> | null;
|
|
569
|
-
};
|
|
570
|
-
}>, z.ZodObject<{
|
|
159
|
+
}, z.core.$strip>;
|
|
160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
571
161
|
transport: z.ZodLiteral<"ws">;
|
|
572
162
|
transportOptions: z.ZodObject<{
|
|
573
163
|
path: z.ZodNullable<z.ZodString>;
|
|
574
164
|
host: z.ZodNullable<z.ZodString>;
|
|
575
165
|
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
576
166
|
heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
|
|
577
|
-
},
|
|
578
|
-
|
|
579
|
-
host: string | null;
|
|
580
|
-
headers: Record<string, string> | null;
|
|
581
|
-
heartbeatPeriod: number | null;
|
|
582
|
-
}, {
|
|
583
|
-
path: string | null;
|
|
584
|
-
host: string | null;
|
|
585
|
-
headers: Record<string, string> | null;
|
|
586
|
-
heartbeatPeriod: number | null;
|
|
587
|
-
}>;
|
|
588
|
-
}, "strip", z.ZodTypeAny, {
|
|
589
|
-
transport: "ws";
|
|
590
|
-
transportOptions: {
|
|
591
|
-
path: string | null;
|
|
592
|
-
host: string | null;
|
|
593
|
-
headers: Record<string, string> | null;
|
|
594
|
-
heartbeatPeriod: number | null;
|
|
595
|
-
};
|
|
596
|
-
}, {
|
|
597
|
-
transport: "ws";
|
|
598
|
-
transportOptions: {
|
|
599
|
-
path: string | null;
|
|
600
|
-
host: string | null;
|
|
601
|
-
headers: Record<string, string> | null;
|
|
602
|
-
heartbeatPeriod: number | null;
|
|
603
|
-
};
|
|
604
|
-
}>, z.ZodObject<{
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
605
169
|
transport: z.ZodLiteral<"httpupgrade">;
|
|
606
170
|
transportOptions: z.ZodObject<{
|
|
607
171
|
path: z.ZodNullable<z.ZodString>;
|
|
608
172
|
host: z.ZodNullable<z.ZodString>;
|
|
609
173
|
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
610
|
-
},
|
|
611
|
-
|
|
612
|
-
host: string | null;
|
|
613
|
-
headers: Record<string, string> | null;
|
|
614
|
-
}, {
|
|
615
|
-
path: string | null;
|
|
616
|
-
host: string | null;
|
|
617
|
-
headers: Record<string, string> | null;
|
|
618
|
-
}>;
|
|
619
|
-
}, "strip", z.ZodTypeAny, {
|
|
620
|
-
transport: "httpupgrade";
|
|
621
|
-
transportOptions: {
|
|
622
|
-
path: string | null;
|
|
623
|
-
host: string | null;
|
|
624
|
-
headers: Record<string, string> | null;
|
|
625
|
-
};
|
|
626
|
-
}, {
|
|
627
|
-
transport: "httpupgrade";
|
|
628
|
-
transportOptions: {
|
|
629
|
-
path: string | null;
|
|
630
|
-
host: string | null;
|
|
631
|
-
headers: Record<string, string> | null;
|
|
632
|
-
};
|
|
633
|
-
}>, z.ZodObject<{
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
634
176
|
transport: z.ZodLiteral<"grpc">;
|
|
635
177
|
transportOptions: z.ZodObject<{
|
|
636
178
|
authority: z.ZodNullable<z.ZodString>;
|
|
637
179
|
serviceName: z.ZodNullable<z.ZodString>;
|
|
638
180
|
multiMode: z.ZodBoolean;
|
|
639
|
-
},
|
|
640
|
-
|
|
641
|
-
serviceName: string | null;
|
|
642
|
-
multiMode: boolean;
|
|
643
|
-
}, {
|
|
644
|
-
authority: string | null;
|
|
645
|
-
serviceName: string | null;
|
|
646
|
-
multiMode: boolean;
|
|
647
|
-
}>;
|
|
648
|
-
}, "strip", z.ZodTypeAny, {
|
|
649
|
-
transport: "grpc";
|
|
650
|
-
transportOptions: {
|
|
651
|
-
authority: string | null;
|
|
652
|
-
serviceName: string | null;
|
|
653
|
-
multiMode: boolean;
|
|
654
|
-
};
|
|
655
|
-
}, {
|
|
656
|
-
transport: "grpc";
|
|
657
|
-
transportOptions: {
|
|
658
|
-
authority: string | null;
|
|
659
|
-
serviceName: string | null;
|
|
660
|
-
multiMode: boolean;
|
|
661
|
-
};
|
|
662
|
-
}>, z.ZodObject<{
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
663
183
|
transport: z.ZodLiteral<"kcp">;
|
|
664
184
|
transportOptions: z.ZodObject<{
|
|
665
|
-
clientMtu: z.
|
|
666
|
-
clientTti: z.
|
|
185
|
+
clientMtu: z.ZodInt;
|
|
186
|
+
clientTti: z.ZodInt;
|
|
667
187
|
congestion: z.ZodBoolean;
|
|
668
|
-
},
|
|
669
|
-
|
|
670
|
-
clientTti: number;
|
|
671
|
-
congestion: boolean;
|
|
672
|
-
}, {
|
|
673
|
-
clientMtu: number;
|
|
674
|
-
clientTti: number;
|
|
675
|
-
congestion: boolean;
|
|
676
|
-
}>;
|
|
677
|
-
}, "strip", z.ZodTypeAny, {
|
|
678
|
-
transport: "kcp";
|
|
679
|
-
transportOptions: {
|
|
680
|
-
clientMtu: number;
|
|
681
|
-
clientTti: number;
|
|
682
|
-
congestion: boolean;
|
|
683
|
-
};
|
|
684
|
-
}, {
|
|
685
|
-
transport: "kcp";
|
|
686
|
-
transportOptions: {
|
|
687
|
-
clientMtu: number;
|
|
688
|
-
clientTti: number;
|
|
689
|
-
congestion: boolean;
|
|
690
|
-
};
|
|
691
|
-
}>, z.ZodObject<{
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
692
190
|
transport: z.ZodLiteral<"hysteria">;
|
|
693
191
|
transportOptions: z.ZodObject<{
|
|
694
|
-
version: z.
|
|
192
|
+
version: z.ZodInt;
|
|
695
193
|
auth: z.ZodString;
|
|
696
|
-
},
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}, {
|
|
700
|
-
auth: string;
|
|
701
|
-
version: number;
|
|
702
|
-
}>;
|
|
703
|
-
}, "strip", z.ZodTypeAny, {
|
|
704
|
-
transport: "hysteria";
|
|
705
|
-
transportOptions: {
|
|
706
|
-
auth: string;
|
|
707
|
-
version: number;
|
|
708
|
-
};
|
|
709
|
-
}, {
|
|
710
|
-
transport: "hysteria";
|
|
711
|
-
transportOptions: {
|
|
712
|
-
auth: string;
|
|
713
|
-
version: number;
|
|
714
|
-
};
|
|
715
|
-
}>]>;
|
|
716
|
-
export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security", [z.ZodObject<{
|
|
194
|
+
}, z.core.$strip>;
|
|
195
|
+
}, z.core.$strip>], "transport">;
|
|
196
|
+
export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
717
197
|
security: z.ZodLiteral<"tls">;
|
|
718
198
|
securityOptions: z.ZodObject<{
|
|
719
199
|
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
@@ -724,50 +204,8 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
|
|
|
724
204
|
serverName: z.ZodNullable<z.ZodString>;
|
|
725
205
|
echConfigList: z.ZodNullable<z.ZodString>;
|
|
726
206
|
echForceQuery: z.ZodNullable<z.ZodString>;
|
|
727
|
-
},
|
|
728
|
-
|
|
729
|
-
fingerprint: string | null;
|
|
730
|
-
pinnedPeerCertSha256: string | null;
|
|
731
|
-
verifyPeerCertByName: string | null;
|
|
732
|
-
enableSessionResumption: boolean;
|
|
733
|
-
serverName: string | null;
|
|
734
|
-
echConfigList: string | null;
|
|
735
|
-
echForceQuery: string | null;
|
|
736
|
-
}, {
|
|
737
|
-
alpn: string | null;
|
|
738
|
-
fingerprint: string | null;
|
|
739
|
-
pinnedPeerCertSha256: string | null;
|
|
740
|
-
verifyPeerCertByName: string | null;
|
|
741
|
-
enableSessionResumption: boolean;
|
|
742
|
-
serverName: string | null;
|
|
743
|
-
echConfigList: string | null;
|
|
744
|
-
echForceQuery: string | null;
|
|
745
|
-
}>;
|
|
746
|
-
}, "strip", z.ZodTypeAny, {
|
|
747
|
-
security: "tls";
|
|
748
|
-
securityOptions: {
|
|
749
|
-
alpn: string | null;
|
|
750
|
-
fingerprint: string | null;
|
|
751
|
-
pinnedPeerCertSha256: string | null;
|
|
752
|
-
verifyPeerCertByName: string | null;
|
|
753
|
-
enableSessionResumption: boolean;
|
|
754
|
-
serverName: string | null;
|
|
755
|
-
echConfigList: string | null;
|
|
756
|
-
echForceQuery: string | null;
|
|
757
|
-
};
|
|
758
|
-
}, {
|
|
759
|
-
security: "tls";
|
|
760
|
-
securityOptions: {
|
|
761
|
-
alpn: string | null;
|
|
762
|
-
fingerprint: string | null;
|
|
763
|
-
pinnedPeerCertSha256: string | null;
|
|
764
|
-
verifyPeerCertByName: string | null;
|
|
765
|
-
enableSessionResumption: boolean;
|
|
766
|
-
serverName: string | null;
|
|
767
|
-
echConfigList: string | null;
|
|
768
|
-
echForceQuery: string | null;
|
|
769
|
-
};
|
|
770
|
-
}>, z.ZodObject<{
|
|
207
|
+
}, z.core.$strip>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
771
209
|
security: z.ZodLiteral<"reality">;
|
|
772
210
|
securityOptions: z.ZodObject<{
|
|
773
211
|
fingerprint: z.ZodString;
|
|
@@ -776,325 +214,123 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
|
|
|
776
214
|
serverName: z.ZodString;
|
|
777
215
|
spiderX: z.ZodNullable<z.ZodString>;
|
|
778
216
|
mldsa65Verify: z.ZodNullable<z.ZodString>;
|
|
779
|
-
},
|
|
780
|
-
|
|
781
|
-
serverName: string;
|
|
782
|
-
publicKey: string;
|
|
783
|
-
shortId: string | null;
|
|
784
|
-
spiderX: string | null;
|
|
785
|
-
mldsa65Verify: string | null;
|
|
786
|
-
}, {
|
|
787
|
-
fingerprint: string;
|
|
788
|
-
serverName: string;
|
|
789
|
-
publicKey: string;
|
|
790
|
-
shortId: string | null;
|
|
791
|
-
spiderX: string | null;
|
|
792
|
-
mldsa65Verify: string | null;
|
|
793
|
-
}>;
|
|
794
|
-
}, "strip", z.ZodTypeAny, {
|
|
795
|
-
security: "reality";
|
|
796
|
-
securityOptions: {
|
|
797
|
-
fingerprint: string;
|
|
798
|
-
serverName: string;
|
|
799
|
-
publicKey: string;
|
|
800
|
-
shortId: string | null;
|
|
801
|
-
spiderX: string | null;
|
|
802
|
-
mldsa65Verify: string | null;
|
|
803
|
-
};
|
|
804
|
-
}, {
|
|
805
|
-
security: "reality";
|
|
806
|
-
securityOptions: {
|
|
807
|
-
fingerprint: string;
|
|
808
|
-
serverName: string;
|
|
809
|
-
publicKey: string;
|
|
810
|
-
shortId: string | null;
|
|
811
|
-
spiderX: string | null;
|
|
812
|
-
mldsa65Verify: string | null;
|
|
813
|
-
};
|
|
814
|
-
}>, z.ZodObject<{
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
815
219
|
security: z.ZodLiteral<"none">;
|
|
816
|
-
},
|
|
817
|
-
security: "none";
|
|
818
|
-
}, {
|
|
819
|
-
security: "none";
|
|
820
|
-
}>]>;
|
|
220
|
+
}, z.core.$strip>], "security">;
|
|
821
221
|
export declare const ProxyEntryMetadataSchema: z.ZodObject<{
|
|
822
|
-
uuid: z.
|
|
823
|
-
tags: z.ZodArray<z.ZodString
|
|
824
|
-
excludeFromSubscriptionTypes: z.ZodArray<z.
|
|
222
|
+
uuid: z.ZodUUID;
|
|
223
|
+
tags: z.ZodArray<z.ZodString>;
|
|
224
|
+
excludeFromSubscriptionTypes: z.ZodArray<z.ZodEnum<{
|
|
825
225
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
826
226
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
827
227
|
readonly MIHOMO: "MIHOMO";
|
|
828
228
|
readonly STASH: "STASH";
|
|
829
229
|
readonly CLASH: "CLASH";
|
|
830
230
|
readonly SINGBOX: "SINGBOX";
|
|
831
|
-
}
|
|
231
|
+
}>>;
|
|
832
232
|
inboundTag: z.ZodString;
|
|
833
|
-
configProfileUuid: z.ZodNullable<z.
|
|
834
|
-
configProfileInboundUuid: z.ZodNullable<z.
|
|
233
|
+
configProfileUuid: z.ZodNullable<z.ZodUUID>;
|
|
234
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodUUID>;
|
|
835
235
|
isDisabled: z.ZodBoolean;
|
|
836
236
|
isHidden: z.ZodBoolean;
|
|
837
|
-
viewPosition: z.
|
|
237
|
+
viewPosition: z.ZodInt;
|
|
838
238
|
remark: z.ZodString;
|
|
839
|
-
vlessRouteId: z.ZodNullable<z.
|
|
239
|
+
vlessRouteId: z.ZodNullable<z.ZodInt>;
|
|
840
240
|
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
841
|
-
},
|
|
842
|
-
tags: string[];
|
|
843
|
-
uuid: string;
|
|
844
|
-
viewPosition: number;
|
|
845
|
-
remark: string;
|
|
846
|
-
isDisabled: boolean;
|
|
847
|
-
configProfileUuid: string | null;
|
|
848
|
-
configProfileInboundUuid: string | null;
|
|
849
|
-
isHidden: boolean;
|
|
850
|
-
vlessRouteId: number | null;
|
|
851
|
-
excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
|
|
852
|
-
inboundTag: string;
|
|
853
|
-
rawInbound?: unknown;
|
|
854
|
-
}, {
|
|
855
|
-
tags: string[];
|
|
856
|
-
uuid: string;
|
|
857
|
-
viewPosition: number;
|
|
858
|
-
remark: string;
|
|
859
|
-
isDisabled: boolean;
|
|
860
|
-
configProfileUuid: string | null;
|
|
861
|
-
configProfileInboundUuid: string | null;
|
|
862
|
-
isHidden: boolean;
|
|
863
|
-
vlessRouteId: number | null;
|
|
864
|
-
excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
|
|
865
|
-
inboundTag: string;
|
|
866
|
-
rawInbound?: unknown;
|
|
867
|
-
}>;
|
|
241
|
+
}, z.core.$strip>;
|
|
868
242
|
export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
869
243
|
finalRemark: z.ZodString;
|
|
870
244
|
address: z.ZodString;
|
|
871
|
-
port: z.
|
|
872
|
-
protocol: z.ZodEnum<
|
|
873
|
-
|
|
245
|
+
port: z.ZodInt;
|
|
246
|
+
protocol: z.ZodEnum<{
|
|
247
|
+
vless: "vless";
|
|
248
|
+
trojan: "trojan";
|
|
249
|
+
shadowsocks: "shadowsocks";
|
|
250
|
+
hysteria: "hysteria";
|
|
251
|
+
}>;
|
|
252
|
+
protocolOptions: z.ZodUnion<readonly [z.ZodObject<{
|
|
874
253
|
encryption: z.ZodString;
|
|
875
254
|
id: z.ZodString;
|
|
876
|
-
flow: z.ZodEnum<
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
}, {
|
|
882
|
-
id: string;
|
|
883
|
-
encryption: string;
|
|
884
|
-
flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
|
|
885
|
-
}>, z.ZodObject<{
|
|
255
|
+
flow: z.ZodEnum<{
|
|
256
|
+
"": "";
|
|
257
|
+
"xtls-rprx-vision": "xtls-rprx-vision";
|
|
258
|
+
"xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
|
|
259
|
+
}>;
|
|
260
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
886
261
|
password: z.ZodString;
|
|
887
|
-
},
|
|
888
|
-
password: string;
|
|
889
|
-
}, {
|
|
890
|
-
password: string;
|
|
891
|
-
}>, z.ZodObject<{
|
|
262
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
892
263
|
method: z.ZodString;
|
|
893
264
|
password: z.ZodString;
|
|
894
265
|
uot: z.ZodBoolean;
|
|
895
|
-
uotVersion: z.
|
|
896
|
-
},
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
}, {
|
|
911
|
-
version: number;
|
|
912
|
-
}>]>;
|
|
913
|
-
transport: z.ZodEnum<["tcp", "xhttp", "ws", "httpupgrade", "grpc", "kcp", "hysteria"]>;
|
|
914
|
-
transportOptions: z.ZodUnion<[z.ZodObject<{
|
|
915
|
-
header: z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
266
|
+
uotVersion: z.ZodInt;
|
|
267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
268
|
+
version: z.ZodInt;
|
|
269
|
+
}, z.core.$strip>]>;
|
|
270
|
+
transport: z.ZodEnum<{
|
|
271
|
+
hysteria: "hysteria";
|
|
272
|
+
tcp: "tcp";
|
|
273
|
+
xhttp: "xhttp";
|
|
274
|
+
ws: "ws";
|
|
275
|
+
httpupgrade: "httpupgrade";
|
|
276
|
+
grpc: "grpc";
|
|
277
|
+
kcp: "kcp";
|
|
278
|
+
}>;
|
|
279
|
+
transportOptions: z.ZodUnion<readonly [z.ZodObject<{
|
|
280
|
+
header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
916
281
|
type: z.ZodLiteral<"none">;
|
|
917
|
-
},
|
|
918
|
-
type: "none";
|
|
919
|
-
}, {
|
|
920
|
-
type: "none";
|
|
921
|
-
}>, z.ZodObject<{
|
|
282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
922
283
|
type: z.ZodLiteral<"http">;
|
|
923
284
|
request: z.ZodOptional<z.ZodObject<{
|
|
924
285
|
version: z.ZodOptional<z.ZodString>;
|
|
925
286
|
method: z.ZodOptional<z.ZodString>;
|
|
926
|
-
path: z.ZodOptional<z.ZodArray<z.ZodString
|
|
287
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
927
288
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
928
|
-
},
|
|
929
|
-
path?: string[] | undefined;
|
|
930
|
-
method?: string | undefined;
|
|
931
|
-
headers?: Record<string, unknown> | undefined;
|
|
932
|
-
version?: string | undefined;
|
|
933
|
-
}, {
|
|
934
|
-
path?: string[] | undefined;
|
|
935
|
-
method?: string | undefined;
|
|
936
|
-
headers?: Record<string, unknown> | undefined;
|
|
937
|
-
version?: string | undefined;
|
|
938
|
-
}>>;
|
|
289
|
+
}, z.core.$strip>>;
|
|
939
290
|
response: z.ZodOptional<z.ZodObject<{
|
|
940
291
|
version: z.ZodOptional<z.ZodString>;
|
|
941
292
|
status: z.ZodOptional<z.ZodString>;
|
|
942
293
|
reason: z.ZodOptional<z.ZodString>;
|
|
943
294
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
944
|
-
},
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
version?: string | undefined;
|
|
948
|
-
reason?: string | undefined;
|
|
949
|
-
}, {
|
|
950
|
-
status?: string | undefined;
|
|
951
|
-
headers?: Record<string, unknown> | undefined;
|
|
952
|
-
version?: string | undefined;
|
|
953
|
-
reason?: string | undefined;
|
|
954
|
-
}>>;
|
|
955
|
-
}, "strip", z.ZodTypeAny, {
|
|
956
|
-
type: "http";
|
|
957
|
-
response?: {
|
|
958
|
-
status?: string | undefined;
|
|
959
|
-
headers?: Record<string, unknown> | undefined;
|
|
960
|
-
version?: string | undefined;
|
|
961
|
-
reason?: string | undefined;
|
|
962
|
-
} | undefined;
|
|
963
|
-
request?: {
|
|
964
|
-
path?: string[] | undefined;
|
|
965
|
-
method?: string | undefined;
|
|
966
|
-
headers?: Record<string, unknown> | undefined;
|
|
967
|
-
version?: string | undefined;
|
|
968
|
-
} | undefined;
|
|
969
|
-
}, {
|
|
970
|
-
type: "http";
|
|
971
|
-
response?: {
|
|
972
|
-
status?: string | undefined;
|
|
973
|
-
headers?: Record<string, unknown> | undefined;
|
|
974
|
-
version?: string | undefined;
|
|
975
|
-
reason?: string | undefined;
|
|
976
|
-
} | undefined;
|
|
977
|
-
request?: {
|
|
978
|
-
path?: string[] | undefined;
|
|
979
|
-
method?: string | undefined;
|
|
980
|
-
headers?: Record<string, unknown> | undefined;
|
|
981
|
-
version?: string | undefined;
|
|
982
|
-
} | undefined;
|
|
983
|
-
}>]>>;
|
|
984
|
-
}, "strip", z.ZodTypeAny, {
|
|
985
|
-
header: {
|
|
986
|
-
type: "none";
|
|
987
|
-
} | {
|
|
988
|
-
type: "http";
|
|
989
|
-
response?: {
|
|
990
|
-
status?: string | undefined;
|
|
991
|
-
headers?: Record<string, unknown> | undefined;
|
|
992
|
-
version?: string | undefined;
|
|
993
|
-
reason?: string | undefined;
|
|
994
|
-
} | undefined;
|
|
995
|
-
request?: {
|
|
996
|
-
path?: string[] | undefined;
|
|
997
|
-
method?: string | undefined;
|
|
998
|
-
headers?: Record<string, unknown> | undefined;
|
|
999
|
-
version?: string | undefined;
|
|
1000
|
-
} | undefined;
|
|
1001
|
-
} | null;
|
|
1002
|
-
}, {
|
|
1003
|
-
header: {
|
|
1004
|
-
type: "none";
|
|
1005
|
-
} | {
|
|
1006
|
-
type: "http";
|
|
1007
|
-
response?: {
|
|
1008
|
-
status?: string | undefined;
|
|
1009
|
-
headers?: Record<string, unknown> | undefined;
|
|
1010
|
-
version?: string | undefined;
|
|
1011
|
-
reason?: string | undefined;
|
|
1012
|
-
} | undefined;
|
|
1013
|
-
request?: {
|
|
1014
|
-
path?: string[] | undefined;
|
|
1015
|
-
method?: string | undefined;
|
|
1016
|
-
headers?: Record<string, unknown> | undefined;
|
|
1017
|
-
version?: string | undefined;
|
|
1018
|
-
} | undefined;
|
|
1019
|
-
} | null;
|
|
1020
|
-
}>, z.ZodObject<{
|
|
295
|
+
}, z.core.$strip>>;
|
|
296
|
+
}, z.core.$strip>], "type">>;
|
|
297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1021
298
|
path: z.ZodNullable<z.ZodString>;
|
|
1022
299
|
host: z.ZodNullable<z.ZodString>;
|
|
1023
|
-
mode: z.ZodEnum<
|
|
300
|
+
mode: z.ZodEnum<{
|
|
301
|
+
auto: "auto";
|
|
302
|
+
"packet-up": "packet-up";
|
|
303
|
+
"stream-up": "stream-up";
|
|
304
|
+
"stream-one": "stream-one";
|
|
305
|
+
}>;
|
|
1024
306
|
extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1025
|
-
},
|
|
1026
|
-
path: string | null;
|
|
1027
|
-
host: string | null;
|
|
1028
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
1029
|
-
extra: Record<string, unknown> | null;
|
|
1030
|
-
}, {
|
|
1031
|
-
path: string | null;
|
|
1032
|
-
host: string | null;
|
|
1033
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
1034
|
-
extra: Record<string, unknown> | null;
|
|
1035
|
-
}>, z.ZodObject<{
|
|
307
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1036
308
|
path: z.ZodNullable<z.ZodString>;
|
|
1037
309
|
host: z.ZodNullable<z.ZodString>;
|
|
1038
310
|
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1039
311
|
heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
|
|
1040
|
-
},
|
|
1041
|
-
path: string | null;
|
|
1042
|
-
host: string | null;
|
|
1043
|
-
headers: Record<string, string> | null;
|
|
1044
|
-
heartbeatPeriod: number | null;
|
|
1045
|
-
}, {
|
|
1046
|
-
path: string | null;
|
|
1047
|
-
host: string | null;
|
|
1048
|
-
headers: Record<string, string> | null;
|
|
1049
|
-
heartbeatPeriod: number | null;
|
|
1050
|
-
}>, z.ZodObject<{
|
|
312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1051
313
|
path: z.ZodNullable<z.ZodString>;
|
|
1052
314
|
host: z.ZodNullable<z.ZodString>;
|
|
1053
315
|
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1054
|
-
},
|
|
1055
|
-
path: string | null;
|
|
1056
|
-
host: string | null;
|
|
1057
|
-
headers: Record<string, string> | null;
|
|
1058
|
-
}, {
|
|
1059
|
-
path: string | null;
|
|
1060
|
-
host: string | null;
|
|
1061
|
-
headers: Record<string, string> | null;
|
|
1062
|
-
}>, z.ZodObject<{
|
|
316
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1063
317
|
authority: z.ZodNullable<z.ZodString>;
|
|
1064
318
|
serviceName: z.ZodNullable<z.ZodString>;
|
|
1065
319
|
multiMode: z.ZodBoolean;
|
|
1066
|
-
},
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
multiMode: boolean;
|
|
1070
|
-
}, {
|
|
1071
|
-
authority: string | null;
|
|
1072
|
-
serviceName: string | null;
|
|
1073
|
-
multiMode: boolean;
|
|
1074
|
-
}>, z.ZodObject<{
|
|
1075
|
-
clientMtu: z.ZodNumber;
|
|
1076
|
-
clientTti: z.ZodNumber;
|
|
320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
321
|
+
clientMtu: z.ZodInt;
|
|
322
|
+
clientTti: z.ZodInt;
|
|
1077
323
|
congestion: z.ZodBoolean;
|
|
1078
|
-
},
|
|
1079
|
-
|
|
1080
|
-
clientTti: number;
|
|
1081
|
-
congestion: boolean;
|
|
1082
|
-
}, {
|
|
1083
|
-
clientMtu: number;
|
|
1084
|
-
clientTti: number;
|
|
1085
|
-
congestion: boolean;
|
|
1086
|
-
}>, z.ZodObject<{
|
|
1087
|
-
version: z.ZodNumber;
|
|
324
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
325
|
+
version: z.ZodInt;
|
|
1088
326
|
auth: z.ZodString;
|
|
1089
|
-
},
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
security: z.ZodEnum<["tls", "reality", "none"]>;
|
|
1097
|
-
securityOptions: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
327
|
+
}, z.core.$strip>]>;
|
|
328
|
+
security: z.ZodEnum<{
|
|
329
|
+
none: "none";
|
|
330
|
+
tls: "tls";
|
|
331
|
+
reality: "reality";
|
|
332
|
+
}>;
|
|
333
|
+
securityOptions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1098
334
|
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
1099
335
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
1100
336
|
alpn: z.ZodNullable<z.ZodString>;
|
|
@@ -1103,61 +339,23 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1103
339
|
serverName: z.ZodNullable<z.ZodString>;
|
|
1104
340
|
echConfigList: z.ZodNullable<z.ZodString>;
|
|
1105
341
|
echForceQuery: z.ZodNullable<z.ZodString>;
|
|
1106
|
-
},
|
|
1107
|
-
alpn: string | null;
|
|
1108
|
-
fingerprint: string | null;
|
|
1109
|
-
pinnedPeerCertSha256: string | null;
|
|
1110
|
-
verifyPeerCertByName: string | null;
|
|
1111
|
-
enableSessionResumption: boolean;
|
|
1112
|
-
serverName: string | null;
|
|
1113
|
-
echConfigList: string | null;
|
|
1114
|
-
echForceQuery: string | null;
|
|
1115
|
-
}, {
|
|
1116
|
-
alpn: string | null;
|
|
1117
|
-
fingerprint: string | null;
|
|
1118
|
-
pinnedPeerCertSha256: string | null;
|
|
1119
|
-
verifyPeerCertByName: string | null;
|
|
1120
|
-
enableSessionResumption: boolean;
|
|
1121
|
-
serverName: string | null;
|
|
1122
|
-
echConfigList: string | null;
|
|
1123
|
-
echForceQuery: string | null;
|
|
1124
|
-
}>, z.ZodObject<{
|
|
342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1125
343
|
fingerprint: z.ZodString;
|
|
1126
344
|
publicKey: z.ZodString;
|
|
1127
345
|
shortId: z.ZodNullable<z.ZodString>;
|
|
1128
346
|
serverName: z.ZodString;
|
|
1129
347
|
spiderX: z.ZodNullable<z.ZodString>;
|
|
1130
348
|
mldsa65Verify: z.ZodNullable<z.ZodString>;
|
|
1131
|
-
},
|
|
1132
|
-
fingerprint: string;
|
|
1133
|
-
serverName: string;
|
|
1134
|
-
publicKey: string;
|
|
1135
|
-
shortId: string | null;
|
|
1136
|
-
spiderX: string | null;
|
|
1137
|
-
mldsa65Verify: string | null;
|
|
1138
|
-
}, {
|
|
1139
|
-
fingerprint: string;
|
|
1140
|
-
serverName: string;
|
|
1141
|
-
publicKey: string;
|
|
1142
|
-
shortId: string | null;
|
|
1143
|
-
spiderX: string | null;
|
|
1144
|
-
mldsa65Verify: string | null;
|
|
1145
|
-
}>]>>;
|
|
349
|
+
}, z.core.$strip>]>>;
|
|
1146
350
|
streamOverrides: z.ZodObject<{
|
|
1147
351
|
finalMask: z.ZodNullable<z.ZodUnknown>;
|
|
1148
352
|
sockopt: z.ZodNullable<z.ZodUnknown>;
|
|
1149
|
-
},
|
|
1150
|
-
finalMask?: unknown;
|
|
1151
|
-
sockopt?: unknown;
|
|
1152
|
-
}, {
|
|
1153
|
-
finalMask?: unknown;
|
|
1154
|
-
sockopt?: unknown;
|
|
1155
|
-
}>;
|
|
353
|
+
}, z.core.$strip>;
|
|
1156
354
|
mux: z.ZodNullable<z.ZodUnknown>;
|
|
1157
355
|
clientOverrides: z.ZodObject<{
|
|
1158
356
|
shuffleHost: z.ZodBoolean;
|
|
1159
357
|
mihomoX25519: z.ZodBoolean;
|
|
1160
|
-
mihomoIpVersion: z.ZodNullable<z.
|
|
358
|
+
mihomoIpVersion: z.ZodNullable<z.ZodEnum<{
|
|
1161
359
|
readonly DUAL: "dual";
|
|
1162
360
|
readonly IPV4: "ipv4";
|
|
1163
361
|
readonly IPV6: "ipv6";
|
|
@@ -1166,281 +364,27 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1166
364
|
}>>;
|
|
1167
365
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
1168
366
|
xrayJsonTemplate: z.ZodNullable<z.ZodUnknown>;
|
|
1169
|
-
},
|
|
1170
|
-
serverDescription: string | null;
|
|
1171
|
-
shuffleHost: boolean;
|
|
1172
|
-
mihomoX25519: boolean;
|
|
1173
|
-
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1174
|
-
xrayJsonTemplate?: unknown;
|
|
1175
|
-
}, {
|
|
1176
|
-
serverDescription: string | null;
|
|
1177
|
-
shuffleHost: boolean;
|
|
1178
|
-
mihomoX25519: boolean;
|
|
1179
|
-
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1180
|
-
xrayJsonTemplate?: unknown;
|
|
1181
|
-
}>;
|
|
367
|
+
}, z.core.$strip>;
|
|
1182
368
|
metadata: z.ZodObject<{
|
|
1183
|
-
uuid: z.
|
|
1184
|
-
tags: z.ZodArray<z.ZodString
|
|
1185
|
-
excludeFromSubscriptionTypes: z.ZodArray<z.
|
|
369
|
+
uuid: z.ZodUUID;
|
|
370
|
+
tags: z.ZodArray<z.ZodString>;
|
|
371
|
+
excludeFromSubscriptionTypes: z.ZodArray<z.ZodEnum<{
|
|
1186
372
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
1187
373
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
1188
374
|
readonly MIHOMO: "MIHOMO";
|
|
1189
375
|
readonly STASH: "STASH";
|
|
1190
376
|
readonly CLASH: "CLASH";
|
|
1191
377
|
readonly SINGBOX: "SINGBOX";
|
|
1192
|
-
}
|
|
378
|
+
}>>;
|
|
1193
379
|
inboundTag: z.ZodString;
|
|
1194
|
-
configProfileUuid: z.ZodNullable<z.
|
|
1195
|
-
configProfileInboundUuid: z.ZodNullable<z.
|
|
380
|
+
configProfileUuid: z.ZodNullable<z.ZodUUID>;
|
|
381
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodUUID>;
|
|
1196
382
|
isDisabled: z.ZodBoolean;
|
|
1197
383
|
isHidden: z.ZodBoolean;
|
|
1198
|
-
viewPosition: z.
|
|
384
|
+
viewPosition: z.ZodInt;
|
|
1199
385
|
remark: z.ZodString;
|
|
1200
|
-
vlessRouteId: z.ZodNullable<z.
|
|
386
|
+
vlessRouteId: z.ZodNullable<z.ZodInt>;
|
|
1201
387
|
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
1202
|
-
},
|
|
1203
|
-
|
|
1204
|
-
uuid: string;
|
|
1205
|
-
viewPosition: number;
|
|
1206
|
-
remark: string;
|
|
1207
|
-
isDisabled: boolean;
|
|
1208
|
-
configProfileUuid: string | null;
|
|
1209
|
-
configProfileInboundUuid: string | null;
|
|
1210
|
-
isHidden: boolean;
|
|
1211
|
-
vlessRouteId: number | null;
|
|
1212
|
-
excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
|
|
1213
|
-
inboundTag: string;
|
|
1214
|
-
rawInbound?: unknown;
|
|
1215
|
-
}, {
|
|
1216
|
-
tags: string[];
|
|
1217
|
-
uuid: string;
|
|
1218
|
-
viewPosition: number;
|
|
1219
|
-
remark: string;
|
|
1220
|
-
isDisabled: boolean;
|
|
1221
|
-
configProfileUuid: string | null;
|
|
1222
|
-
configProfileInboundUuid: string | null;
|
|
1223
|
-
isHidden: boolean;
|
|
1224
|
-
vlessRouteId: number | null;
|
|
1225
|
-
excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
|
|
1226
|
-
inboundTag: string;
|
|
1227
|
-
rawInbound?: unknown;
|
|
1228
|
-
}>;
|
|
1229
|
-
}, "strip", z.ZodTypeAny, {
|
|
1230
|
-
metadata: {
|
|
1231
|
-
tags: string[];
|
|
1232
|
-
uuid: string;
|
|
1233
|
-
viewPosition: number;
|
|
1234
|
-
remark: string;
|
|
1235
|
-
isDisabled: boolean;
|
|
1236
|
-
configProfileUuid: string | null;
|
|
1237
|
-
configProfileInboundUuid: string | null;
|
|
1238
|
-
isHidden: boolean;
|
|
1239
|
-
vlessRouteId: number | null;
|
|
1240
|
-
excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
|
|
1241
|
-
inboundTag: string;
|
|
1242
|
-
rawInbound?: unknown;
|
|
1243
|
-
};
|
|
1244
|
-
security: "none" | "tls" | "reality";
|
|
1245
|
-
port: number;
|
|
1246
|
-
address: string;
|
|
1247
|
-
protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
|
|
1248
|
-
protocolOptions: {
|
|
1249
|
-
id: string;
|
|
1250
|
-
encryption: string;
|
|
1251
|
-
flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
|
|
1252
|
-
} | {
|
|
1253
|
-
password: string;
|
|
1254
|
-
} | {
|
|
1255
|
-
method: string;
|
|
1256
|
-
password: string;
|
|
1257
|
-
uot: boolean;
|
|
1258
|
-
uotVersion: number;
|
|
1259
|
-
} | {
|
|
1260
|
-
version: number;
|
|
1261
|
-
};
|
|
1262
|
-
transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
|
|
1263
|
-
transportOptions: {
|
|
1264
|
-
header: {
|
|
1265
|
-
type: "none";
|
|
1266
|
-
} | {
|
|
1267
|
-
type: "http";
|
|
1268
|
-
response?: {
|
|
1269
|
-
status?: string | undefined;
|
|
1270
|
-
headers?: Record<string, unknown> | undefined;
|
|
1271
|
-
version?: string | undefined;
|
|
1272
|
-
reason?: string | undefined;
|
|
1273
|
-
} | undefined;
|
|
1274
|
-
request?: {
|
|
1275
|
-
path?: string[] | undefined;
|
|
1276
|
-
method?: string | undefined;
|
|
1277
|
-
headers?: Record<string, unknown> | undefined;
|
|
1278
|
-
version?: string | undefined;
|
|
1279
|
-
} | undefined;
|
|
1280
|
-
} | null;
|
|
1281
|
-
} | {
|
|
1282
|
-
path: string | null;
|
|
1283
|
-
host: string | null;
|
|
1284
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
1285
|
-
extra: Record<string, unknown> | null;
|
|
1286
|
-
} | {
|
|
1287
|
-
path: string | null;
|
|
1288
|
-
host: string | null;
|
|
1289
|
-
headers: Record<string, string> | null;
|
|
1290
|
-
heartbeatPeriod: number | null;
|
|
1291
|
-
} | {
|
|
1292
|
-
path: string | null;
|
|
1293
|
-
host: string | null;
|
|
1294
|
-
headers: Record<string, string> | null;
|
|
1295
|
-
} | {
|
|
1296
|
-
authority: string | null;
|
|
1297
|
-
serviceName: string | null;
|
|
1298
|
-
multiMode: boolean;
|
|
1299
|
-
} | {
|
|
1300
|
-
clientMtu: number;
|
|
1301
|
-
clientTti: number;
|
|
1302
|
-
congestion: boolean;
|
|
1303
|
-
} | {
|
|
1304
|
-
auth: string;
|
|
1305
|
-
version: number;
|
|
1306
|
-
};
|
|
1307
|
-
finalRemark: string;
|
|
1308
|
-
streamOverrides: {
|
|
1309
|
-
finalMask?: unknown;
|
|
1310
|
-
sockopt?: unknown;
|
|
1311
|
-
};
|
|
1312
|
-
clientOverrides: {
|
|
1313
|
-
serverDescription: string | null;
|
|
1314
|
-
shuffleHost: boolean;
|
|
1315
|
-
mihomoX25519: boolean;
|
|
1316
|
-
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1317
|
-
xrayJsonTemplate?: unknown;
|
|
1318
|
-
};
|
|
1319
|
-
securityOptions?: {
|
|
1320
|
-
alpn: string | null;
|
|
1321
|
-
fingerprint: string | null;
|
|
1322
|
-
pinnedPeerCertSha256: string | null;
|
|
1323
|
-
verifyPeerCertByName: string | null;
|
|
1324
|
-
enableSessionResumption: boolean;
|
|
1325
|
-
serverName: string | null;
|
|
1326
|
-
echConfigList: string | null;
|
|
1327
|
-
echForceQuery: string | null;
|
|
1328
|
-
} | {
|
|
1329
|
-
fingerprint: string;
|
|
1330
|
-
serverName: string;
|
|
1331
|
-
publicKey: string;
|
|
1332
|
-
shortId: string | null;
|
|
1333
|
-
spiderX: string | null;
|
|
1334
|
-
mldsa65Verify: string | null;
|
|
1335
|
-
} | undefined;
|
|
1336
|
-
mux?: unknown;
|
|
1337
|
-
}, {
|
|
1338
|
-
metadata: {
|
|
1339
|
-
tags: string[];
|
|
1340
|
-
uuid: string;
|
|
1341
|
-
viewPosition: number;
|
|
1342
|
-
remark: string;
|
|
1343
|
-
isDisabled: boolean;
|
|
1344
|
-
configProfileUuid: string | null;
|
|
1345
|
-
configProfileInboundUuid: string | null;
|
|
1346
|
-
isHidden: boolean;
|
|
1347
|
-
vlessRouteId: number | null;
|
|
1348
|
-
excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
|
|
1349
|
-
inboundTag: string;
|
|
1350
|
-
rawInbound?: unknown;
|
|
1351
|
-
};
|
|
1352
|
-
security: "none" | "tls" | "reality";
|
|
1353
|
-
port: number;
|
|
1354
|
-
address: string;
|
|
1355
|
-
protocol: "vless" | "trojan" | "shadowsocks" | "hysteria";
|
|
1356
|
-
protocolOptions: {
|
|
1357
|
-
id: string;
|
|
1358
|
-
encryption: string;
|
|
1359
|
-
flow: "" | "xtls-rprx-vision" | "xtls-rprx-vision-udp443";
|
|
1360
|
-
} | {
|
|
1361
|
-
password: string;
|
|
1362
|
-
} | {
|
|
1363
|
-
method: string;
|
|
1364
|
-
password: string;
|
|
1365
|
-
uot: boolean;
|
|
1366
|
-
uotVersion: number;
|
|
1367
|
-
} | {
|
|
1368
|
-
version: number;
|
|
1369
|
-
};
|
|
1370
|
-
transport: "hysteria" | "tcp" | "xhttp" | "ws" | "httpupgrade" | "grpc" | "kcp";
|
|
1371
|
-
transportOptions: {
|
|
1372
|
-
header: {
|
|
1373
|
-
type: "none";
|
|
1374
|
-
} | {
|
|
1375
|
-
type: "http";
|
|
1376
|
-
response?: {
|
|
1377
|
-
status?: string | undefined;
|
|
1378
|
-
headers?: Record<string, unknown> | undefined;
|
|
1379
|
-
version?: string | undefined;
|
|
1380
|
-
reason?: string | undefined;
|
|
1381
|
-
} | undefined;
|
|
1382
|
-
request?: {
|
|
1383
|
-
path?: string[] | undefined;
|
|
1384
|
-
method?: string | undefined;
|
|
1385
|
-
headers?: Record<string, unknown> | undefined;
|
|
1386
|
-
version?: string | undefined;
|
|
1387
|
-
} | undefined;
|
|
1388
|
-
} | null;
|
|
1389
|
-
} | {
|
|
1390
|
-
path: string | null;
|
|
1391
|
-
host: string | null;
|
|
1392
|
-
mode: "auto" | "packet-up" | "stream-up" | "stream-one";
|
|
1393
|
-
extra: Record<string, unknown> | null;
|
|
1394
|
-
} | {
|
|
1395
|
-
path: string | null;
|
|
1396
|
-
host: string | null;
|
|
1397
|
-
headers: Record<string, string> | null;
|
|
1398
|
-
heartbeatPeriod: number | null;
|
|
1399
|
-
} | {
|
|
1400
|
-
path: string | null;
|
|
1401
|
-
host: string | null;
|
|
1402
|
-
headers: Record<string, string> | null;
|
|
1403
|
-
} | {
|
|
1404
|
-
authority: string | null;
|
|
1405
|
-
serviceName: string | null;
|
|
1406
|
-
multiMode: boolean;
|
|
1407
|
-
} | {
|
|
1408
|
-
clientMtu: number;
|
|
1409
|
-
clientTti: number;
|
|
1410
|
-
congestion: boolean;
|
|
1411
|
-
} | {
|
|
1412
|
-
auth: string;
|
|
1413
|
-
version: number;
|
|
1414
|
-
};
|
|
1415
|
-
finalRemark: string;
|
|
1416
|
-
streamOverrides: {
|
|
1417
|
-
finalMask?: unknown;
|
|
1418
|
-
sockopt?: unknown;
|
|
1419
|
-
};
|
|
1420
|
-
clientOverrides: {
|
|
1421
|
-
serverDescription: string | null;
|
|
1422
|
-
shuffleHost: boolean;
|
|
1423
|
-
mihomoX25519: boolean;
|
|
1424
|
-
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1425
|
-
xrayJsonTemplate?: unknown;
|
|
1426
|
-
};
|
|
1427
|
-
securityOptions?: {
|
|
1428
|
-
alpn: string | null;
|
|
1429
|
-
fingerprint: string | null;
|
|
1430
|
-
pinnedPeerCertSha256: string | null;
|
|
1431
|
-
verifyPeerCertByName: string | null;
|
|
1432
|
-
enableSessionResumption: boolean;
|
|
1433
|
-
serverName: string | null;
|
|
1434
|
-
echConfigList: string | null;
|
|
1435
|
-
echForceQuery: string | null;
|
|
1436
|
-
} | {
|
|
1437
|
-
fingerprint: string;
|
|
1438
|
-
serverName: string;
|
|
1439
|
-
publicKey: string;
|
|
1440
|
-
shortId: string | null;
|
|
1441
|
-
spiderX: string | null;
|
|
1442
|
-
mldsa65Verify: string | null;
|
|
1443
|
-
} | undefined;
|
|
1444
|
-
mux?: unknown;
|
|
1445
|
-
}>;
|
|
388
|
+
}, z.core.$strip>;
|
|
389
|
+
}, z.core.$strip>;
|
|
1446
390
|
//# sourceMappingURL=resolved-proxy-config.schema.d.ts.map
|