@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
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./create-config-profile.command"), exports);
|
18
|
+
__exportStar(require("./delete-config-profile.command"), exports);
|
19
|
+
__exportStar(require("./get-all-inbounds.command"), exports);
|
20
|
+
__exportStar(require("./get-config-profile-by-uuid.command"), exports);
|
21
|
+
__exportStar(require("./get-config-profiles.command"), exports);
|
22
|
+
__exportStar(require("./get-inbounds-by-profile-uuid.command"), exports);
|
23
|
+
__exportStar(require("./update-config-profile.command"), exports);
|
@@ -0,0 +1,161 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare namespace UpdateConfigProfileCommand {
|
3
|
+
const url: "/api/config-profiles/";
|
4
|
+
const TSQ_url: "/api/config-profiles/";
|
5
|
+
const endpointDetails: import("../../constants").EndpointDetails;
|
6
|
+
const RequestSchema: z.ZodObject<{
|
7
|
+
uuid: z.ZodString;
|
8
|
+
config: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
10
|
+
uuid: string;
|
11
|
+
config: {} & {
|
12
|
+
[k: string]: unknown;
|
13
|
+
};
|
14
|
+
}, {
|
15
|
+
uuid: string;
|
16
|
+
config: {} & {
|
17
|
+
[k: string]: unknown;
|
18
|
+
};
|
19
|
+
}>;
|
20
|
+
type Request = z.infer<typeof RequestSchema>;
|
21
|
+
const ResponseSchema: z.ZodObject<{
|
22
|
+
response: z.ZodObject<{
|
23
|
+
uuid: z.ZodString;
|
24
|
+
name: z.ZodString;
|
25
|
+
config: z.ZodUnknown;
|
26
|
+
inbounds: z.ZodArray<z.ZodObject<{
|
27
|
+
uuid: z.ZodString;
|
28
|
+
profileUuid: z.ZodString;
|
29
|
+
tag: z.ZodString;
|
30
|
+
type: z.ZodString;
|
31
|
+
network: z.ZodNullable<z.ZodString>;
|
32
|
+
security: z.ZodNullable<z.ZodString>;
|
33
|
+
port: z.ZodNullable<z.ZodNumber>;
|
34
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
36
|
+
type: string;
|
37
|
+
uuid: string;
|
38
|
+
profileUuid: string;
|
39
|
+
tag: string;
|
40
|
+
network: string | null;
|
41
|
+
security: string | null;
|
42
|
+
port: number | null;
|
43
|
+
rawInbound?: unknown;
|
44
|
+
}, {
|
45
|
+
type: string;
|
46
|
+
uuid: string;
|
47
|
+
profileUuid: string;
|
48
|
+
tag: string;
|
49
|
+
network: string | null;
|
50
|
+
security: string | null;
|
51
|
+
port: number | null;
|
52
|
+
rawInbound?: unknown;
|
53
|
+
}>, "many">;
|
54
|
+
nodes: z.ZodArray<z.ZodObject<{
|
55
|
+
uuid: z.ZodString;
|
56
|
+
name: z.ZodString;
|
57
|
+
countryCode: z.ZodString;
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
59
|
+
uuid: string;
|
60
|
+
name: string;
|
61
|
+
countryCode: string;
|
62
|
+
}, {
|
63
|
+
uuid: string;
|
64
|
+
name: string;
|
65
|
+
countryCode: string;
|
66
|
+
}>, "many">;
|
67
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
68
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
70
|
+
inbounds: {
|
71
|
+
type: string;
|
72
|
+
uuid: string;
|
73
|
+
profileUuid: string;
|
74
|
+
tag: string;
|
75
|
+
network: string | null;
|
76
|
+
security: string | null;
|
77
|
+
port: number | null;
|
78
|
+
rawInbound?: unknown;
|
79
|
+
}[];
|
80
|
+
nodes: {
|
81
|
+
uuid: string;
|
82
|
+
name: string;
|
83
|
+
countryCode: string;
|
84
|
+
}[];
|
85
|
+
uuid: string;
|
86
|
+
createdAt: Date;
|
87
|
+
updatedAt: Date;
|
88
|
+
name: string;
|
89
|
+
config?: unknown;
|
90
|
+
}, {
|
91
|
+
inbounds: {
|
92
|
+
type: string;
|
93
|
+
uuid: string;
|
94
|
+
profileUuid: string;
|
95
|
+
tag: string;
|
96
|
+
network: string | null;
|
97
|
+
security: string | null;
|
98
|
+
port: number | null;
|
99
|
+
rawInbound?: unknown;
|
100
|
+
}[];
|
101
|
+
nodes: {
|
102
|
+
uuid: string;
|
103
|
+
name: string;
|
104
|
+
countryCode: string;
|
105
|
+
}[];
|
106
|
+
uuid: string;
|
107
|
+
createdAt: string;
|
108
|
+
updatedAt: string;
|
109
|
+
name: string;
|
110
|
+
config?: unknown;
|
111
|
+
}>;
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
113
|
+
response: {
|
114
|
+
inbounds: {
|
115
|
+
type: string;
|
116
|
+
uuid: string;
|
117
|
+
profileUuid: string;
|
118
|
+
tag: string;
|
119
|
+
network: string | null;
|
120
|
+
security: string | null;
|
121
|
+
port: number | null;
|
122
|
+
rawInbound?: unknown;
|
123
|
+
}[];
|
124
|
+
nodes: {
|
125
|
+
uuid: string;
|
126
|
+
name: string;
|
127
|
+
countryCode: string;
|
128
|
+
}[];
|
129
|
+
uuid: string;
|
130
|
+
createdAt: Date;
|
131
|
+
updatedAt: Date;
|
132
|
+
name: string;
|
133
|
+
config?: unknown;
|
134
|
+
};
|
135
|
+
}, {
|
136
|
+
response: {
|
137
|
+
inbounds: {
|
138
|
+
type: string;
|
139
|
+
uuid: string;
|
140
|
+
profileUuid: string;
|
141
|
+
tag: string;
|
142
|
+
network: string | null;
|
143
|
+
security: string | null;
|
144
|
+
port: number | null;
|
145
|
+
rawInbound?: unknown;
|
146
|
+
}[];
|
147
|
+
nodes: {
|
148
|
+
uuid: string;
|
149
|
+
name: string;
|
150
|
+
countryCode: string;
|
151
|
+
}[];
|
152
|
+
uuid: string;
|
153
|
+
createdAt: string;
|
154
|
+
updatedAt: string;
|
155
|
+
name: string;
|
156
|
+
config?: unknown;
|
157
|
+
};
|
158
|
+
}>;
|
159
|
+
type Response = z.infer<typeof ResponseSchema>;
|
160
|
+
}
|
161
|
+
//# sourceMappingURL=update-config-profile.command.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update-config-profile.command.d.ts","sourceRoot":"","sources":["../../../../commands/config-profiles/update-config-profile.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;MAGxB,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"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateConfigProfileCommand = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const api_1 = require("../../api");
|
6
|
+
const constants_1 = require("../../constants");
|
7
|
+
const models_1 = require("../../models");
|
8
|
+
var UpdateConfigProfileCommand;
|
9
|
+
(function (UpdateConfigProfileCommand) {
|
10
|
+
UpdateConfigProfileCommand.url = api_1.REST_API.CONFIG_PROFILES.UPDATE;
|
11
|
+
UpdateConfigProfileCommand.TSQ_url = UpdateConfigProfileCommand.url;
|
12
|
+
UpdateConfigProfileCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.CONFIG_PROFILES_ROUTES.UPDATE, 'patch', 'Update Core Config in specific config profile');
|
13
|
+
UpdateConfigProfileCommand.RequestSchema = zod_1.z.object({
|
14
|
+
uuid: zod_1.z.string().uuid('UUID must be a valid UUID'),
|
15
|
+
config: zod_1.z.object({}).passthrough(),
|
16
|
+
});
|
17
|
+
UpdateConfigProfileCommand.ResponseSchema = zod_1.z.object({
|
18
|
+
response: models_1.ConfigProfileSchema,
|
19
|
+
});
|
20
|
+
})(UpdateConfigProfileCommand || (exports.UpdateConfigProfileCommand = UpdateConfigProfileCommand = {}));
|
@@ -14,7 +14,6 @@ export declare namespace BulkDeleteHostsCommand {
|
|
14
14
|
const ResponseSchema: z.ZodObject<{
|
15
15
|
response: z.ZodArray<z.ZodObject<{
|
16
16
|
uuid: z.ZodString;
|
17
|
-
inboundUuid: z.ZodString;
|
18
17
|
viewPosition: z.ZodNumber;
|
19
18
|
remark: z.ZodString;
|
20
19
|
address: z.ZodString;
|
@@ -24,7 +23,6 @@ export declare namespace BulkDeleteHostsCommand {
|
|
24
23
|
host: z.ZodNullable<z.ZodString>;
|
25
24
|
alpn: z.ZodNullable<z.ZodString>;
|
26
25
|
fingerprint: z.ZodNullable<z.ZodString>;
|
27
|
-
allowInsecure: z.ZodDefault<z.ZodBoolean>;
|
28
26
|
isDisabled: z.ZodDefault<z.ZodBoolean>;
|
29
27
|
securityLayer: z.ZodDefault<z.ZodNativeEnum<{
|
30
28
|
readonly DEFAULT: "DEFAULT";
|
@@ -32,11 +30,12 @@ export declare namespace BulkDeleteHostsCommand {
|
|
32
30
|
readonly NONE: "NONE";
|
33
31
|
}>>;
|
34
32
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
33
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
34
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
36
36
|
path: string | null;
|
37
37
|
uuid: string;
|
38
38
|
port: number;
|
39
|
-
inboundUuid: string;
|
40
39
|
viewPosition: number;
|
41
40
|
remark: string;
|
42
41
|
address: string;
|
@@ -44,15 +43,15 @@ export declare namespace BulkDeleteHostsCommand {
|
|
44
43
|
host: string | null;
|
45
44
|
alpn: string | null;
|
46
45
|
fingerprint: string | null;
|
47
|
-
allowInsecure: boolean;
|
48
46
|
isDisabled: boolean;
|
49
47
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
48
|
+
configProfileUuid: string | null;
|
49
|
+
configProfileInboundUuid: string | null;
|
50
50
|
xHttpExtraParams?: unknown;
|
51
51
|
}, {
|
52
52
|
path: string | null;
|
53
53
|
uuid: string;
|
54
54
|
port: number;
|
55
|
-
inboundUuid: string;
|
56
55
|
viewPosition: number;
|
57
56
|
remark: string;
|
58
57
|
address: string;
|
@@ -60,7 +59,8 @@ export declare namespace BulkDeleteHostsCommand {
|
|
60
59
|
host: string | null;
|
61
60
|
alpn: string | null;
|
62
61
|
fingerprint: string | null;
|
63
|
-
|
62
|
+
configProfileUuid: string | null;
|
63
|
+
configProfileInboundUuid: string | null;
|
64
64
|
isDisabled?: boolean | undefined;
|
65
65
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
66
66
|
xHttpExtraParams?: unknown;
|
@@ -70,7 +70,6 @@ export declare namespace BulkDeleteHostsCommand {
|
|
70
70
|
path: string | null;
|
71
71
|
uuid: string;
|
72
72
|
port: number;
|
73
|
-
inboundUuid: string;
|
74
73
|
viewPosition: number;
|
75
74
|
remark: string;
|
76
75
|
address: string;
|
@@ -78,9 +77,10 @@ export declare namespace BulkDeleteHostsCommand {
|
|
78
77
|
host: string | null;
|
79
78
|
alpn: string | null;
|
80
79
|
fingerprint: string | null;
|
81
|
-
allowInsecure: boolean;
|
82
80
|
isDisabled: boolean;
|
83
81
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
82
|
+
configProfileUuid: string | null;
|
83
|
+
configProfileInboundUuid: string | null;
|
84
84
|
xHttpExtraParams?: unknown;
|
85
85
|
}[];
|
86
86
|
}, {
|
@@ -88,7 +88,6 @@ export declare namespace BulkDeleteHostsCommand {
|
|
88
88
|
path: string | null;
|
89
89
|
uuid: string;
|
90
90
|
port: number;
|
91
|
-
inboundUuid: string;
|
92
91
|
viewPosition: number;
|
93
92
|
remark: string;
|
94
93
|
address: string;
|
@@ -96,7 +95,8 @@ export declare namespace BulkDeleteHostsCommand {
|
|
96
95
|
host: string | null;
|
97
96
|
alpn: string | null;
|
98
97
|
fingerprint: string | null;
|
99
|
-
|
98
|
+
configProfileUuid: string | null;
|
99
|
+
configProfileInboundUuid: string | null;
|
100
100
|
isDisabled?: boolean | undefined;
|
101
101
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
102
102
|
xHttpExtraParams?: unknown;
|
@@ -14,7 +14,6 @@ export declare namespace BulkDisableHostsCommand {
|
|
14
14
|
const ResponseSchema: z.ZodObject<{
|
15
15
|
response: z.ZodArray<z.ZodObject<{
|
16
16
|
uuid: z.ZodString;
|
17
|
-
inboundUuid: z.ZodString;
|
18
17
|
viewPosition: z.ZodNumber;
|
19
18
|
remark: z.ZodString;
|
20
19
|
address: z.ZodString;
|
@@ -24,7 +23,6 @@ export declare namespace BulkDisableHostsCommand {
|
|
24
23
|
host: z.ZodNullable<z.ZodString>;
|
25
24
|
alpn: z.ZodNullable<z.ZodString>;
|
26
25
|
fingerprint: z.ZodNullable<z.ZodString>;
|
27
|
-
allowInsecure: z.ZodDefault<z.ZodBoolean>;
|
28
26
|
isDisabled: z.ZodDefault<z.ZodBoolean>;
|
29
27
|
securityLayer: z.ZodDefault<z.ZodNativeEnum<{
|
30
28
|
readonly DEFAULT: "DEFAULT";
|
@@ -32,11 +30,12 @@ export declare namespace BulkDisableHostsCommand {
|
|
32
30
|
readonly NONE: "NONE";
|
33
31
|
}>>;
|
34
32
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
33
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
34
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
36
36
|
path: string | null;
|
37
37
|
uuid: string;
|
38
38
|
port: number;
|
39
|
-
inboundUuid: string;
|
40
39
|
viewPosition: number;
|
41
40
|
remark: string;
|
42
41
|
address: string;
|
@@ -44,15 +43,15 @@ export declare namespace BulkDisableHostsCommand {
|
|
44
43
|
host: string | null;
|
45
44
|
alpn: string | null;
|
46
45
|
fingerprint: string | null;
|
47
|
-
allowInsecure: boolean;
|
48
46
|
isDisabled: boolean;
|
49
47
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
48
|
+
configProfileUuid: string | null;
|
49
|
+
configProfileInboundUuid: string | null;
|
50
50
|
xHttpExtraParams?: unknown;
|
51
51
|
}, {
|
52
52
|
path: string | null;
|
53
53
|
uuid: string;
|
54
54
|
port: number;
|
55
|
-
inboundUuid: string;
|
56
55
|
viewPosition: number;
|
57
56
|
remark: string;
|
58
57
|
address: string;
|
@@ -60,7 +59,8 @@ export declare namespace BulkDisableHostsCommand {
|
|
60
59
|
host: string | null;
|
61
60
|
alpn: string | null;
|
62
61
|
fingerprint: string | null;
|
63
|
-
|
62
|
+
configProfileUuid: string | null;
|
63
|
+
configProfileInboundUuid: string | null;
|
64
64
|
isDisabled?: boolean | undefined;
|
65
65
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
66
66
|
xHttpExtraParams?: unknown;
|
@@ -70,7 +70,6 @@ export declare namespace BulkDisableHostsCommand {
|
|
70
70
|
path: string | null;
|
71
71
|
uuid: string;
|
72
72
|
port: number;
|
73
|
-
inboundUuid: string;
|
74
73
|
viewPosition: number;
|
75
74
|
remark: string;
|
76
75
|
address: string;
|
@@ -78,9 +77,10 @@ export declare namespace BulkDisableHostsCommand {
|
|
78
77
|
host: string | null;
|
79
78
|
alpn: string | null;
|
80
79
|
fingerprint: string | null;
|
81
|
-
allowInsecure: boolean;
|
82
80
|
isDisabled: boolean;
|
83
81
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
82
|
+
configProfileUuid: string | null;
|
83
|
+
configProfileInboundUuid: string | null;
|
84
84
|
xHttpExtraParams?: unknown;
|
85
85
|
}[];
|
86
86
|
}, {
|
@@ -88,7 +88,6 @@ export declare namespace BulkDisableHostsCommand {
|
|
88
88
|
path: string | null;
|
89
89
|
uuid: string;
|
90
90
|
port: number;
|
91
|
-
inboundUuid: string;
|
92
91
|
viewPosition: number;
|
93
92
|
remark: string;
|
94
93
|
address: string;
|
@@ -96,7 +95,8 @@ export declare namespace BulkDisableHostsCommand {
|
|
96
95
|
host: string | null;
|
97
96
|
alpn: string | null;
|
98
97
|
fingerprint: string | null;
|
99
|
-
|
98
|
+
configProfileUuid: string | null;
|
99
|
+
configProfileInboundUuid: string | null;
|
100
100
|
isDisabled?: boolean | undefined;
|
101
101
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
102
102
|
xHttpExtraParams?: unknown;
|
@@ -14,7 +14,6 @@ export declare namespace BulkEnableHostsCommand {
|
|
14
14
|
const ResponseSchema: z.ZodObject<{
|
15
15
|
response: z.ZodArray<z.ZodObject<{
|
16
16
|
uuid: z.ZodString;
|
17
|
-
inboundUuid: z.ZodString;
|
18
17
|
viewPosition: z.ZodNumber;
|
19
18
|
remark: z.ZodString;
|
20
19
|
address: z.ZodString;
|
@@ -24,7 +23,6 @@ export declare namespace BulkEnableHostsCommand {
|
|
24
23
|
host: z.ZodNullable<z.ZodString>;
|
25
24
|
alpn: z.ZodNullable<z.ZodString>;
|
26
25
|
fingerprint: z.ZodNullable<z.ZodString>;
|
27
|
-
allowInsecure: z.ZodDefault<z.ZodBoolean>;
|
28
26
|
isDisabled: z.ZodDefault<z.ZodBoolean>;
|
29
27
|
securityLayer: z.ZodDefault<z.ZodNativeEnum<{
|
30
28
|
readonly DEFAULT: "DEFAULT";
|
@@ -32,11 +30,12 @@ export declare namespace BulkEnableHostsCommand {
|
|
32
30
|
readonly NONE: "NONE";
|
33
31
|
}>>;
|
34
32
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
33
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
34
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
35
35
|
}, "strip", z.ZodTypeAny, {
|
36
36
|
path: string | null;
|
37
37
|
uuid: string;
|
38
38
|
port: number;
|
39
|
-
inboundUuid: string;
|
40
39
|
viewPosition: number;
|
41
40
|
remark: string;
|
42
41
|
address: string;
|
@@ -44,15 +43,15 @@ export declare namespace BulkEnableHostsCommand {
|
|
44
43
|
host: string | null;
|
45
44
|
alpn: string | null;
|
46
45
|
fingerprint: string | null;
|
47
|
-
allowInsecure: boolean;
|
48
46
|
isDisabled: boolean;
|
49
47
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
48
|
+
configProfileUuid: string | null;
|
49
|
+
configProfileInboundUuid: string | null;
|
50
50
|
xHttpExtraParams?: unknown;
|
51
51
|
}, {
|
52
52
|
path: string | null;
|
53
53
|
uuid: string;
|
54
54
|
port: number;
|
55
|
-
inboundUuid: string;
|
56
55
|
viewPosition: number;
|
57
56
|
remark: string;
|
58
57
|
address: string;
|
@@ -60,7 +59,8 @@ export declare namespace BulkEnableHostsCommand {
|
|
60
59
|
host: string | null;
|
61
60
|
alpn: string | null;
|
62
61
|
fingerprint: string | null;
|
63
|
-
|
62
|
+
configProfileUuid: string | null;
|
63
|
+
configProfileInboundUuid: string | null;
|
64
64
|
isDisabled?: boolean | undefined;
|
65
65
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
66
66
|
xHttpExtraParams?: unknown;
|
@@ -70,7 +70,6 @@ export declare namespace BulkEnableHostsCommand {
|
|
70
70
|
path: string | null;
|
71
71
|
uuid: string;
|
72
72
|
port: number;
|
73
|
-
inboundUuid: string;
|
74
73
|
viewPosition: number;
|
75
74
|
remark: string;
|
76
75
|
address: string;
|
@@ -78,9 +77,10 @@ export declare namespace BulkEnableHostsCommand {
|
|
78
77
|
host: string | null;
|
79
78
|
alpn: string | null;
|
80
79
|
fingerprint: string | null;
|
81
|
-
allowInsecure: boolean;
|
82
80
|
isDisabled: boolean;
|
83
81
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
82
|
+
configProfileUuid: string | null;
|
83
|
+
configProfileInboundUuid: string | null;
|
84
84
|
xHttpExtraParams?: unknown;
|
85
85
|
}[];
|
86
86
|
}, {
|
@@ -88,7 +88,6 @@ export declare namespace BulkEnableHostsCommand {
|
|
88
88
|
path: string | null;
|
89
89
|
uuid: string;
|
90
90
|
port: number;
|
91
|
-
inboundUuid: string;
|
92
91
|
viewPosition: number;
|
93
92
|
remark: string;
|
94
93
|
address: string;
|
@@ -96,7 +95,8 @@ export declare namespace BulkEnableHostsCommand {
|
|
96
95
|
host: string | null;
|
97
96
|
alpn: string | null;
|
98
97
|
fingerprint: string | null;
|
99
|
-
|
98
|
+
configProfileUuid: string | null;
|
99
|
+
configProfileInboundUuid: string | null;
|
100
100
|
isDisabled?: boolean | undefined;
|
101
101
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
102
102
|
xHttpExtraParams?: unknown;
|
@@ -5,19 +5,21 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
5
5
|
const endpointDetails: import("../../../constants").EndpointDetails;
|
6
6
|
const RequestSchema: z.ZodObject<{
|
7
7
|
uuids: z.ZodArray<z.ZodString, "many">;
|
8
|
-
|
8
|
+
configProfileUuid: z.ZodString;
|
9
|
+
configProfileInboundUuid: z.ZodString;
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
10
|
-
|
11
|
+
configProfileUuid: string;
|
12
|
+
configProfileInboundUuid: string;
|
11
13
|
uuids: string[];
|
12
14
|
}, {
|
13
|
-
|
15
|
+
configProfileUuid: string;
|
16
|
+
configProfileInboundUuid: string;
|
14
17
|
uuids: string[];
|
15
18
|
}>;
|
16
19
|
type Request = z.infer<typeof RequestSchema>;
|
17
20
|
const ResponseSchema: z.ZodObject<{
|
18
21
|
response: z.ZodArray<z.ZodObject<{
|
19
22
|
uuid: z.ZodString;
|
20
|
-
inboundUuid: z.ZodString;
|
21
23
|
viewPosition: z.ZodNumber;
|
22
24
|
remark: z.ZodString;
|
23
25
|
address: z.ZodString;
|
@@ -27,7 +29,6 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
27
29
|
host: z.ZodNullable<z.ZodString>;
|
28
30
|
alpn: z.ZodNullable<z.ZodString>;
|
29
31
|
fingerprint: z.ZodNullable<z.ZodString>;
|
30
|
-
allowInsecure: z.ZodDefault<z.ZodBoolean>;
|
31
32
|
isDisabled: z.ZodDefault<z.ZodBoolean>;
|
32
33
|
securityLayer: z.ZodDefault<z.ZodNativeEnum<{
|
33
34
|
readonly DEFAULT: "DEFAULT";
|
@@ -35,11 +36,12 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
35
36
|
readonly NONE: "NONE";
|
36
37
|
}>>;
|
37
38
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
39
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
40
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
38
41
|
}, "strip", z.ZodTypeAny, {
|
39
42
|
path: string | null;
|
40
43
|
uuid: string;
|
41
44
|
port: number;
|
42
|
-
inboundUuid: string;
|
43
45
|
viewPosition: number;
|
44
46
|
remark: string;
|
45
47
|
address: string;
|
@@ -47,15 +49,15 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
47
49
|
host: string | null;
|
48
50
|
alpn: string | null;
|
49
51
|
fingerprint: string | null;
|
50
|
-
allowInsecure: boolean;
|
51
52
|
isDisabled: boolean;
|
52
53
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
54
|
+
configProfileUuid: string | null;
|
55
|
+
configProfileInboundUuid: string | null;
|
53
56
|
xHttpExtraParams?: unknown;
|
54
57
|
}, {
|
55
58
|
path: string | null;
|
56
59
|
uuid: string;
|
57
60
|
port: number;
|
58
|
-
inboundUuid: string;
|
59
61
|
viewPosition: number;
|
60
62
|
remark: string;
|
61
63
|
address: string;
|
@@ -63,7 +65,8 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
63
65
|
host: string | null;
|
64
66
|
alpn: string | null;
|
65
67
|
fingerprint: string | null;
|
66
|
-
|
68
|
+
configProfileUuid: string | null;
|
69
|
+
configProfileInboundUuid: string | null;
|
67
70
|
isDisabled?: boolean | undefined;
|
68
71
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
69
72
|
xHttpExtraParams?: unknown;
|
@@ -73,7 +76,6 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
73
76
|
path: string | null;
|
74
77
|
uuid: string;
|
75
78
|
port: number;
|
76
|
-
inboundUuid: string;
|
77
79
|
viewPosition: number;
|
78
80
|
remark: string;
|
79
81
|
address: string;
|
@@ -81,9 +83,10 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
81
83
|
host: string | null;
|
82
84
|
alpn: string | null;
|
83
85
|
fingerprint: string | null;
|
84
|
-
allowInsecure: boolean;
|
85
86
|
isDisabled: boolean;
|
86
87
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
88
|
+
configProfileUuid: string | null;
|
89
|
+
configProfileInboundUuid: string | null;
|
87
90
|
xHttpExtraParams?: unknown;
|
88
91
|
}[];
|
89
92
|
}, {
|
@@ -91,7 +94,6 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
91
94
|
path: string | null;
|
92
95
|
uuid: string;
|
93
96
|
port: number;
|
94
|
-
inboundUuid: string;
|
95
97
|
viewPosition: number;
|
96
98
|
remark: string;
|
97
99
|
address: string;
|
@@ -99,7 +101,8 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
99
101
|
host: string | null;
|
100
102
|
alpn: string | null;
|
101
103
|
fingerprint: string | null;
|
102
|
-
|
104
|
+
configProfileUuid: string | null;
|
105
|
+
configProfileInboundUuid: string | null;
|
103
106
|
isDisabled?: boolean | undefined;
|
104
107
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
105
108
|
xHttpExtraParams?: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa
|
1
|
+
{"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,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"}
|
@@ -12,7 +12,8 @@ var SetInboundToManyHostsCommand;
|
|
12
12
|
SetInboundToManyHostsCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.HOSTS_ROUTES.BULK.SET_INBOUND, 'post', 'Set inbound to hosts by UUIDs');
|
13
13
|
SetInboundToManyHostsCommand.RequestSchema = zod_1.z.object({
|
14
14
|
uuids: zod_1.z.array(zod_1.z.string().uuid()),
|
15
|
-
|
15
|
+
configProfileUuid: zod_1.z.string().uuid(),
|
16
|
+
configProfileInboundUuid: zod_1.z.string().uuid(),
|
16
17
|
});
|
17
18
|
SetInboundToManyHostsCommand.ResponseSchema = zod_1.z.object({
|
18
19
|
response: zod_1.z.array(models_1.HostsSchema),
|