@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
@@ -33,30 +33,30 @@ export declare namespace GetNodeUserUsageByRangeCommand {
|
|
33
33
|
date: Date;
|
34
34
|
username: string;
|
35
35
|
userUuid: string;
|
36
|
-
total: number;
|
37
36
|
nodeUuid: string;
|
37
|
+
total: number;
|
38
38
|
}, {
|
39
39
|
date: string;
|
40
40
|
username: string;
|
41
41
|
userUuid: string;
|
42
|
-
total: number;
|
43
42
|
nodeUuid: string;
|
43
|
+
total: number;
|
44
44
|
}>, "many">;
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
46
46
|
response: {
|
47
47
|
date: Date;
|
48
48
|
username: string;
|
49
49
|
userUuid: string;
|
50
|
-
total: number;
|
51
50
|
nodeUuid: string;
|
51
|
+
total: number;
|
52
52
|
}[];
|
53
53
|
}, {
|
54
54
|
response: {
|
55
55
|
date: string;
|
56
56
|
username: string;
|
57
57
|
userUuid: string;
|
58
|
-
total: number;
|
59
58
|
nodeUuid: string;
|
59
|
+
total: number;
|
60
60
|
}[];
|
61
61
|
}>;
|
62
62
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -28,8 +28,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
29
29
|
date: Date;
|
30
30
|
nodeName: string;
|
31
|
-
total: number;
|
32
31
|
nodeUuid: string;
|
32
|
+
total: number;
|
33
33
|
totalDownload: number;
|
34
34
|
totalUpload: number;
|
35
35
|
humanReadableTotal: string;
|
@@ -38,8 +38,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
38
38
|
}, {
|
39
39
|
date: string;
|
40
40
|
nodeName: string;
|
41
|
-
total: number;
|
42
41
|
nodeUuid: string;
|
42
|
+
total: number;
|
43
43
|
totalDownload: number;
|
44
44
|
totalUpload: number;
|
45
45
|
humanReadableTotal: string;
|
@@ -50,8 +50,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
50
50
|
response: {
|
51
51
|
date: Date;
|
52
52
|
nodeName: string;
|
53
|
-
total: number;
|
54
53
|
nodeUuid: string;
|
54
|
+
total: number;
|
55
55
|
totalDownload: number;
|
56
56
|
totalUpload: number;
|
57
57
|
humanReadableTotal: string;
|
@@ -62,8 +62,8 @@ export declare namespace GetNodesUsageByRangeCommand {
|
|
62
62
|
response: {
|
63
63
|
date: string;
|
64
64
|
nodeName: string;
|
65
|
-
total: number;
|
66
65
|
nodeUuid: string;
|
66
|
+
total: number;
|
67
67
|
totalDownload: number;
|
68
68
|
totalUpload: number;
|
69
69
|
humanReadableTotal: string;
|
@@ -15,8 +15,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
15
15
|
uploadSpeedBps: z.ZodNumber;
|
16
16
|
totalSpeedBps: z.ZodNumber;
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
18
|
-
nodeName: string;
|
19
18
|
countryCode: string;
|
19
|
+
nodeName: string;
|
20
20
|
nodeUuid: string;
|
21
21
|
downloadBytes: number;
|
22
22
|
uploadBytes: number;
|
@@ -25,8 +25,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
25
25
|
uploadSpeedBps: number;
|
26
26
|
totalSpeedBps: number;
|
27
27
|
}, {
|
28
|
-
nodeName: string;
|
29
28
|
countryCode: string;
|
29
|
+
nodeName: string;
|
30
30
|
nodeUuid: string;
|
31
31
|
downloadBytes: number;
|
32
32
|
uploadBytes: number;
|
@@ -37,8 +37,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
37
37
|
}>, "many">;
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
39
39
|
response: {
|
40
|
-
nodeName: string;
|
41
40
|
countryCode: string;
|
41
|
+
nodeName: string;
|
42
42
|
nodeUuid: string;
|
43
43
|
downloadBytes: number;
|
44
44
|
uploadBytes: number;
|
@@ -49,8 +49,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
49
49
|
}[];
|
50
50
|
}, {
|
51
51
|
response: {
|
52
|
-
nodeName: string;
|
53
52
|
countryCode: string;
|
53
|
+
nodeName: string;
|
54
54
|
nodeUuid: string;
|
55
55
|
downloadBytes: number;
|
56
56
|
uploadBytes: number;
|
@@ -31,25 +31,99 @@ export declare namespace UpdateNodeCommand {
|
|
31
31
|
totalRam: z.ZodNullable<z.ZodString>;
|
32
32
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
33
33
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
34
|
-
|
34
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
35
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
35
36
|
uuid: z.ZodString;
|
37
|
+
profileUuid: z.ZodString;
|
36
38
|
tag: z.ZodString;
|
37
39
|
type: z.ZodString;
|
38
40
|
network: z.ZodNullable<z.ZodString>;
|
39
41
|
security: z.ZodNullable<z.ZodString>;
|
42
|
+
port: z.ZodNullable<z.ZodNumber>;
|
43
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
40
44
|
}, "strip", z.ZodTypeAny, {
|
41
45
|
type: string;
|
42
46
|
uuid: string;
|
47
|
+
profileUuid: string;
|
43
48
|
tag: string;
|
44
49
|
network: string | null;
|
45
50
|
security: string | null;
|
51
|
+
port: number | null;
|
52
|
+
rawInbound?: unknown;
|
46
53
|
}, {
|
47
54
|
type: string;
|
48
55
|
uuid: string;
|
56
|
+
profileUuid: string;
|
49
57
|
tag: string;
|
50
58
|
network: string | null;
|
51
59
|
security: string | null;
|
52
|
-
|
60
|
+
port: number | null;
|
61
|
+
rawInbound?: unknown;
|
62
|
+
}>, "many">>;
|
63
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
64
|
+
provider: z.ZodNullable<z.ZodObject<{
|
65
|
+
uuid: z.ZodString;
|
66
|
+
name: z.ZodString;
|
67
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
68
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
69
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
70
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
71
|
+
billingHistory: z.ZodObject<{
|
72
|
+
totalAmount: z.ZodNumber;
|
73
|
+
totalBills: z.ZodNumber;
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
75
|
+
totalAmount: number;
|
76
|
+
totalBills: number;
|
77
|
+
}, {
|
78
|
+
totalAmount: number;
|
79
|
+
totalBills: number;
|
80
|
+
}>;
|
81
|
+
billingNodes: z.ZodArray<z.ZodObject<{
|
82
|
+
nodeUuid: z.ZodString;
|
83
|
+
name: z.ZodString;
|
84
|
+
countryCode: z.ZodString;
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
86
|
+
name: string;
|
87
|
+
countryCode: string;
|
88
|
+
nodeUuid: string;
|
89
|
+
}, {
|
90
|
+
name: string;
|
91
|
+
countryCode: string;
|
92
|
+
nodeUuid: string;
|
93
|
+
}>, "many">;
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
95
|
+
uuid: string;
|
96
|
+
createdAt: Date;
|
97
|
+
updatedAt: Date;
|
98
|
+
name: string;
|
99
|
+
faviconLink: string | null;
|
100
|
+
loginUrl: string | null;
|
101
|
+
billingHistory: {
|
102
|
+
totalAmount: number;
|
103
|
+
totalBills: number;
|
104
|
+
};
|
105
|
+
billingNodes: {
|
106
|
+
name: string;
|
107
|
+
countryCode: string;
|
108
|
+
nodeUuid: string;
|
109
|
+
}[];
|
110
|
+
}, {
|
111
|
+
uuid: string;
|
112
|
+
createdAt: string;
|
113
|
+
updatedAt: string;
|
114
|
+
name: string;
|
115
|
+
faviconLink: string | null;
|
116
|
+
loginUrl: string | null;
|
117
|
+
billingHistory: {
|
118
|
+
totalAmount: number;
|
119
|
+
totalBills: number;
|
120
|
+
};
|
121
|
+
billingNodes: {
|
122
|
+
name: string;
|
123
|
+
countryCode: string;
|
124
|
+
nodeUuid: string;
|
125
|
+
}[];
|
126
|
+
}>>;
|
53
127
|
}, "uuid"> & {
|
54
128
|
name: z.ZodOptional<z.ZodString>;
|
55
129
|
address: z.ZodOptional<z.ZodString>;
|
@@ -58,33 +132,39 @@ export declare namespace UpdateNodeCommand {
|
|
58
132
|
trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
|
59
133
|
notifyPercent: z.ZodOptional<z.ZodNumber>;
|
60
134
|
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
61
|
-
excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
62
135
|
countryCode: z.ZodOptional<z.ZodString>;
|
63
136
|
consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
137
|
+
activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
|
138
|
+
activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
139
|
+
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
64
140
|
}, "strip", z.ZodTypeAny, {
|
65
141
|
uuid: string;
|
66
|
-
|
142
|
+
name?: string | undefined;
|
67
143
|
port?: number | undefined;
|
144
|
+
countryCode?: string | undefined;
|
145
|
+
trafficLimitBytes?: number | undefined;
|
68
146
|
address?: string | undefined;
|
69
|
-
name?: string | undefined;
|
70
147
|
isTrafficTrackingActive?: boolean | undefined;
|
71
148
|
trafficResetDay?: number | undefined;
|
72
149
|
notifyPercent?: number | undefined;
|
73
|
-
countryCode?: string | undefined;
|
74
150
|
consumptionMultiplier?: number | undefined;
|
75
|
-
|
151
|
+
activeConfigProfileUuid?: string | undefined;
|
152
|
+
activeInbounds?: string[] | undefined;
|
153
|
+
providerUuid?: string | null | undefined;
|
76
154
|
}, {
|
77
155
|
uuid: string;
|
78
|
-
|
156
|
+
name?: string | undefined;
|
79
157
|
port?: number | undefined;
|
158
|
+
countryCode?: string | undefined;
|
159
|
+
trafficLimitBytes?: number | undefined;
|
80
160
|
address?: string | undefined;
|
81
|
-
name?: string | undefined;
|
82
161
|
isTrafficTrackingActive?: boolean | undefined;
|
83
162
|
trafficResetDay?: number | undefined;
|
84
163
|
notifyPercent?: number | undefined;
|
85
|
-
countryCode?: string | undefined;
|
86
164
|
consumptionMultiplier?: number | undefined;
|
87
|
-
|
165
|
+
activeConfigProfileUuid?: string | undefined;
|
166
|
+
activeInbounds?: string[] | undefined;
|
167
|
+
providerUuid?: string | null | undefined;
|
88
168
|
}>;
|
89
169
|
type Request = z.infer<typeof RequestSchema>;
|
90
170
|
const ResponseSchema: z.ZodObject<{
|
@@ -116,35 +196,110 @@ export declare namespace UpdateNodeCommand {
|
|
116
196
|
totalRam: z.ZodNullable<z.ZodString>;
|
117
197
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
118
198
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
119
|
-
|
199
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
200
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
120
201
|
uuid: z.ZodString;
|
202
|
+
profileUuid: z.ZodString;
|
121
203
|
tag: z.ZodString;
|
122
204
|
type: z.ZodString;
|
123
205
|
network: z.ZodNullable<z.ZodString>;
|
124
206
|
security: z.ZodNullable<z.ZodString>;
|
207
|
+
port: z.ZodNullable<z.ZodNumber>;
|
208
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
125
209
|
}, "strip", z.ZodTypeAny, {
|
126
210
|
type: string;
|
127
211
|
uuid: string;
|
212
|
+
profileUuid: string;
|
128
213
|
tag: string;
|
129
214
|
network: string | null;
|
130
215
|
security: string | null;
|
216
|
+
port: number | null;
|
217
|
+
rawInbound?: unknown;
|
131
218
|
}, {
|
132
219
|
type: string;
|
133
220
|
uuid: string;
|
221
|
+
profileUuid: string;
|
134
222
|
tag: string;
|
135
223
|
network: string | null;
|
136
224
|
security: string | null;
|
137
|
-
|
225
|
+
port: number | null;
|
226
|
+
rawInbound?: unknown;
|
227
|
+
}>, "many">>;
|
228
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
229
|
+
provider: z.ZodNullable<z.ZodObject<{
|
230
|
+
uuid: z.ZodString;
|
231
|
+
name: z.ZodString;
|
232
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
233
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
234
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
235
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
236
|
+
billingHistory: z.ZodObject<{
|
237
|
+
totalAmount: z.ZodNumber;
|
238
|
+
totalBills: z.ZodNumber;
|
239
|
+
}, "strip", z.ZodTypeAny, {
|
240
|
+
totalAmount: number;
|
241
|
+
totalBills: number;
|
242
|
+
}, {
|
243
|
+
totalAmount: number;
|
244
|
+
totalBills: number;
|
245
|
+
}>;
|
246
|
+
billingNodes: z.ZodArray<z.ZodObject<{
|
247
|
+
nodeUuid: z.ZodString;
|
248
|
+
name: z.ZodString;
|
249
|
+
countryCode: z.ZodString;
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
251
|
+
name: string;
|
252
|
+
countryCode: string;
|
253
|
+
nodeUuid: string;
|
254
|
+
}, {
|
255
|
+
name: string;
|
256
|
+
countryCode: string;
|
257
|
+
nodeUuid: string;
|
258
|
+
}>, "many">;
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
260
|
+
uuid: string;
|
261
|
+
createdAt: Date;
|
262
|
+
updatedAt: Date;
|
263
|
+
name: string;
|
264
|
+
faviconLink: string | null;
|
265
|
+
loginUrl: string | null;
|
266
|
+
billingHistory: {
|
267
|
+
totalAmount: number;
|
268
|
+
totalBills: number;
|
269
|
+
};
|
270
|
+
billingNodes: {
|
271
|
+
name: string;
|
272
|
+
countryCode: string;
|
273
|
+
nodeUuid: string;
|
274
|
+
}[];
|
275
|
+
}, {
|
276
|
+
uuid: string;
|
277
|
+
createdAt: string;
|
278
|
+
updatedAt: string;
|
279
|
+
name: string;
|
280
|
+
faviconLink: string | null;
|
281
|
+
loginUrl: string | null;
|
282
|
+
billingHistory: {
|
283
|
+
totalAmount: number;
|
284
|
+
totalBills: number;
|
285
|
+
};
|
286
|
+
billingNodes: {
|
287
|
+
name: string;
|
288
|
+
countryCode: string;
|
289
|
+
nodeUuid: string;
|
290
|
+
}[];
|
291
|
+
}>>;
|
138
292
|
}, "strip", z.ZodTypeAny, {
|
139
293
|
uuid: string;
|
140
294
|
createdAt: Date;
|
141
295
|
updatedAt: Date;
|
142
|
-
|
296
|
+
name: string;
|
143
297
|
port: number | null;
|
298
|
+
countryCode: string;
|
299
|
+
trafficLimitBytes: number | null;
|
144
300
|
viewPosition: number;
|
145
301
|
address: string;
|
146
302
|
isDisabled: boolean;
|
147
|
-
name: string;
|
148
303
|
isConnected: boolean;
|
149
304
|
isConnecting: boolean;
|
150
305
|
isNodeOnline: boolean;
|
@@ -158,28 +313,50 @@ export declare namespace UpdateNodeCommand {
|
|
158
313
|
trafficUsedBytes: number | null;
|
159
314
|
notifyPercent: number | null;
|
160
315
|
usersOnline: number | null;
|
161
|
-
countryCode: string;
|
162
316
|
consumptionMultiplier: number;
|
163
317
|
cpuCount: number | null;
|
164
318
|
cpuModel: string | null;
|
165
319
|
totalRam: string | null;
|
166
|
-
|
320
|
+
activeConfigProfileUuid: string | null;
|
321
|
+
activeInbounds: {
|
167
322
|
type: string;
|
168
323
|
uuid: string;
|
324
|
+
profileUuid: string;
|
169
325
|
tag: string;
|
170
326
|
network: string | null;
|
171
327
|
security: string | null;
|
172
|
-
|
328
|
+
port: number | null;
|
329
|
+
rawInbound?: unknown;
|
330
|
+
}[] | null;
|
331
|
+
providerUuid: string | null;
|
332
|
+
provider: {
|
333
|
+
uuid: string;
|
334
|
+
createdAt: Date;
|
335
|
+
updatedAt: Date;
|
336
|
+
name: string;
|
337
|
+
faviconLink: string | null;
|
338
|
+
loginUrl: string | null;
|
339
|
+
billingHistory: {
|
340
|
+
totalAmount: number;
|
341
|
+
totalBills: number;
|
342
|
+
};
|
343
|
+
billingNodes: {
|
344
|
+
name: string;
|
345
|
+
countryCode: string;
|
346
|
+
nodeUuid: string;
|
347
|
+
}[];
|
348
|
+
} | null;
|
173
349
|
}, {
|
174
350
|
uuid: string;
|
175
351
|
createdAt: string;
|
176
352
|
updatedAt: string;
|
177
|
-
|
353
|
+
name: string;
|
178
354
|
port: number | null;
|
355
|
+
countryCode: string;
|
356
|
+
trafficLimitBytes: number | null;
|
179
357
|
viewPosition: number;
|
180
358
|
address: string;
|
181
359
|
isDisabled: boolean;
|
182
|
-
name: string;
|
183
360
|
isConnected: boolean;
|
184
361
|
isConnecting: boolean;
|
185
362
|
isNodeOnline: boolean;
|
@@ -193,30 +370,52 @@ export declare namespace UpdateNodeCommand {
|
|
193
370
|
trafficUsedBytes: number | null;
|
194
371
|
notifyPercent: number | null;
|
195
372
|
usersOnline: number | null;
|
196
|
-
countryCode: string;
|
197
373
|
consumptionMultiplier: number;
|
198
374
|
cpuCount: number | null;
|
199
375
|
cpuModel: string | null;
|
200
376
|
totalRam: string | null;
|
201
|
-
|
377
|
+
activeConfigProfileUuid: string | null;
|
378
|
+
activeInbounds: {
|
202
379
|
type: string;
|
203
380
|
uuid: string;
|
381
|
+
profileUuid: string;
|
204
382
|
tag: string;
|
205
383
|
network: string | null;
|
206
384
|
security: string | null;
|
207
|
-
|
385
|
+
port: number | null;
|
386
|
+
rawInbound?: unknown;
|
387
|
+
}[] | null;
|
388
|
+
providerUuid: string | null;
|
389
|
+
provider: {
|
390
|
+
uuid: string;
|
391
|
+
createdAt: string;
|
392
|
+
updatedAt: string;
|
393
|
+
name: string;
|
394
|
+
faviconLink: string | null;
|
395
|
+
loginUrl: string | null;
|
396
|
+
billingHistory: {
|
397
|
+
totalAmount: number;
|
398
|
+
totalBills: number;
|
399
|
+
};
|
400
|
+
billingNodes: {
|
401
|
+
name: string;
|
402
|
+
countryCode: string;
|
403
|
+
nodeUuid: string;
|
404
|
+
}[];
|
405
|
+
} | null;
|
208
406
|
}>;
|
209
407
|
}, "strip", z.ZodTypeAny, {
|
210
408
|
response: {
|
211
409
|
uuid: string;
|
212
410
|
createdAt: Date;
|
213
411
|
updatedAt: Date;
|
214
|
-
|
412
|
+
name: string;
|
215
413
|
port: number | null;
|
414
|
+
countryCode: string;
|
415
|
+
trafficLimitBytes: number | null;
|
216
416
|
viewPosition: number;
|
217
417
|
address: string;
|
218
418
|
isDisabled: boolean;
|
219
|
-
name: string;
|
220
419
|
isConnected: boolean;
|
221
420
|
isConnecting: boolean;
|
222
421
|
isNodeOnline: boolean;
|
@@ -230,30 +429,52 @@ export declare namespace UpdateNodeCommand {
|
|
230
429
|
trafficUsedBytes: number | null;
|
231
430
|
notifyPercent: number | null;
|
232
431
|
usersOnline: number | null;
|
233
|
-
countryCode: string;
|
234
432
|
consumptionMultiplier: number;
|
235
433
|
cpuCount: number | null;
|
236
434
|
cpuModel: string | null;
|
237
435
|
totalRam: string | null;
|
238
|
-
|
436
|
+
activeConfigProfileUuid: string | null;
|
437
|
+
activeInbounds: {
|
239
438
|
type: string;
|
240
439
|
uuid: string;
|
440
|
+
profileUuid: string;
|
241
441
|
tag: string;
|
242
442
|
network: string | null;
|
243
443
|
security: string | null;
|
244
|
-
|
444
|
+
port: number | null;
|
445
|
+
rawInbound?: unknown;
|
446
|
+
}[] | null;
|
447
|
+
providerUuid: string | null;
|
448
|
+
provider: {
|
449
|
+
uuid: string;
|
450
|
+
createdAt: Date;
|
451
|
+
updatedAt: Date;
|
452
|
+
name: string;
|
453
|
+
faviconLink: string | null;
|
454
|
+
loginUrl: string | null;
|
455
|
+
billingHistory: {
|
456
|
+
totalAmount: number;
|
457
|
+
totalBills: number;
|
458
|
+
};
|
459
|
+
billingNodes: {
|
460
|
+
name: string;
|
461
|
+
countryCode: string;
|
462
|
+
nodeUuid: string;
|
463
|
+
}[];
|
464
|
+
} | null;
|
245
465
|
};
|
246
466
|
}, {
|
247
467
|
response: {
|
248
468
|
uuid: string;
|
249
469
|
createdAt: string;
|
250
470
|
updatedAt: string;
|
251
|
-
|
471
|
+
name: string;
|
252
472
|
port: number | null;
|
473
|
+
countryCode: string;
|
474
|
+
trafficLimitBytes: number | null;
|
253
475
|
viewPosition: number;
|
254
476
|
address: string;
|
255
477
|
isDisabled: boolean;
|
256
|
-
name: string;
|
257
478
|
isConnected: boolean;
|
258
479
|
isConnecting: boolean;
|
259
480
|
isNodeOnline: boolean;
|
@@ -267,18 +488,39 @@ export declare namespace UpdateNodeCommand {
|
|
267
488
|
trafficUsedBytes: number | null;
|
268
489
|
notifyPercent: number | null;
|
269
490
|
usersOnline: number | null;
|
270
|
-
countryCode: string;
|
271
491
|
consumptionMultiplier: number;
|
272
492
|
cpuCount: number | null;
|
273
493
|
cpuModel: string | null;
|
274
494
|
totalRam: string | null;
|
275
|
-
|
495
|
+
activeConfigProfileUuid: string | null;
|
496
|
+
activeInbounds: {
|
276
497
|
type: string;
|
277
498
|
uuid: string;
|
499
|
+
profileUuid: string;
|
278
500
|
tag: string;
|
279
501
|
network: string | null;
|
280
502
|
security: string | null;
|
281
|
-
|
503
|
+
port: number | null;
|
504
|
+
rawInbound?: unknown;
|
505
|
+
}[] | null;
|
506
|
+
providerUuid: string | null;
|
507
|
+
provider: {
|
508
|
+
uuid: string;
|
509
|
+
createdAt: string;
|
510
|
+
updatedAt: string;
|
511
|
+
name: string;
|
512
|
+
faviconLink: string | null;
|
513
|
+
loginUrl: string | null;
|
514
|
+
billingHistory: {
|
515
|
+
totalAmount: number;
|
516
|
+
totalBills: number;
|
517
|
+
};
|
518
|
+
billingNodes: {
|
519
|
+
name: string;
|
520
|
+
countryCode: string;
|
521
|
+
nodeUuid: string;
|
522
|
+
}[];
|
523
|
+
} | null;
|
282
524
|
};
|
283
525
|
}>;
|
284
526
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCxB,CAAC;IAEH,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"}
|
@@ -26,14 +26,16 @@ var UpdateNodeCommand;
|
|
26
26
|
.number()
|
27
27
|
.min(1, 'Traffic reset day must be greater than 0')
|
28
28
|
.max(31, 'Traffic reset day must be less than 31')),
|
29
|
-
excludedInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
30
|
-
invalid_type_error: 'Excluded inbounds must be an array of UUIDs',
|
31
|
-
})),
|
32
29
|
countryCode: zod_1.z.optional(zod_1.z.string().max(2, 'Country code must be 2 characters').toUpperCase()),
|
33
30
|
consumptionMultiplier: zod_1.z.optional(zod_1.z
|
34
31
|
.number()
|
35
32
|
.min(0.1, 'Consumption multiplier must be greater than 0')
|
36
33
|
.transform((n) => Number(n.toFixed(1)))),
|
34
|
+
activeConfigProfileUuid: zod_1.z.optional(zod_1.z.string().uuid()),
|
35
|
+
activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
36
|
+
invalid_type_error: 'Active inbounds must be an array of UUIDs',
|
37
|
+
})),
|
38
|
+
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
37
39
|
});
|
38
40
|
UpdateNodeCommand.ResponseSchema = zod_1.z.object({
|
39
41
|
response: models_1.NodesSchema,
|