@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
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const ExternalSquadSchema: z.ZodObject<{
|
|
3
|
-
uuid: z.
|
|
4
|
-
viewPosition: z.
|
|
3
|
+
uuid: z.ZodUUID;
|
|
4
|
+
viewPosition: z.ZodInt;
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
info: z.ZodObject<{
|
|
7
7
|
membersCount: z.ZodNumber;
|
|
8
|
-
},
|
|
9
|
-
membersCount: number;
|
|
10
|
-
}, {
|
|
11
|
-
membersCount: number;
|
|
12
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
13
9
|
templates: z.ZodArray<z.ZodObject<{
|
|
14
|
-
templateUuid: z.
|
|
15
|
-
templateType: z.
|
|
10
|
+
templateUuid: z.ZodUUID;
|
|
11
|
+
templateType: z.ZodEnum<{
|
|
16
12
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
17
13
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
18
14
|
readonly MIHOMO: "MIHOMO";
|
|
@@ -20,178 +16,38 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
20
16
|
readonly CLASH: "CLASH";
|
|
21
17
|
readonly SINGBOX: "SINGBOX";
|
|
22
18
|
}>;
|
|
23
|
-
},
|
|
24
|
-
templateUuid: string;
|
|
25
|
-
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
26
|
-
}, {
|
|
27
|
-
templateUuid: string;
|
|
28
|
-
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
29
|
-
}>, "many">;
|
|
19
|
+
}, z.core.$strip>>;
|
|
30
20
|
subscriptionSettings: z.ZodNullable<z.ZodObject<{
|
|
31
21
|
profileTitle: z.ZodOptional<z.ZodString>;
|
|
32
22
|
supportLink: z.ZodOptional<z.ZodString>;
|
|
33
|
-
profileUpdateInterval: z.ZodOptional<z.
|
|
23
|
+
profileUpdateInterval: z.ZodOptional<z.ZodInt>;
|
|
34
24
|
isProfileWebpageUrlEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
35
25
|
serveJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
36
26
|
isShowCustomRemarks: z.ZodOptional<z.ZodBoolean>;
|
|
37
27
|
happAnnounce: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
28
|
happRouting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
29
|
randomizeHosts: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
-
},
|
|
41
|
-
profileTitle?: string | undefined;
|
|
42
|
-
supportLink?: string | undefined;
|
|
43
|
-
profileUpdateInterval?: number | undefined;
|
|
44
|
-
isProfileWebpageUrlEnabled?: boolean | undefined;
|
|
45
|
-
serveJsonAtBaseSubscription?: boolean | undefined;
|
|
46
|
-
isShowCustomRemarks?: boolean | undefined;
|
|
47
|
-
happAnnounce?: string | null | undefined;
|
|
48
|
-
happRouting?: string | null | undefined;
|
|
49
|
-
randomizeHosts?: boolean | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
profileTitle?: string | undefined;
|
|
52
|
-
supportLink?: string | undefined;
|
|
53
|
-
profileUpdateInterval?: number | undefined;
|
|
54
|
-
isProfileWebpageUrlEnabled?: boolean | undefined;
|
|
55
|
-
serveJsonAtBaseSubscription?: boolean | undefined;
|
|
56
|
-
isShowCustomRemarks?: boolean | undefined;
|
|
57
|
-
happAnnounce?: string | null | undefined;
|
|
58
|
-
happRouting?: string | null | undefined;
|
|
59
|
-
randomizeHosts?: boolean | undefined;
|
|
60
|
-
}>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
61
31
|
hostOverrides: z.ZodNullable<z.ZodObject<{
|
|
62
32
|
serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
vlessRouteId: z.ZodOptional<z.ZodNullable<z.
|
|
64
|
-
},
|
|
65
|
-
serverDescription?: string | null | undefined;
|
|
66
|
-
vlessRouteId?: number | null | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
serverDescription?: string | null | undefined;
|
|
69
|
-
vlessRouteId?: number | null | undefined;
|
|
70
|
-
}>>;
|
|
33
|
+
vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
71
35
|
responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
72
36
|
hwidSettings: z.ZodNullable<z.ZodObject<{
|
|
73
37
|
enabled: z.ZodBoolean;
|
|
74
38
|
fallbackDeviceLimit: z.ZodNumber;
|
|
75
39
|
maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
|
|
76
|
-
},
|
|
77
|
-
enabled: boolean;
|
|
78
|
-
fallbackDeviceLimit: number;
|
|
79
|
-
maxDevicesAnnounce: string | null;
|
|
80
|
-
}, {
|
|
81
|
-
enabled: boolean;
|
|
82
|
-
fallbackDeviceLimit: number;
|
|
83
|
-
maxDevicesAnnounce: string | null;
|
|
84
|
-
}>>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
85
41
|
customRemarks: z.ZodNullable<z.ZodObject<{
|
|
86
|
-
expiredUsers: z.ZodArray<z.ZodString
|
|
87
|
-
limitedUsers: z.ZodArray<z.ZodString
|
|
88
|
-
disabledUsers: z.ZodArray<z.ZodString
|
|
89
|
-
emptyHosts: z.ZodArray<z.ZodString
|
|
90
|
-
HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString
|
|
91
|
-
HWIDNotSupported: z.ZodArray<z.ZodString
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
HWIDMaxDevicesExceeded: string[];
|
|
98
|
-
HWIDNotSupported: string[];
|
|
99
|
-
}, {
|
|
100
|
-
expiredUsers: string[];
|
|
101
|
-
limitedUsers: string[];
|
|
102
|
-
disabledUsers: string[];
|
|
103
|
-
emptyHosts: string[];
|
|
104
|
-
HWIDMaxDevicesExceeded: string[];
|
|
105
|
-
HWIDNotSupported: string[];
|
|
106
|
-
}>>;
|
|
107
|
-
subpageConfigUuid: z.ZodNullable<z.ZodString>;
|
|
108
|
-
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
109
|
-
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
uuid: string;
|
|
112
|
-
name: string;
|
|
113
|
-
createdAt: Date;
|
|
114
|
-
updatedAt: Date;
|
|
115
|
-
viewPosition: number;
|
|
116
|
-
customRemarks: {
|
|
117
|
-
expiredUsers: string[];
|
|
118
|
-
limitedUsers: string[];
|
|
119
|
-
disabledUsers: string[];
|
|
120
|
-
emptyHosts: string[];
|
|
121
|
-
HWIDMaxDevicesExceeded: string[];
|
|
122
|
-
HWIDNotSupported: string[];
|
|
123
|
-
} | null;
|
|
124
|
-
hwidSettings: {
|
|
125
|
-
enabled: boolean;
|
|
126
|
-
fallbackDeviceLimit: number;
|
|
127
|
-
maxDevicesAnnounce: string | null;
|
|
128
|
-
} | null;
|
|
129
|
-
info: {
|
|
130
|
-
membersCount: number;
|
|
131
|
-
};
|
|
132
|
-
templates: {
|
|
133
|
-
templateUuid: string;
|
|
134
|
-
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
135
|
-
}[];
|
|
136
|
-
subscriptionSettings: {
|
|
137
|
-
profileTitle?: string | undefined;
|
|
138
|
-
supportLink?: string | undefined;
|
|
139
|
-
profileUpdateInterval?: number | undefined;
|
|
140
|
-
isProfileWebpageUrlEnabled?: boolean | undefined;
|
|
141
|
-
serveJsonAtBaseSubscription?: boolean | undefined;
|
|
142
|
-
isShowCustomRemarks?: boolean | undefined;
|
|
143
|
-
happAnnounce?: string | null | undefined;
|
|
144
|
-
happRouting?: string | null | undefined;
|
|
145
|
-
randomizeHosts?: boolean | undefined;
|
|
146
|
-
} | null;
|
|
147
|
-
hostOverrides: {
|
|
148
|
-
serverDescription?: string | null | undefined;
|
|
149
|
-
vlessRouteId?: number | null | undefined;
|
|
150
|
-
} | null;
|
|
151
|
-
responseHeaders: Record<string, string> | null;
|
|
152
|
-
subpageConfigUuid: string | null;
|
|
153
|
-
}, {
|
|
154
|
-
uuid: string;
|
|
155
|
-
name: string;
|
|
156
|
-
createdAt: string;
|
|
157
|
-
updatedAt: string;
|
|
158
|
-
viewPosition: number;
|
|
159
|
-
customRemarks: {
|
|
160
|
-
expiredUsers: string[];
|
|
161
|
-
limitedUsers: string[];
|
|
162
|
-
disabledUsers: string[];
|
|
163
|
-
emptyHosts: string[];
|
|
164
|
-
HWIDMaxDevicesExceeded: string[];
|
|
165
|
-
HWIDNotSupported: string[];
|
|
166
|
-
} | null;
|
|
167
|
-
hwidSettings: {
|
|
168
|
-
enabled: boolean;
|
|
169
|
-
fallbackDeviceLimit: number;
|
|
170
|
-
maxDevicesAnnounce: string | null;
|
|
171
|
-
} | null;
|
|
172
|
-
info: {
|
|
173
|
-
membersCount: number;
|
|
174
|
-
};
|
|
175
|
-
templates: {
|
|
176
|
-
templateUuid: string;
|
|
177
|
-
templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
|
|
178
|
-
}[];
|
|
179
|
-
subscriptionSettings: {
|
|
180
|
-
profileTitle?: string | undefined;
|
|
181
|
-
supportLink?: string | undefined;
|
|
182
|
-
profileUpdateInterval?: number | undefined;
|
|
183
|
-
isProfileWebpageUrlEnabled?: boolean | undefined;
|
|
184
|
-
serveJsonAtBaseSubscription?: boolean | undefined;
|
|
185
|
-
isShowCustomRemarks?: boolean | undefined;
|
|
186
|
-
happAnnounce?: string | null | undefined;
|
|
187
|
-
happRouting?: string | null | undefined;
|
|
188
|
-
randomizeHosts?: boolean | undefined;
|
|
189
|
-
} | null;
|
|
190
|
-
hostOverrides: {
|
|
191
|
-
serverDescription?: string | null | undefined;
|
|
192
|
-
vlessRouteId?: number | null | undefined;
|
|
193
|
-
} | null;
|
|
194
|
-
responseHeaders: Record<string, string> | null;
|
|
195
|
-
subpageConfigUuid: string | null;
|
|
196
|
-
}>;
|
|
42
|
+
expiredUsers: z.ZodArray<z.ZodString>;
|
|
43
|
+
limitedUsers: z.ZodArray<z.ZodString>;
|
|
44
|
+
disabledUsers: z.ZodArray<z.ZodString>;
|
|
45
|
+
emptyHosts: z.ZodArray<z.ZodString>;
|
|
46
|
+
HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString>;
|
|
47
|
+
HWIDNotSupported: z.ZodArray<z.ZodString>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
subpageConfigUuid: z.ZodNullable<z.ZodUUID>;
|
|
50
|
+
createdAt: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>;
|
|
51
|
+
updatedAt: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
197
53
|
//# sourceMappingURL=external-squad.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-squad.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"external-squad.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0B9B,CAAC"}
|
|
@@ -6,28 +6,24 @@ const constants_1 = require("../constants");
|
|
|
6
6
|
const external_squads_1 = require("./external-squads");
|
|
7
7
|
const subscription_settings_1 = require("./subscription-settings");
|
|
8
8
|
exports.ExternalSquadSchema = zod_1.z.object({
|
|
9
|
-
uuid: zod_1.z.
|
|
10
|
-
viewPosition: zod_1.z.
|
|
9
|
+
uuid: zod_1.z.uuid(),
|
|
10
|
+
viewPosition: zod_1.z.int(),
|
|
11
11
|
name: zod_1.z.string(),
|
|
12
12
|
info: zod_1.z.object({
|
|
13
13
|
membersCount: zod_1.z.number(),
|
|
14
14
|
}),
|
|
15
15
|
templates: zod_1.z.array(zod_1.z.object({
|
|
16
|
-
templateUuid: zod_1.z.
|
|
17
|
-
templateType: zod_1.z.
|
|
16
|
+
templateUuid: zod_1.z.uuid(),
|
|
17
|
+
templateType: zod_1.z.enum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE),
|
|
18
18
|
})),
|
|
19
19
|
subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
|
|
20
20
|
hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
|
|
21
21
|
responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
|
|
22
22
|
hwidSettings: zod_1.z.nullable(subscription_settings_1.HwidSettingsSchema),
|
|
23
23
|
customRemarks: zod_1.z.nullable(subscription_settings_1.CustomRemarksSchema),
|
|
24
|
-
subpageConfigUuid: zod_1.z.nullable(zod_1.z.
|
|
25
|
-
createdAt: zod_1.z
|
|
26
|
-
.string()
|
|
27
|
-
.datetime()
|
|
24
|
+
subpageConfigUuid: zod_1.z.nullable(zod_1.z.uuid()),
|
|
25
|
+
createdAt: zod_1.z.iso.datetime()
|
|
28
26
|
.transform((str) => new Date(str)),
|
|
29
|
-
updatedAt: zod_1.z
|
|
30
|
-
.string()
|
|
31
|
-
.datetime()
|
|
27
|
+
updatedAt: zod_1.z.iso.datetime()
|
|
32
28
|
.transform((str) => new Date(str)),
|
|
33
29
|
});
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
export declare const ExternalSquadHostOverridesSchema: import("zod").ZodObject<{
|
|
2
2
|
serverDescription: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
3
|
-
vlessRouteId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
4
|
-
},
|
|
5
|
-
serverDescription?: string | null | undefined;
|
|
6
|
-
vlessRouteId?: number | null | undefined;
|
|
7
|
-
}, {
|
|
8
|
-
serverDescription?: string | null | undefined;
|
|
9
|
-
vlessRouteId?: number | null | undefined;
|
|
10
|
-
}>;
|
|
3
|
+
vlessRouteId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodInt>>;
|
|
4
|
+
}, import("zod/v4/core").$strip>;
|
|
11
5
|
//# sourceMappingURL=external-squad-host-overrides.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-squad-host-overrides.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-host-overrides.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"external-squad-host-overrides.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-host-overrides.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gCAAgC;;;gCAGjC,CAAC"}
|
package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts
CHANGED
|
@@ -1,32 +1,12 @@
|
|
|
1
1
|
export declare const ExternalSquadSubscriptionSettingsSchema: import("zod").ZodObject<{
|
|
2
2
|
profileTitle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3
3
|
supportLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4
|
-
profileUpdateInterval: import("zod").ZodOptional<import("zod").
|
|
4
|
+
profileUpdateInterval: import("zod").ZodOptional<import("zod").ZodInt>;
|
|
5
5
|
isProfileWebpageUrlEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
6
6
|
serveJsonAtBaseSubscription: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7
7
|
isShowCustomRemarks: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8
8
|
happAnnounce: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
9
9
|
happRouting: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
10
10
|
randomizeHosts: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
11
|
-
},
|
|
12
|
-
profileTitle?: string | undefined;
|
|
13
|
-
supportLink?: string | undefined;
|
|
14
|
-
profileUpdateInterval?: number | undefined;
|
|
15
|
-
isProfileWebpageUrlEnabled?: boolean | undefined;
|
|
16
|
-
serveJsonAtBaseSubscription?: boolean | undefined;
|
|
17
|
-
isShowCustomRemarks?: boolean | undefined;
|
|
18
|
-
happAnnounce?: string | null | undefined;
|
|
19
|
-
happRouting?: string | null | undefined;
|
|
20
|
-
randomizeHosts?: boolean | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
profileTitle?: string | undefined;
|
|
23
|
-
supportLink?: string | undefined;
|
|
24
|
-
profileUpdateInterval?: number | undefined;
|
|
25
|
-
isProfileWebpageUrlEnabled?: boolean | undefined;
|
|
26
|
-
serveJsonAtBaseSubscription?: boolean | undefined;
|
|
27
|
-
isShowCustomRemarks?: boolean | undefined;
|
|
28
|
-
happAnnounce?: string | null | undefined;
|
|
29
|
-
happRouting?: string | null | undefined;
|
|
30
|
-
randomizeHosts?: boolean | undefined;
|
|
31
|
-
}>;
|
|
11
|
+
}, import("zod/v4/core").$strip>;
|
|
32
12
|
//# sourceMappingURL=external-squad-subscription-settings.schema.d.ts.map
|
package/build/backend/models/external-squads/external-squad-subscription-settings.schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-squad-subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-subscription-settings.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uCAAuC
|
|
1
|
+
{"version":3,"file":"external-squad-subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../../models/external-squads/external-squad-subscription-settings.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uCAAuC;;;;;;;;;;gCAUxC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const HostsSchema: z.ZodObject<{
|
|
3
|
-
uuid: z.
|
|
4
|
-
viewPosition: z.
|
|
3
|
+
uuid: z.ZodUUID;
|
|
4
|
+
viewPosition: z.ZodInt;
|
|
5
5
|
remark: z.ZodString;
|
|
6
6
|
address: z.ZodString;
|
|
7
|
-
port: z.
|
|
7
|
+
port: z.ZodInt;
|
|
8
8
|
path: z.ZodNullable<z.ZodString>;
|
|
9
9
|
sni: z.ZodNullable<z.ZodString>;
|
|
10
10
|
host: z.ZodNullable<z.ZodString>;
|
|
11
|
-
alpn: z.ZodNullable<z.
|
|
11
|
+
alpn: z.ZodNullable<z.ZodEnum<{
|
|
12
12
|
readonly H3: "h3";
|
|
13
13
|
readonly H2: "h2";
|
|
14
14
|
readonly HTTP_1_1: "http/1.1";
|
|
@@ -18,7 +18,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
18
18
|
}>>;
|
|
19
19
|
fingerprint: z.ZodNullable<z.ZodString>;
|
|
20
20
|
isDisabled: z.ZodBoolean;
|
|
21
|
-
securityLayer: z.ZodDefault<z.
|
|
21
|
+
securityLayer: z.ZodDefault<z.ZodEnum<{
|
|
22
22
|
readonly DEFAULT: "DEFAULT";
|
|
23
23
|
readonly TLS: "TLS";
|
|
24
24
|
readonly NONE: "NONE";
|
|
@@ -28,114 +28,36 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
28
28
|
sockoptParams: z.ZodNullable<z.ZodUnknown>;
|
|
29
29
|
finalMask: z.ZodNullable<z.ZodUnknown>;
|
|
30
30
|
inbound: z.ZodObject<{
|
|
31
|
-
configProfileUuid: z.ZodNullable<z.
|
|
32
|
-
configProfileInboundUuid: z.ZodNullable<z.
|
|
33
|
-
},
|
|
34
|
-
configProfileUuid: string | null;
|
|
35
|
-
configProfileInboundUuid: string | null;
|
|
36
|
-
}, {
|
|
37
|
-
configProfileUuid: string | null;
|
|
38
|
-
configProfileInboundUuid: string | null;
|
|
39
|
-
}>;
|
|
31
|
+
configProfileUuid: z.ZodNullable<z.ZodUUID>;
|
|
32
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodUUID>;
|
|
33
|
+
}, z.core.$strip>;
|
|
40
34
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
41
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString
|
|
35
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
42
36
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
43
37
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
44
38
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
45
|
-
vlessRouteId: z.ZodNullable<z.
|
|
39
|
+
vlessRouteId: z.ZodNullable<z.ZodInt>;
|
|
46
40
|
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
47
41
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
48
42
|
shuffleHost: z.ZodBoolean;
|
|
49
43
|
mihomoX25519: z.ZodBoolean;
|
|
50
|
-
mihomoIpVersion: z.ZodNullable<z.
|
|
44
|
+
mihomoIpVersion: z.ZodNullable<z.ZodEnum<{
|
|
51
45
|
readonly DUAL: "dual";
|
|
52
46
|
readonly IPV4: "ipv4";
|
|
53
47
|
readonly IPV6: "ipv6";
|
|
54
48
|
readonly IPV4_PREFER: "ipv4-prefer";
|
|
55
49
|
readonly IPV6_PREFER: "ipv6-prefer";
|
|
56
50
|
}>>;
|
|
57
|
-
nodes: z.ZodArray<z.
|
|
58
|
-
xrayJsonTemplateUuid: z.ZodNullable<z.
|
|
59
|
-
excludedInternalSquads: z.ZodArray<z.
|
|
60
|
-
excludeFromSubscriptionTypes: z.ZodArray<z.
|
|
51
|
+
nodes: z.ZodArray<z.ZodUUID>;
|
|
52
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodUUID>;
|
|
53
|
+
excludedInternalSquads: z.ZodArray<z.ZodUUID>;
|
|
54
|
+
excludeFromSubscriptionTypes: z.ZodArray<z.ZodEnum<{
|
|
61
55
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
62
56
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
63
57
|
readonly MIHOMO: "MIHOMO";
|
|
64
58
|
readonly STASH: "STASH";
|
|
65
59
|
readonly CLASH: "CLASH";
|
|
66
60
|
readonly SINGBOX: "SINGBOX";
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
nodes: string[];
|
|
70
|
-
tags: string[];
|
|
71
|
-
uuid: string;
|
|
72
|
-
path: string | null;
|
|
73
|
-
port: number;
|
|
74
|
-
viewPosition: number;
|
|
75
|
-
remark: string;
|
|
76
|
-
address: string;
|
|
77
|
-
sni: string | null;
|
|
78
|
-
host: string | null;
|
|
79
|
-
alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
|
|
80
|
-
fingerprint: string | null;
|
|
81
|
-
isDisabled: boolean;
|
|
82
|
-
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
|
83
|
-
inbound: {
|
|
84
|
-
configProfileUuid: string | null;
|
|
85
|
-
configProfileInboundUuid: string | null;
|
|
86
|
-
};
|
|
87
|
-
serverDescription: string | null;
|
|
88
|
-
isHidden: boolean;
|
|
89
|
-
overrideSniFromAddress: boolean;
|
|
90
|
-
keepSniBlank: boolean;
|
|
91
|
-
vlessRouteId: number | null;
|
|
92
|
-
pinnedPeerCertSha256: string | null;
|
|
93
|
-
verifyPeerCertByName: string | null;
|
|
94
|
-
shuffleHost: boolean;
|
|
95
|
-
mihomoX25519: boolean;
|
|
96
|
-
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
97
|
-
xrayJsonTemplateUuid: string | null;
|
|
98
|
-
excludedInternalSquads: string[];
|
|
99
|
-
excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
|
|
100
|
-
xhttpExtraParams?: unknown;
|
|
101
|
-
muxParams?: unknown;
|
|
102
|
-
sockoptParams?: unknown;
|
|
103
|
-
finalMask?: unknown;
|
|
104
|
-
}, {
|
|
105
|
-
nodes: string[];
|
|
106
|
-
uuid: string;
|
|
107
|
-
path: string | null;
|
|
108
|
-
port: number;
|
|
109
|
-
viewPosition: number;
|
|
110
|
-
remark: string;
|
|
111
|
-
address: string;
|
|
112
|
-
sni: string | null;
|
|
113
|
-
host: string | null;
|
|
114
|
-
alpn: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null;
|
|
115
|
-
fingerprint: string | null;
|
|
116
|
-
isDisabled: boolean;
|
|
117
|
-
inbound: {
|
|
118
|
-
configProfileUuid: string | null;
|
|
119
|
-
configProfileInboundUuid: string | null;
|
|
120
|
-
};
|
|
121
|
-
serverDescription: string | null;
|
|
122
|
-
vlessRouteId: number | null;
|
|
123
|
-
pinnedPeerCertSha256: string | null;
|
|
124
|
-
verifyPeerCertByName: string | null;
|
|
125
|
-
shuffleHost: boolean;
|
|
126
|
-
mihomoX25519: boolean;
|
|
127
|
-
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
128
|
-
xrayJsonTemplateUuid: string | null;
|
|
129
|
-
excludedInternalSquads: string[];
|
|
130
|
-
excludeFromSubscriptionTypes: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[];
|
|
131
|
-
tags?: string[] | undefined;
|
|
132
|
-
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
133
|
-
xhttpExtraParams?: unknown;
|
|
134
|
-
muxParams?: unknown;
|
|
135
|
-
sockoptParams?: unknown;
|
|
136
|
-
finalMask?: unknown;
|
|
137
|
-
isHidden?: boolean | undefined;
|
|
138
|
-
overrideSniFromAddress?: boolean | undefined;
|
|
139
|
-
keepSniBlank?: boolean | undefined;
|
|
140
|
-
}>;
|
|
61
|
+
}>>;
|
|
62
|
+
}, z.core.$strip>;
|
|
141
63
|
//# sourceMappingURL=hosts.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCtB,CAAC"}
|
|
@@ -5,39 +5,39 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const constants_1 = require("../constants");
|
|
6
6
|
const hosts_1 = require("../constants/hosts");
|
|
7
7
|
exports.HostsSchema = zod_1.z.object({
|
|
8
|
-
uuid: zod_1.z.
|
|
9
|
-
viewPosition: zod_1.z.
|
|
8
|
+
uuid: zod_1.z.uuid(),
|
|
9
|
+
viewPosition: zod_1.z.int(),
|
|
10
10
|
remark: zod_1.z.string(),
|
|
11
11
|
address: zod_1.z.string(),
|
|
12
|
-
port: zod_1.z.
|
|
12
|
+
port: zod_1.z.int(),
|
|
13
13
|
path: zod_1.z.string().nullable(),
|
|
14
14
|
sni: zod_1.z.string().nullable(),
|
|
15
15
|
host: zod_1.z.string().nullable(),
|
|
16
|
-
alpn: zod_1.z.
|
|
16
|
+
alpn: zod_1.z.enum(hosts_1.ALPN).nullable(),
|
|
17
17
|
fingerprint: zod_1.z.string().nullable(),
|
|
18
18
|
isDisabled: zod_1.z.boolean(),
|
|
19
|
-
securityLayer: zod_1.z.
|
|
19
|
+
securityLayer: zod_1.z.enum(hosts_1.SECURITY_LAYERS).default(hosts_1.SECURITY_LAYERS.DEFAULT),
|
|
20
20
|
xhttpExtraParams: zod_1.z.nullable(zod_1.z.unknown()),
|
|
21
21
|
muxParams: zod_1.z.nullable(zod_1.z.unknown()),
|
|
22
22
|
sockoptParams: zod_1.z.nullable(zod_1.z.unknown()),
|
|
23
23
|
finalMask: zod_1.z.nullable(zod_1.z.unknown()),
|
|
24
24
|
inbound: zod_1.z.object({
|
|
25
|
-
configProfileUuid: zod_1.z.
|
|
26
|
-
configProfileInboundUuid: zod_1.z.
|
|
25
|
+
configProfileUuid: zod_1.z.uuid().nullable(),
|
|
26
|
+
configProfileInboundUuid: zod_1.z.uuid().nullable(),
|
|
27
27
|
}),
|
|
28
28
|
serverDescription: zod_1.z.string().max(30).nullable(),
|
|
29
29
|
tags: zod_1.z.array(zod_1.z.string()).default([]),
|
|
30
30
|
isHidden: zod_1.z.boolean().default(false),
|
|
31
31
|
overrideSniFromAddress: zod_1.z.boolean().default(false),
|
|
32
32
|
keepSniBlank: zod_1.z.boolean().default(false),
|
|
33
|
-
vlessRouteId: zod_1.z.
|
|
33
|
+
vlessRouteId: zod_1.z.int().min(0).max(65535).nullable(),
|
|
34
34
|
pinnedPeerCertSha256: zod_1.z.string().nullable(),
|
|
35
35
|
verifyPeerCertByName: zod_1.z.string().nullable(),
|
|
36
36
|
shuffleHost: zod_1.z.boolean(),
|
|
37
37
|
mihomoX25519: zod_1.z.boolean(),
|
|
38
|
-
mihomoIpVersion: zod_1.z.
|
|
39
|
-
nodes: zod_1.z.array(zod_1.z.
|
|
40
|
-
xrayJsonTemplateUuid: zod_1.z.
|
|
41
|
-
excludedInternalSquads: zod_1.z.array(zod_1.z.
|
|
42
|
-
excludeFromSubscriptionTypes: zod_1.z.array(zod_1.z.
|
|
38
|
+
mihomoIpVersion: zod_1.z.enum(hosts_1.MIHOMO_IP_VERSION).nullable(),
|
|
39
|
+
nodes: zod_1.z.array(zod_1.z.uuid()),
|
|
40
|
+
xrayJsonTemplateUuid: zod_1.z.uuid().nullable(),
|
|
41
|
+
excludedInternalSquads: zod_1.z.array(zod_1.z.uuid()),
|
|
42
|
+
excludeFromSubscriptionTypes: zod_1.z.array(zod_1.z.enum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE)),
|
|
43
43
|
});
|
|
@@ -7,27 +7,7 @@ export declare const HwidUserDeviceSchema: z.ZodObject<{
|
|
|
7
7
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
8
8
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
9
9
|
requestIp: z.ZodNullable<z.ZodString>;
|
|
10
|
-
createdAt: z.
|
|
11
|
-
updatedAt: z.
|
|
12
|
-
},
|
|
13
|
-
hwid: string;
|
|
14
|
-
createdAt: Date;
|
|
15
|
-
updatedAt: Date;
|
|
16
|
-
userId: number;
|
|
17
|
-
platform: string | null;
|
|
18
|
-
osVersion: string | null;
|
|
19
|
-
deviceModel: string | null;
|
|
20
|
-
userAgent: string | null;
|
|
21
|
-
requestIp: string | null;
|
|
22
|
-
}, {
|
|
23
|
-
hwid: string;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
updatedAt: string;
|
|
26
|
-
userId: number;
|
|
27
|
-
platform: string | null;
|
|
28
|
-
osVersion: string | null;
|
|
29
|
-
deviceModel: string | null;
|
|
30
|
-
userAgent: string | null;
|
|
31
|
-
requestIp: string | null;
|
|
32
|
-
}>;
|
|
10
|
+
createdAt: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>;
|
|
11
|
+
updatedAt: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
33
13
|
//# sourceMappingURL=hwid-user-device.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hwid-user-device.schema.d.ts","sourceRoot":"","sources":["../../../models/hwid-user-device.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"hwid-user-device.schema.d.ts","sourceRoot":"","sources":["../../../models/hwid-user-device.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;iBAa/B,CAAC"}
|
|
@@ -10,12 +10,8 @@ exports.HwidUserDeviceSchema = zod_1.z.object({
|
|
|
10
10
|
deviceModel: zod_1.z.nullable(zod_1.z.string()),
|
|
11
11
|
userAgent: zod_1.z.nullable(zod_1.z.string()),
|
|
12
12
|
requestIp: zod_1.z.nullable(zod_1.z.string()),
|
|
13
|
-
createdAt: zod_1.z
|
|
14
|
-
.string()
|
|
15
|
-
.datetime()
|
|
13
|
+
createdAt: zod_1.z.iso.datetime()
|
|
16
14
|
.transform((str) => new Date(str)),
|
|
17
|
-
updatedAt: zod_1.z
|
|
18
|
-
.string()
|
|
19
|
-
.datetime()
|
|
15
|
+
updatedAt: zod_1.z.iso.datetime()
|
|
20
16
|
.transform((str) => new Date(str)),
|
|
21
17
|
});
|