@remnawave/backend-contract 0.7.26 → 2.0.0-alpha.10
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/api/controllers/config-profiles.d.ts +11 -0
- package/build/backend/api/controllers/config-profiles.d.ts.map +1 -0
- package/build/backend/api/controllers/config-profiles.js +13 -0
- package/build/backend/api/controllers/index.d.ts +3 -2
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +3 -2
- package/build/backend/api/controllers/infra-billing.d.ts +16 -0
- package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
- package/build/backend/api/controllers/infra-billing.js +22 -0
- package/build/backend/api/controllers/internal-squads.d.ts +9 -0
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -0
- package/build/backend/api/controllers/internal-squads.js +11 -0
- package/build/backend/api/controllers/users.d.ts +2 -2
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +2 -2
- package/build/backend/api/routes.d.ts +32 -16
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +32 -16
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +161 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.js +24 -0
- package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts +33 -0
- package/build/backend/commands/config-profiles/delete-config-profile.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/delete-config-profile.command.js +20 -0
- package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts +93 -0
- package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/get-all-inbounds.command.js +19 -0
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +154 -0
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.js +19 -0
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +203 -0
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/get-config-profiles.command.js +19 -0
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts +101 -0
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +22 -0
- package/build/backend/commands/config-profiles/index.d.ts +8 -0
- package/build/backend/commands/config-profiles/index.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/index.js +23 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +161 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.js +20 -0
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +10 -10
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +10 -10
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +10 -10
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +16 -13
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.js +2 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +10 -10
- package/build/backend/commands/hosts/create.command.d.ts +18 -15
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +9 -2
- package/build/backend/commands/hosts/get-all.command.d.ts +10 -10
- package/build/backend/commands/hosts/get-one.command.d.ts +10 -10
- package/build/backend/commands/hosts/reorder.command.d.ts +2 -2
- package/build/backend/commands/hosts/update.command.d.ts +20 -17
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +7 -1
- package/build/backend/commands/index.d.ts +3 -2
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +3 -2
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +123 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +117 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +156 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/backend/commands/infra-billing/index.d.ts +6 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
- package/build/backend/commands/{inbounds/bulk → infra-billing}/index.js +5 -4
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +126 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +145 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.js +24 -0
- package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/delete-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/delete-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts +142 -0
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +1 -0
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..js +19 -0
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +187 -0
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/get-internal-squads.command.js +19 -0
- package/build/backend/commands/internal-squads/index.d.ts +6 -0
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -0
- package/build/backend/commands/{xray → internal-squads}/index.js +5 -2
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +145 -0
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/update-internal-squad.command.js +20 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts +184 -22
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +184 -22
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +260 -24
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +199 -31
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +5 -3
- package/build/backend/commands/nodes/get-all.command.d.ts +184 -22
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +184 -22
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/stats/get-realtime-usage.command.d.ts +4 -4
- package/build/backend/commands/nodes/update.command.d.ts +275 -33
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +5 -3
- package/build/backend/commands/users/actions/disable-user.command.d.ts +12 -38
- package/build/backend/commands/users/actions/disable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/enable-user.command.d.ts +12 -38
- package/build/backend/commands/users/actions/enable-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/index.d.ts +0 -1
- package/build/backend/commands/users/actions/index.d.ts.map +1 -1
- package/build/backend/commands/users/actions/index.js +0 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +12 -38
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts.map +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +12 -38
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/{bulk-update-users-inbounds.command.d.ts → bulk-update-users-squads.command.d.ts} +7 -7
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.d.ts.map +1 -0
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.js +23 -0
- package/build/backend/commands/users/bulk/index.d.ts +1 -1
- package/build/backend/commands/users/bulk/index.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/index.js +1 -1
- package/build/backend/commands/users/create-user.command.d.ts +15 -47
- package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/create-user.command.js +5 -16
- package/build/backend/commands/users/get-all-users.command.d.ts +16 -50
- package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +12 -38
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +12 -38
- 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-tag.command.d.ts +12 -38
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +12 -38
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +12 -38
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/index.d.ts +0 -1
- package/build/backend/commands/users/get-by/index.d.ts.map +1 -1
- package/build/backend/commands/users/get-by/index.js +0 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +114 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +31 -0
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +12 -38
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/users/index.d.ts +1 -0
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +1 -0
- package/build/backend/commands/users/update-user.command.d.ts +19 -55
- package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
- package/build/backend/commands/users/update-user.command.js +5 -5
- package/build/backend/constants/errors/errors.d.ts +115 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +115 -0
- package/build/backend/models/base-internal-squad.schema.d.ts +12 -0
- package/build/backend/models/base-internal-squad.schema.d.ts.map +1 -0
- package/build/backend/models/base-internal-squad.schema.js +8 -0
- package/build/backend/models/{inbounds.schema.d.ts → config-profile-inbounds.schema.d.ts} +11 -2
- package/build/backend/models/config-profile-inbounds.schema.d.ts.map +1 -0
- package/build/{frontend/models/inbounds.schema.js → backend/models/config-profile-inbounds.schema.js} +5 -2
- package/build/backend/models/config-profile.schema.d.ts +92 -0
- package/build/backend/models/config-profile.schema.d.ts.map +1 -0
- package/build/backend/models/config-profile.schema.js +24 -0
- package/build/backend/models/extented-users.schema.d.ts +8 -26
- package/build/backend/models/extented-users.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.d.ts +6 -6
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +2 -2
- package/build/backend/models/index.d.ts +5 -2
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +5 -2
- package/build/backend/models/infra-provider.schema.d.ts +65 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
- package/build/backend/models/infra-provider.schema.js +27 -0
- package/build/backend/models/internal-squad.schema.d.ts +84 -0
- package/build/backend/models/internal-squad.schema.d.ts.map +1 -0
- package/build/backend/models/internal-squad.schema.js +22 -0
- package/build/backend/models/nodes.schema.d.ts +130 -12
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +6 -2
- package/build/backend/models/users.schema.d.ts +8 -26
- package/build/backend/models/users.schema.d.ts.map +1 -1
- package/build/backend/models/users.schema.js +2 -3
- package/build/frontend/api/controllers/config-profiles.js +13 -0
- package/build/frontend/api/controllers/index.js +3 -2
- package/build/frontend/api/controllers/infra-billing.js +22 -0
- package/build/frontend/api/controllers/internal-squads.js +11 -0
- package/build/frontend/api/controllers/users.js +2 -2
- package/build/frontend/api/routes.js +32 -16
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +24 -0
- package/build/frontend/commands/config-profiles/delete-config-profile.command.js +20 -0
- package/build/frontend/commands/config-profiles/get-all-inbounds.command.js +19 -0
- package/build/frontend/commands/config-profiles/get-config-profile-by-uuid.command.js +19 -0
- package/build/frontend/commands/config-profiles/get-config-profiles.command.js +19 -0
- package/build/frontend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +22 -0
- package/build/frontend/commands/config-profiles/index.js +23 -0
- package/build/frontend/commands/config-profiles/update-config-profile.command.js +20 -0
- package/build/frontend/commands/hosts/bulk/set-inbound-to-many-hosts.command.js +2 -1
- package/build/frontend/commands/hosts/create.command.js +9 -2
- package/build/frontend/commands/hosts/update.command.js +7 -1
- package/build/frontend/commands/index.js +3 -2
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/frontend/commands/{inbounds/bulk → infra-billing}/index.js +5 -4
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +24 -0
- package/build/frontend/commands/internal-squads/delete-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/get-internal-squad-by-uuid..js +19 -0
- package/build/frontend/commands/internal-squads/get-internal-squads.command.js +19 -0
- package/build/{backend/commands/inbounds → frontend/commands/internal-squads}/index.js +5 -3
- package/build/frontend/commands/internal-squads/update-internal-squad.command.js +20 -0
- package/build/frontend/commands/nodes/create.command.js +5 -3
- package/build/frontend/commands/nodes/update.command.js +5 -3
- package/build/frontend/commands/users/actions/index.js +0 -1
- package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +23 -0
- package/build/frontend/commands/users/bulk/index.js +1 -1
- package/build/frontend/commands/users/create-user.command.js +5 -16
- package/build/frontend/commands/users/get-by/index.js +0 -1
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +31 -0
- package/build/frontend/commands/users/index.js +1 -0
- package/build/frontend/commands/users/update-user.command.js +5 -5
- package/build/frontend/constants/errors/errors.js +115 -0
- package/build/frontend/models/base-internal-squad.schema.js +8 -0
- package/build/{backend/models/inbounds.schema.js → frontend/models/config-profile-inbounds.schema.js} +5 -2
- package/build/frontend/models/config-profile.schema.js +24 -0
- package/build/frontend/models/hosts.schema.js +2 -2
- package/build/frontend/models/index.js +5 -2
- package/build/frontend/models/infra-provider.schema.js +27 -0
- package/build/frontend/models/internal-squad.schema.js +22 -0
- package/build/frontend/models/nodes.schema.js +6 -2
- package/build/frontend/models/users.schema.js +2 -3
- package/package.json +1 -1
- package/build/backend/api/controllers/inbounds.d.ts +0 -12
- package/build/backend/api/controllers/inbounds.d.ts.map +0 -1
- package/build/backend/api/controllers/inbounds.js +0 -14
- package/build/backend/api/controllers/xray.d.ts +0 -6
- package/build/backend/api/controllers/xray.d.ts.map +0 -1
- package/build/backend/api/controllers/xray.js +0 -8
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.d.ts +0 -33
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.js +0 -24
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.d.ts +0 -33
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.js +0 -24
- package/build/backend/commands/inbounds/bulk/index.d.ts +0 -5
- package/build/backend/commands/inbounds/bulk/index.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.d.ts +0 -33
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.js +0 -24
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.d.ts +0 -33
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.js +0 -24
- package/build/backend/commands/inbounds/get-full-inbounds.command.d.ts +0 -115
- package/build/backend/commands/inbounds/get-full-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/get-full-inbounds.command.js +0 -16
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts +0 -50
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/get-inbounds.command.js +0 -22
- package/build/backend/commands/inbounds/index.d.ts +0 -4
- package/build/backend/commands/inbounds/index.d.ts.map +0 -1
- package/build/backend/commands/users/actions/activate-all-inbounds.command.d.ts +0 -271
- package/build/backend/commands/users/actions/activate-all-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/users/actions/activate-all-inbounds.command.js +0 -19
- package/build/backend/commands/users/bulk/bulk-update-users-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/users/bulk/bulk-update-users-inbounds.command.js +0 -23
- package/build/backend/commands/users/get-by/get-user-by-subscription-uuid.command.d.ts +0 -271
- package/build/backend/commands/users/get-by/get-user-by-subscription-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-by/get-user-by-subscription-uuid.command.js +0 -19
- package/build/backend/commands/xray/get-config.command.d.ts +0 -25
- package/build/backend/commands/xray/get-config.command.d.ts.map +0 -1
- package/build/backend/commands/xray/get-config.command.js +0 -17
- package/build/backend/commands/xray/index.d.ts +0 -3
- package/build/backend/commands/xray/index.d.ts.map +0 -1
- package/build/backend/commands/xray/update-config.command.d.ts +0 -27
- package/build/backend/commands/xray/update-config.command.d.ts.map +0 -1
- package/build/backend/commands/xray/update-config.command.js +0 -18
- package/build/backend/models/full-inbounds.schema.d.ts +0 -67
- package/build/backend/models/full-inbounds.schema.d.ts.map +0 -1
- package/build/backend/models/full-inbounds.schema.js +0 -21
- package/build/backend/models/inbounds.schema.d.ts.map +0 -1
- package/build/frontend/api/controllers/inbounds.js +0 -14
- package/build/frontend/api/controllers/xray.js +0 -8
- package/build/frontend/commands/inbounds/bulk/add-inbound-to-nodes.command.js +0 -24
- package/build/frontend/commands/inbounds/bulk/add-inbound-to-users.command.js +0 -24
- package/build/frontend/commands/inbounds/bulk/remove-inbound-from-nodes.command.js +0 -24
- package/build/frontend/commands/inbounds/bulk/remove-inbound-from-users.command.js +0 -24
- package/build/frontend/commands/inbounds/get-full-inbounds.command.js +0 -16
- package/build/frontend/commands/inbounds/get-inbounds.command.js +0 -22
- package/build/frontend/commands/inbounds/index.js +0 -19
- package/build/frontend/commands/users/actions/activate-all-inbounds.command.js +0 -19
- package/build/frontend/commands/users/bulk/bulk-update-users-inbounds.command.js +0 -23
- package/build/frontend/commands/users/get-by/get-user-by-subscription-uuid.command.js +0 -19
- package/build/frontend/commands/xray/get-config.command.js +0 -17
- package/build/frontend/commands/xray/index.js +0 -18
- package/build/frontend/commands/xray/update-config.command.js +0 -18
- package/build/frontend/models/full-inbounds.schema.js +0 -21
@@ -32,25 +32,99 @@ export declare namespace ReorderNodeCommand {
|
|
32
32
|
totalRam: z.ZodNullable<z.ZodString>;
|
33
33
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
34
34
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
35
|
-
|
35
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
36
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
36
37
|
uuid: z.ZodString;
|
38
|
+
profileUuid: z.ZodString;
|
37
39
|
tag: z.ZodString;
|
38
40
|
type: z.ZodString;
|
39
41
|
network: z.ZodNullable<z.ZodString>;
|
40
42
|
security: z.ZodNullable<z.ZodString>;
|
43
|
+
port: z.ZodNullable<z.ZodNumber>;
|
44
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
41
45
|
}, "strip", z.ZodTypeAny, {
|
42
46
|
type: string;
|
43
47
|
uuid: string;
|
48
|
+
profileUuid: string;
|
44
49
|
tag: string;
|
45
50
|
network: string | null;
|
46
51
|
security: string | null;
|
52
|
+
port: number | null;
|
53
|
+
rawInbound?: unknown;
|
47
54
|
}, {
|
48
55
|
type: string;
|
49
56
|
uuid: string;
|
57
|
+
profileUuid: string;
|
50
58
|
tag: string;
|
51
59
|
network: string | null;
|
52
60
|
security: string | null;
|
53
|
-
|
61
|
+
port: number | null;
|
62
|
+
rawInbound?: unknown;
|
63
|
+
}>, "many">>;
|
64
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
65
|
+
provider: z.ZodNullable<z.ZodObject<{
|
66
|
+
uuid: z.ZodString;
|
67
|
+
name: z.ZodString;
|
68
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
69
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
70
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
71
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
72
|
+
billingHistory: z.ZodObject<{
|
73
|
+
totalAmount: z.ZodNumber;
|
74
|
+
totalBills: z.ZodNumber;
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
76
|
+
totalAmount: number;
|
77
|
+
totalBills: number;
|
78
|
+
}, {
|
79
|
+
totalAmount: number;
|
80
|
+
totalBills: number;
|
81
|
+
}>;
|
82
|
+
billingNodes: z.ZodArray<z.ZodObject<{
|
83
|
+
nodeUuid: z.ZodString;
|
84
|
+
name: z.ZodString;
|
85
|
+
countryCode: z.ZodString;
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
87
|
+
name: string;
|
88
|
+
countryCode: string;
|
89
|
+
nodeUuid: string;
|
90
|
+
}, {
|
91
|
+
name: string;
|
92
|
+
countryCode: string;
|
93
|
+
nodeUuid: string;
|
94
|
+
}>, "many">;
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
96
|
+
uuid: string;
|
97
|
+
createdAt: Date;
|
98
|
+
updatedAt: Date;
|
99
|
+
name: string;
|
100
|
+
faviconLink: string | null;
|
101
|
+
loginUrl: string | null;
|
102
|
+
billingHistory: {
|
103
|
+
totalAmount: number;
|
104
|
+
totalBills: number;
|
105
|
+
};
|
106
|
+
billingNodes: {
|
107
|
+
name: string;
|
108
|
+
countryCode: string;
|
109
|
+
nodeUuid: string;
|
110
|
+
}[];
|
111
|
+
}, {
|
112
|
+
uuid: string;
|
113
|
+
createdAt: string;
|
114
|
+
updatedAt: string;
|
115
|
+
name: string;
|
116
|
+
faviconLink: string | null;
|
117
|
+
loginUrl: string | null;
|
118
|
+
billingHistory: {
|
119
|
+
totalAmount: number;
|
120
|
+
totalBills: number;
|
121
|
+
};
|
122
|
+
billingNodes: {
|
123
|
+
name: string;
|
124
|
+
countryCode: string;
|
125
|
+
nodeUuid: string;
|
126
|
+
}[];
|
127
|
+
}>>;
|
54
128
|
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
55
129
|
uuid: string;
|
56
130
|
viewPosition: number;
|
@@ -99,35 +173,110 @@ export declare namespace ReorderNodeCommand {
|
|
99
173
|
totalRam: z.ZodNullable<z.ZodString>;
|
100
174
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
101
175
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
102
|
-
|
176
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
177
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
103
178
|
uuid: z.ZodString;
|
179
|
+
profileUuid: z.ZodString;
|
104
180
|
tag: z.ZodString;
|
105
181
|
type: z.ZodString;
|
106
182
|
network: z.ZodNullable<z.ZodString>;
|
107
183
|
security: z.ZodNullable<z.ZodString>;
|
184
|
+
port: z.ZodNullable<z.ZodNumber>;
|
185
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
108
186
|
}, "strip", z.ZodTypeAny, {
|
109
187
|
type: string;
|
110
188
|
uuid: string;
|
189
|
+
profileUuid: string;
|
111
190
|
tag: string;
|
112
191
|
network: string | null;
|
113
192
|
security: string | null;
|
193
|
+
port: number | null;
|
194
|
+
rawInbound?: unknown;
|
114
195
|
}, {
|
115
196
|
type: string;
|
116
197
|
uuid: string;
|
198
|
+
profileUuid: string;
|
117
199
|
tag: string;
|
118
200
|
network: string | null;
|
119
201
|
security: string | null;
|
120
|
-
|
202
|
+
port: number | null;
|
203
|
+
rawInbound?: unknown;
|
204
|
+
}>, "many">>;
|
205
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
206
|
+
provider: z.ZodNullable<z.ZodObject<{
|
207
|
+
uuid: z.ZodString;
|
208
|
+
name: z.ZodString;
|
209
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
210
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
211
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
212
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
213
|
+
billingHistory: z.ZodObject<{
|
214
|
+
totalAmount: z.ZodNumber;
|
215
|
+
totalBills: z.ZodNumber;
|
216
|
+
}, "strip", z.ZodTypeAny, {
|
217
|
+
totalAmount: number;
|
218
|
+
totalBills: number;
|
219
|
+
}, {
|
220
|
+
totalAmount: number;
|
221
|
+
totalBills: number;
|
222
|
+
}>;
|
223
|
+
billingNodes: z.ZodArray<z.ZodObject<{
|
224
|
+
nodeUuid: z.ZodString;
|
225
|
+
name: z.ZodString;
|
226
|
+
countryCode: z.ZodString;
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
228
|
+
name: string;
|
229
|
+
countryCode: string;
|
230
|
+
nodeUuid: string;
|
231
|
+
}, {
|
232
|
+
name: string;
|
233
|
+
countryCode: string;
|
234
|
+
nodeUuid: string;
|
235
|
+
}>, "many">;
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
237
|
+
uuid: string;
|
238
|
+
createdAt: Date;
|
239
|
+
updatedAt: Date;
|
240
|
+
name: string;
|
241
|
+
faviconLink: string | null;
|
242
|
+
loginUrl: string | null;
|
243
|
+
billingHistory: {
|
244
|
+
totalAmount: number;
|
245
|
+
totalBills: number;
|
246
|
+
};
|
247
|
+
billingNodes: {
|
248
|
+
name: string;
|
249
|
+
countryCode: string;
|
250
|
+
nodeUuid: string;
|
251
|
+
}[];
|
252
|
+
}, {
|
253
|
+
uuid: string;
|
254
|
+
createdAt: string;
|
255
|
+
updatedAt: string;
|
256
|
+
name: string;
|
257
|
+
faviconLink: string | null;
|
258
|
+
loginUrl: string | null;
|
259
|
+
billingHistory: {
|
260
|
+
totalAmount: number;
|
261
|
+
totalBills: number;
|
262
|
+
};
|
263
|
+
billingNodes: {
|
264
|
+
name: string;
|
265
|
+
countryCode: string;
|
266
|
+
nodeUuid: string;
|
267
|
+
}[];
|
268
|
+
}>>;
|
121
269
|
}, "strip", z.ZodTypeAny, {
|
122
270
|
uuid: string;
|
123
271
|
createdAt: Date;
|
124
272
|
updatedAt: Date;
|
125
|
-
|
273
|
+
name: string;
|
126
274
|
port: number | null;
|
275
|
+
countryCode: string;
|
276
|
+
trafficLimitBytes: number | null;
|
127
277
|
viewPosition: number;
|
128
278
|
address: string;
|
129
279
|
isDisabled: boolean;
|
130
|
-
name: string;
|
131
280
|
isConnected: boolean;
|
132
281
|
isConnecting: boolean;
|
133
282
|
isNodeOnline: boolean;
|
@@ -141,28 +290,50 @@ export declare namespace ReorderNodeCommand {
|
|
141
290
|
trafficUsedBytes: number | null;
|
142
291
|
notifyPercent: number | null;
|
143
292
|
usersOnline: number | null;
|
144
|
-
countryCode: string;
|
145
293
|
consumptionMultiplier: number;
|
146
294
|
cpuCount: number | null;
|
147
295
|
cpuModel: string | null;
|
148
296
|
totalRam: string | null;
|
149
|
-
|
297
|
+
activeConfigProfileUuid: string | null;
|
298
|
+
activeInbounds: {
|
150
299
|
type: string;
|
151
300
|
uuid: string;
|
301
|
+
profileUuid: string;
|
152
302
|
tag: string;
|
153
303
|
network: string | null;
|
154
304
|
security: string | null;
|
155
|
-
|
305
|
+
port: number | null;
|
306
|
+
rawInbound?: unknown;
|
307
|
+
}[] | null;
|
308
|
+
providerUuid: string | null;
|
309
|
+
provider: {
|
310
|
+
uuid: string;
|
311
|
+
createdAt: Date;
|
312
|
+
updatedAt: Date;
|
313
|
+
name: string;
|
314
|
+
faviconLink: string | null;
|
315
|
+
loginUrl: string | null;
|
316
|
+
billingHistory: {
|
317
|
+
totalAmount: number;
|
318
|
+
totalBills: number;
|
319
|
+
};
|
320
|
+
billingNodes: {
|
321
|
+
name: string;
|
322
|
+
countryCode: string;
|
323
|
+
nodeUuid: string;
|
324
|
+
}[];
|
325
|
+
} | null;
|
156
326
|
}, {
|
157
327
|
uuid: string;
|
158
328
|
createdAt: string;
|
159
329
|
updatedAt: string;
|
160
|
-
|
330
|
+
name: string;
|
161
331
|
port: number | null;
|
332
|
+
countryCode: string;
|
333
|
+
trafficLimitBytes: number | null;
|
162
334
|
viewPosition: number;
|
163
335
|
address: string;
|
164
336
|
isDisabled: boolean;
|
165
|
-
name: string;
|
166
337
|
isConnected: boolean;
|
167
338
|
isConnecting: boolean;
|
168
339
|
isNodeOnline: boolean;
|
@@ -176,30 +347,52 @@ export declare namespace ReorderNodeCommand {
|
|
176
347
|
trafficUsedBytes: number | null;
|
177
348
|
notifyPercent: number | null;
|
178
349
|
usersOnline: number | null;
|
179
|
-
countryCode: string;
|
180
350
|
consumptionMultiplier: number;
|
181
351
|
cpuCount: number | null;
|
182
352
|
cpuModel: string | null;
|
183
353
|
totalRam: string | null;
|
184
|
-
|
354
|
+
activeConfigProfileUuid: string | null;
|
355
|
+
activeInbounds: {
|
185
356
|
type: string;
|
186
357
|
uuid: string;
|
358
|
+
profileUuid: string;
|
187
359
|
tag: string;
|
188
360
|
network: string | null;
|
189
361
|
security: string | null;
|
190
|
-
|
362
|
+
port: number | null;
|
363
|
+
rawInbound?: unknown;
|
364
|
+
}[] | null;
|
365
|
+
providerUuid: string | null;
|
366
|
+
provider: {
|
367
|
+
uuid: string;
|
368
|
+
createdAt: string;
|
369
|
+
updatedAt: string;
|
370
|
+
name: string;
|
371
|
+
faviconLink: string | null;
|
372
|
+
loginUrl: string | null;
|
373
|
+
billingHistory: {
|
374
|
+
totalAmount: number;
|
375
|
+
totalBills: number;
|
376
|
+
};
|
377
|
+
billingNodes: {
|
378
|
+
name: string;
|
379
|
+
countryCode: string;
|
380
|
+
nodeUuid: string;
|
381
|
+
}[];
|
382
|
+
} | null;
|
191
383
|
}>, "many">;
|
192
384
|
}, "strip", z.ZodTypeAny, {
|
193
385
|
response: {
|
194
386
|
uuid: string;
|
195
387
|
createdAt: Date;
|
196
388
|
updatedAt: Date;
|
197
|
-
|
389
|
+
name: string;
|
198
390
|
port: number | null;
|
391
|
+
countryCode: string;
|
392
|
+
trafficLimitBytes: number | null;
|
199
393
|
viewPosition: number;
|
200
394
|
address: string;
|
201
395
|
isDisabled: boolean;
|
202
|
-
name: string;
|
203
396
|
isConnected: boolean;
|
204
397
|
isConnecting: boolean;
|
205
398
|
isNodeOnline: boolean;
|
@@ -213,30 +406,52 @@ export declare namespace ReorderNodeCommand {
|
|
213
406
|
trafficUsedBytes: number | null;
|
214
407
|
notifyPercent: number | null;
|
215
408
|
usersOnline: number | null;
|
216
|
-
countryCode: string;
|
217
409
|
consumptionMultiplier: number;
|
218
410
|
cpuCount: number | null;
|
219
411
|
cpuModel: string | null;
|
220
412
|
totalRam: string | null;
|
221
|
-
|
413
|
+
activeConfigProfileUuid: string | null;
|
414
|
+
activeInbounds: {
|
222
415
|
type: string;
|
223
416
|
uuid: string;
|
417
|
+
profileUuid: string;
|
224
418
|
tag: string;
|
225
419
|
network: string | null;
|
226
420
|
security: string | null;
|
227
|
-
|
421
|
+
port: number | null;
|
422
|
+
rawInbound?: unknown;
|
423
|
+
}[] | null;
|
424
|
+
providerUuid: string | null;
|
425
|
+
provider: {
|
426
|
+
uuid: string;
|
427
|
+
createdAt: Date;
|
428
|
+
updatedAt: Date;
|
429
|
+
name: string;
|
430
|
+
faviconLink: string | null;
|
431
|
+
loginUrl: string | null;
|
432
|
+
billingHistory: {
|
433
|
+
totalAmount: number;
|
434
|
+
totalBills: number;
|
435
|
+
};
|
436
|
+
billingNodes: {
|
437
|
+
name: string;
|
438
|
+
countryCode: string;
|
439
|
+
nodeUuid: string;
|
440
|
+
}[];
|
441
|
+
} | null;
|
228
442
|
}[];
|
229
443
|
}, {
|
230
444
|
response: {
|
231
445
|
uuid: string;
|
232
446
|
createdAt: string;
|
233
447
|
updatedAt: string;
|
234
|
-
|
448
|
+
name: string;
|
235
449
|
port: number | null;
|
450
|
+
countryCode: string;
|
451
|
+
trafficLimitBytes: number | null;
|
236
452
|
viewPosition: number;
|
237
453
|
address: string;
|
238
454
|
isDisabled: boolean;
|
239
|
-
name: string;
|
240
455
|
isConnected: boolean;
|
241
456
|
isConnecting: boolean;
|
242
457
|
isNodeOnline: boolean;
|
@@ -250,18 +465,39 @@ export declare namespace ReorderNodeCommand {
|
|
250
465
|
trafficUsedBytes: number | null;
|
251
466
|
notifyPercent: number | null;
|
252
467
|
usersOnline: number | null;
|
253
|
-
countryCode: string;
|
254
468
|
consumptionMultiplier: number;
|
255
469
|
cpuCount: number | null;
|
256
470
|
cpuModel: string | null;
|
257
471
|
totalRam: string | null;
|
258
|
-
|
472
|
+
activeConfigProfileUuid: string | null;
|
473
|
+
activeInbounds: {
|
259
474
|
type: string;
|
260
475
|
uuid: string;
|
476
|
+
profileUuid: string;
|
261
477
|
tag: string;
|
262
478
|
network: string | null;
|
263
479
|
security: string | null;
|
264
|
-
|
480
|
+
port: number | null;
|
481
|
+
rawInbound?: unknown;
|
482
|
+
}[] | null;
|
483
|
+
providerUuid: string | null;
|
484
|
+
provider: {
|
485
|
+
uuid: string;
|
486
|
+
createdAt: string;
|
487
|
+
updatedAt: string;
|
488
|
+
name: string;
|
489
|
+
faviconLink: string | null;
|
490
|
+
loginUrl: string | null;
|
491
|
+
billingHistory: {
|
492
|
+
totalAmount: number;
|
493
|
+
totalBills: number;
|
494
|
+
};
|
495
|
+
billingNodes: {
|
496
|
+
name: string;
|
497
|
+
countryCode: string;
|
498
|
+
nodeUuid: string;
|
499
|
+
}[];
|
500
|
+
} | null;
|
265
501
|
}[];
|
266
502
|
}>;
|
267
503
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa
|
1
|
+
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|