@remnawave/backend-contract 0.7.26 → 2.0.0-alpha.1
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 +2 -2
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +2 -2
- 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 +1 -2
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +1 -2
- package/build/backend/api/routes.d.ts +17 -16
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +17 -16
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +154 -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 +86 -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 +147 -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 +194 -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 +94 -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/{inbounds/bulk → config-profiles}/index.js +7 -4
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +154 -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 +6 -1
- 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 +2 -2
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +2 -2
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +138 -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 +135 -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 +178 -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 +138 -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 +41 -22
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +41 -22
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +50 -24
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +53 -31
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +4 -3
- package/build/backend/commands/nodes/get-all.command.d.ts +41 -22
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +41 -22
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/stats/get-realtime-usage.command.d.ts +4 -4
- package/build/backend/commands/nodes/update.command.d.ts +62 -33
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +4 -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-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/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 +80 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +80 -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} +8 -2
- package/build/backend/models/config-profile-inbounds.schema.d.ts.map +1 -0
- package/build/backend/models/{inbounds.schema.js → config-profile-inbounds.schema.js} +4 -2
- package/build/backend/models/config-profile.schema.d.ts +87 -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 +4 -2
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +4 -2
- package/build/backend/models/internal-squad.schema.d.ts +79 -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 +25 -12
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +3 -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 +2 -2
- package/build/frontend/api/controllers/internal-squads.js +11 -0
- package/build/frontend/api/controllers/users.js +1 -2
- package/build/frontend/api/routes.js +17 -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/{inbounds/bulk → config-profiles}/index.js +7 -4
- 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 +6 -1
- package/build/frontend/commands/hosts/update.command.js +7 -1
- package/build/frontend/commands/index.js +2 -2
- 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 +4 -3
- package/build/frontend/commands/nodes/update.command.js +4 -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/update-user.command.js +5 -5
- package/build/frontend/constants/errors/errors.js +80 -0
- package/build/frontend/models/base-internal-squad.schema.js +8 -0
- package/build/frontend/models/{inbounds.schema.js → config-profile-inbounds.schema.js} +4 -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 +4 -2
- package/build/frontend/models/internal-squad.schema.js +22 -0
- package/build/frontend/models/nodes.schema.js +3 -2
- package/build/frontend/models/users.schema.js +2 -3
- package/package.json +1 -1
- package/build/backend/api/controllers/inbounds.d.ts +0 -12
- package/build/backend/api/controllers/inbounds.d.ts.map +0 -1
- package/build/backend/api/controllers/inbounds.js +0 -14
- package/build/backend/api/controllers/xray.d.ts +0 -6
- package/build/backend/api/controllers/xray.d.ts.map +0 -1
- package/build/backend/api/controllers/xray.js +0 -8
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.d.ts +0 -33
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/add-inbound-to-nodes.command.js +0 -24
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.d.ts +0 -33
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/add-inbound-to-users.command.js +0 -24
- package/build/backend/commands/inbounds/bulk/index.d.ts +0 -5
- package/build/backend/commands/inbounds/bulk/index.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.d.ts +0 -33
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-nodes.command.js +0 -24
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.d.ts +0 -33
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/bulk/remove-inbound-from-users.command.js +0 -24
- package/build/backend/commands/inbounds/get-full-inbounds.command.d.ts +0 -115
- package/build/backend/commands/inbounds/get-full-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/get-full-inbounds.command.js +0 -16
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts +0 -50
- package/build/backend/commands/inbounds/get-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/inbounds/get-inbounds.command.js +0 -22
- package/build/backend/commands/inbounds/index.d.ts +0 -4
- package/build/backend/commands/inbounds/index.d.ts.map +0 -1
- package/build/backend/commands/users/actions/activate-all-inbounds.command.d.ts +0 -271
- package/build/backend/commands/users/actions/activate-all-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/users/actions/activate-all-inbounds.command.js +0 -19
- package/build/backend/commands/users/bulk/bulk-update-users-inbounds.command.d.ts.map +0 -1
- package/build/backend/commands/users/bulk/bulk-update-users-inbounds.command.js +0 -23
- package/build/backend/commands/users/get-by/get-user-by-subscription-uuid.command.d.ts +0 -271
- package/build/backend/commands/users/get-by/get-user-by-subscription-uuid.command.d.ts.map +0 -1
- package/build/backend/commands/users/get-by/get-user-by-subscription-uuid.command.js +0 -19
- package/build/backend/commands/xray/get-config.command.d.ts +0 -25
- package/build/backend/commands/xray/get-config.command.d.ts.map +0 -1
- package/build/backend/commands/xray/get-config.command.js +0 -17
- package/build/backend/commands/xray/index.d.ts +0 -3
- package/build/backend/commands/xray/index.d.ts.map +0 -1
- package/build/backend/commands/xray/update-config.command.d.ts +0 -27
- package/build/backend/commands/xray/update-config.command.d.ts.map +0 -1
- package/build/backend/commands/xray/update-config.command.js +0 -18
- package/build/backend/models/full-inbounds.schema.d.ts +0 -67
- package/build/backend/models/full-inbounds.schema.d.ts.map +0 -1
- package/build/backend/models/full-inbounds.schema.js +0 -21
- package/build/backend/models/inbounds.schema.d.ts.map +0 -1
- package/build/frontend/api/controllers/inbounds.js +0 -14
- package/build/frontend/api/controllers/xray.js +0 -8
- package/build/frontend/commands/inbounds/bulk/add-inbound-to-nodes.command.js +0 -24
- package/build/frontend/commands/inbounds/bulk/add-inbound-to-users.command.js +0 -24
- package/build/frontend/commands/inbounds/bulk/remove-inbound-from-nodes.command.js +0 -24
- package/build/frontend/commands/inbounds/bulk/remove-inbound-from-users.command.js +0 -24
- package/build/frontend/commands/inbounds/get-full-inbounds.command.js +0 -16
- package/build/frontend/commands/inbounds/get-inbounds.command.js +0 -22
- package/build/frontend/commands/inbounds/index.js +0 -19
- package/build/frontend/commands/users/actions/activate-all-inbounds.command.js +0 -19
- package/build/frontend/commands/users/bulk/bulk-update-users-inbounds.command.js +0 -23
- package/build/frontend/commands/users/get-by/get-user-by-subscription-uuid.command.js +0 -19
- package/build/frontend/commands/xray/get-config.command.js +0 -17
- package/build/frontend/commands/xray/index.js +0 -18
- package/build/frontend/commands/xray/update-config.command.js +0 -18
- package/build/frontend/models/full-inbounds.schema.js +0 -21
@@ -32,25 +32,32 @@ export declare namespace ReorderNodeCommand {
|
|
32
32
|
totalRam: z.ZodNullable<z.ZodString>;
|
33
33
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
34
34
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
35
|
-
|
35
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
36
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
36
37
|
uuid: z.ZodString;
|
38
|
+
profileUuid: z.ZodString;
|
37
39
|
tag: z.ZodString;
|
38
40
|
type: z.ZodString;
|
39
41
|
network: z.ZodNullable<z.ZodString>;
|
40
42
|
security: z.ZodNullable<z.ZodString>;
|
43
|
+
port: z.ZodNullable<z.ZodNumber>;
|
41
44
|
}, "strip", z.ZodTypeAny, {
|
42
45
|
type: string;
|
43
46
|
uuid: string;
|
47
|
+
profileUuid: string;
|
44
48
|
tag: string;
|
45
49
|
network: string | null;
|
46
50
|
security: string | null;
|
51
|
+
port: number | null;
|
47
52
|
}, {
|
48
53
|
type: string;
|
49
54
|
uuid: string;
|
55
|
+
profileUuid: string;
|
50
56
|
tag: string;
|
51
57
|
network: string | null;
|
52
58
|
security: string | null;
|
53
|
-
|
59
|
+
port: number | null;
|
60
|
+
}>, "many">>;
|
54
61
|
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
55
62
|
uuid: string;
|
56
63
|
viewPosition: number;
|
@@ -99,35 +106,43 @@ export declare namespace ReorderNodeCommand {
|
|
99
106
|
totalRam: z.ZodNullable<z.ZodString>;
|
100
107
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
101
108
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
102
|
-
|
109
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
110
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
103
111
|
uuid: z.ZodString;
|
112
|
+
profileUuid: z.ZodString;
|
104
113
|
tag: z.ZodString;
|
105
114
|
type: z.ZodString;
|
106
115
|
network: z.ZodNullable<z.ZodString>;
|
107
116
|
security: z.ZodNullable<z.ZodString>;
|
117
|
+
port: z.ZodNullable<z.ZodNumber>;
|
108
118
|
}, "strip", z.ZodTypeAny, {
|
109
119
|
type: string;
|
110
120
|
uuid: string;
|
121
|
+
profileUuid: string;
|
111
122
|
tag: string;
|
112
123
|
network: string | null;
|
113
124
|
security: string | null;
|
125
|
+
port: number | null;
|
114
126
|
}, {
|
115
127
|
type: string;
|
116
128
|
uuid: string;
|
129
|
+
profileUuid: string;
|
117
130
|
tag: string;
|
118
131
|
network: string | null;
|
119
132
|
security: string | null;
|
120
|
-
|
133
|
+
port: number | null;
|
134
|
+
}>, "many">>;
|
121
135
|
}, "strip", z.ZodTypeAny, {
|
122
136
|
uuid: string;
|
123
137
|
createdAt: Date;
|
124
138
|
updatedAt: Date;
|
125
|
-
|
139
|
+
name: string;
|
126
140
|
port: number | null;
|
141
|
+
countryCode: string;
|
142
|
+
trafficLimitBytes: number | null;
|
127
143
|
viewPosition: number;
|
128
144
|
address: string;
|
129
145
|
isDisabled: boolean;
|
130
|
-
name: string;
|
131
146
|
isConnected: boolean;
|
132
147
|
isConnecting: boolean;
|
133
148
|
isNodeOnline: boolean;
|
@@ -141,28 +156,31 @@ export declare namespace ReorderNodeCommand {
|
|
141
156
|
trafficUsedBytes: number | null;
|
142
157
|
notifyPercent: number | null;
|
143
158
|
usersOnline: number | null;
|
144
|
-
countryCode: string;
|
145
159
|
consumptionMultiplier: number;
|
146
160
|
cpuCount: number | null;
|
147
161
|
cpuModel: string | null;
|
148
162
|
totalRam: string | null;
|
149
|
-
|
163
|
+
activeConfigProfileUuid: string | null;
|
164
|
+
activeInbounds: {
|
150
165
|
type: string;
|
151
166
|
uuid: string;
|
167
|
+
profileUuid: string;
|
152
168
|
tag: string;
|
153
169
|
network: string | null;
|
154
170
|
security: string | null;
|
155
|
-
|
171
|
+
port: number | null;
|
172
|
+
}[] | null;
|
156
173
|
}, {
|
157
174
|
uuid: string;
|
158
175
|
createdAt: string;
|
159
176
|
updatedAt: string;
|
160
|
-
|
177
|
+
name: string;
|
161
178
|
port: number | null;
|
179
|
+
countryCode: string;
|
180
|
+
trafficLimitBytes: number | null;
|
162
181
|
viewPosition: number;
|
163
182
|
address: string;
|
164
183
|
isDisabled: boolean;
|
165
|
-
name: string;
|
166
184
|
isConnected: boolean;
|
167
185
|
isConnecting: boolean;
|
168
186
|
isNodeOnline: boolean;
|
@@ -176,30 +194,33 @@ export declare namespace ReorderNodeCommand {
|
|
176
194
|
trafficUsedBytes: number | null;
|
177
195
|
notifyPercent: number | null;
|
178
196
|
usersOnline: number | null;
|
179
|
-
countryCode: string;
|
180
197
|
consumptionMultiplier: number;
|
181
198
|
cpuCount: number | null;
|
182
199
|
cpuModel: string | null;
|
183
200
|
totalRam: string | null;
|
184
|
-
|
201
|
+
activeConfigProfileUuid: string | null;
|
202
|
+
activeInbounds: {
|
185
203
|
type: string;
|
186
204
|
uuid: string;
|
205
|
+
profileUuid: string;
|
187
206
|
tag: string;
|
188
207
|
network: string | null;
|
189
208
|
security: string | null;
|
190
|
-
|
209
|
+
port: number | null;
|
210
|
+
}[] | null;
|
191
211
|
}>, "many">;
|
192
212
|
}, "strip", z.ZodTypeAny, {
|
193
213
|
response: {
|
194
214
|
uuid: string;
|
195
215
|
createdAt: Date;
|
196
216
|
updatedAt: Date;
|
197
|
-
|
217
|
+
name: string;
|
198
218
|
port: number | null;
|
219
|
+
countryCode: string;
|
220
|
+
trafficLimitBytes: number | null;
|
199
221
|
viewPosition: number;
|
200
222
|
address: string;
|
201
223
|
isDisabled: boolean;
|
202
|
-
name: string;
|
203
224
|
isConnected: boolean;
|
204
225
|
isConnecting: boolean;
|
205
226
|
isNodeOnline: boolean;
|
@@ -213,30 +234,33 @@ export declare namespace ReorderNodeCommand {
|
|
213
234
|
trafficUsedBytes: number | null;
|
214
235
|
notifyPercent: number | null;
|
215
236
|
usersOnline: number | null;
|
216
|
-
countryCode: string;
|
217
237
|
consumptionMultiplier: number;
|
218
238
|
cpuCount: number | null;
|
219
239
|
cpuModel: string | null;
|
220
240
|
totalRam: string | null;
|
221
|
-
|
241
|
+
activeConfigProfileUuid: string | null;
|
242
|
+
activeInbounds: {
|
222
243
|
type: string;
|
223
244
|
uuid: string;
|
245
|
+
profileUuid: string;
|
224
246
|
tag: string;
|
225
247
|
network: string | null;
|
226
248
|
security: string | null;
|
227
|
-
|
249
|
+
port: number | null;
|
250
|
+
}[] | null;
|
228
251
|
}[];
|
229
252
|
}, {
|
230
253
|
response: {
|
231
254
|
uuid: string;
|
232
255
|
createdAt: string;
|
233
256
|
updatedAt: string;
|
234
|
-
|
257
|
+
name: string;
|
235
258
|
port: number | null;
|
259
|
+
countryCode: string;
|
260
|
+
trafficLimitBytes: number | null;
|
236
261
|
viewPosition: number;
|
237
262
|
address: string;
|
238
263
|
isDisabled: boolean;
|
239
|
-
name: string;
|
240
264
|
isConnected: boolean;
|
241
265
|
isConnecting: boolean;
|
242
266
|
isNodeOnline: boolean;
|
@@ -250,18 +274,20 @@ export declare namespace ReorderNodeCommand {
|
|
250
274
|
trafficUsedBytes: number | null;
|
251
275
|
notifyPercent: number | null;
|
252
276
|
usersOnline: number | null;
|
253
|
-
countryCode: string;
|
254
277
|
consumptionMultiplier: number;
|
255
278
|
cpuCount: number | null;
|
256
279
|
cpuModel: string | null;
|
257
280
|
totalRam: string | null;
|
258
|
-
|
281
|
+
activeConfigProfileUuid: string | null;
|
282
|
+
activeInbounds: {
|
259
283
|
type: string;
|
260
284
|
uuid: string;
|
285
|
+
profileUuid: string;
|
261
286
|
tag: string;
|
262
287
|
network: string | null;
|
263
288
|
security: string | null;
|
264
|
-
|
289
|
+
port: number | null;
|
290
|
+
}[] | null;
|
265
291
|
}[];
|
266
292
|
}>;
|
267
293
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa
|
1
|
+
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -11,31 +11,34 @@ export declare namespace CreateNodeCommand {
|
|
11
11
|
trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
|
12
12
|
notifyPercent: z.ZodOptional<z.ZodNumber>;
|
13
13
|
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
14
|
-
excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
15
14
|
countryCode: z.ZodDefault<z.ZodString>;
|
16
15
|
consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
16
|
+
activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
|
17
|
+
activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
17
18
|
}, "strip", z.ZodTypeAny, {
|
18
|
-
address: string;
|
19
19
|
name: string;
|
20
|
-
isTrafficTrackingActive: boolean;
|
21
20
|
countryCode: string;
|
22
|
-
|
21
|
+
address: string;
|
22
|
+
isTrafficTrackingActive: boolean;
|
23
23
|
port?: number | undefined;
|
24
|
+
trafficLimitBytes?: number | undefined;
|
24
25
|
trafficResetDay?: number | undefined;
|
25
26
|
notifyPercent?: number | undefined;
|
26
27
|
consumptionMultiplier?: number | undefined;
|
27
|
-
|
28
|
+
activeConfigProfileUuid?: string | undefined;
|
29
|
+
activeInbounds?: string[] | undefined;
|
28
30
|
}, {
|
29
|
-
address: string;
|
30
31
|
name: string;
|
31
|
-
|
32
|
+
address: string;
|
32
33
|
port?: number | undefined;
|
34
|
+
countryCode?: string | undefined;
|
35
|
+
trafficLimitBytes?: number | undefined;
|
33
36
|
isTrafficTrackingActive?: boolean | undefined;
|
34
37
|
trafficResetDay?: number | undefined;
|
35
38
|
notifyPercent?: number | undefined;
|
36
|
-
countryCode?: string | undefined;
|
37
39
|
consumptionMultiplier?: number | undefined;
|
38
|
-
|
40
|
+
activeConfigProfileUuid?: string | undefined;
|
41
|
+
activeInbounds?: string[] | undefined;
|
39
42
|
}>;
|
40
43
|
type Request = z.infer<typeof RequestSchema>;
|
41
44
|
const ResponseSchema: z.ZodObject<{
|
@@ -67,35 +70,43 @@ export declare namespace CreateNodeCommand {
|
|
67
70
|
totalRam: z.ZodNullable<z.ZodString>;
|
68
71
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
69
72
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
70
|
-
|
73
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
74
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
71
75
|
uuid: z.ZodString;
|
76
|
+
profileUuid: z.ZodString;
|
72
77
|
tag: z.ZodString;
|
73
78
|
type: z.ZodString;
|
74
79
|
network: z.ZodNullable<z.ZodString>;
|
75
80
|
security: z.ZodNullable<z.ZodString>;
|
81
|
+
port: z.ZodNullable<z.ZodNumber>;
|
76
82
|
}, "strip", z.ZodTypeAny, {
|
77
83
|
type: string;
|
78
84
|
uuid: string;
|
85
|
+
profileUuid: string;
|
79
86
|
tag: string;
|
80
87
|
network: string | null;
|
81
88
|
security: string | null;
|
89
|
+
port: number | null;
|
82
90
|
}, {
|
83
91
|
type: string;
|
84
92
|
uuid: string;
|
93
|
+
profileUuid: string;
|
85
94
|
tag: string;
|
86
95
|
network: string | null;
|
87
96
|
security: string | null;
|
88
|
-
|
97
|
+
port: number | null;
|
98
|
+
}>, "many">>;
|
89
99
|
}, "strip", z.ZodTypeAny, {
|
90
100
|
uuid: string;
|
91
101
|
createdAt: Date;
|
92
102
|
updatedAt: Date;
|
93
|
-
|
103
|
+
name: string;
|
94
104
|
port: number | null;
|
105
|
+
countryCode: string;
|
106
|
+
trafficLimitBytes: number | null;
|
95
107
|
viewPosition: number;
|
96
108
|
address: string;
|
97
109
|
isDisabled: boolean;
|
98
|
-
name: string;
|
99
110
|
isConnected: boolean;
|
100
111
|
isConnecting: boolean;
|
101
112
|
isNodeOnline: boolean;
|
@@ -109,28 +120,31 @@ export declare namespace CreateNodeCommand {
|
|
109
120
|
trafficUsedBytes: number | null;
|
110
121
|
notifyPercent: number | null;
|
111
122
|
usersOnline: number | null;
|
112
|
-
countryCode: string;
|
113
123
|
consumptionMultiplier: number;
|
114
124
|
cpuCount: number | null;
|
115
125
|
cpuModel: string | null;
|
116
126
|
totalRam: string | null;
|
117
|
-
|
127
|
+
activeConfigProfileUuid: string | null;
|
128
|
+
activeInbounds: {
|
118
129
|
type: string;
|
119
130
|
uuid: string;
|
131
|
+
profileUuid: string;
|
120
132
|
tag: string;
|
121
133
|
network: string | null;
|
122
134
|
security: string | null;
|
123
|
-
|
135
|
+
port: number | null;
|
136
|
+
}[] | null;
|
124
137
|
}, {
|
125
138
|
uuid: string;
|
126
139
|
createdAt: string;
|
127
140
|
updatedAt: string;
|
128
|
-
|
141
|
+
name: string;
|
129
142
|
port: number | null;
|
143
|
+
countryCode: string;
|
144
|
+
trafficLimitBytes: number | null;
|
130
145
|
viewPosition: number;
|
131
146
|
address: string;
|
132
147
|
isDisabled: boolean;
|
133
|
-
name: string;
|
134
148
|
isConnected: boolean;
|
135
149
|
isConnecting: boolean;
|
136
150
|
isNodeOnline: boolean;
|
@@ -144,30 +158,33 @@ export declare namespace CreateNodeCommand {
|
|
144
158
|
trafficUsedBytes: number | null;
|
145
159
|
notifyPercent: number | null;
|
146
160
|
usersOnline: number | null;
|
147
|
-
countryCode: string;
|
148
161
|
consumptionMultiplier: number;
|
149
162
|
cpuCount: number | null;
|
150
163
|
cpuModel: string | null;
|
151
164
|
totalRam: string | null;
|
152
|
-
|
165
|
+
activeConfigProfileUuid: string | null;
|
166
|
+
activeInbounds: {
|
153
167
|
type: string;
|
154
168
|
uuid: string;
|
169
|
+
profileUuid: string;
|
155
170
|
tag: string;
|
156
171
|
network: string | null;
|
157
172
|
security: string | null;
|
158
|
-
|
173
|
+
port: number | null;
|
174
|
+
}[] | null;
|
159
175
|
}>;
|
160
176
|
}, "strip", z.ZodTypeAny, {
|
161
177
|
response: {
|
162
178
|
uuid: string;
|
163
179
|
createdAt: Date;
|
164
180
|
updatedAt: Date;
|
165
|
-
|
181
|
+
name: string;
|
166
182
|
port: number | null;
|
183
|
+
countryCode: string;
|
184
|
+
trafficLimitBytes: number | null;
|
167
185
|
viewPosition: number;
|
168
186
|
address: string;
|
169
187
|
isDisabled: boolean;
|
170
|
-
name: string;
|
171
188
|
isConnected: boolean;
|
172
189
|
isConnecting: boolean;
|
173
190
|
isNodeOnline: boolean;
|
@@ -181,30 +198,33 @@ export declare namespace CreateNodeCommand {
|
|
181
198
|
trafficUsedBytes: number | null;
|
182
199
|
notifyPercent: number | null;
|
183
200
|
usersOnline: number | null;
|
184
|
-
countryCode: string;
|
185
201
|
consumptionMultiplier: number;
|
186
202
|
cpuCount: number | null;
|
187
203
|
cpuModel: string | null;
|
188
204
|
totalRam: string | null;
|
189
|
-
|
205
|
+
activeConfigProfileUuid: string | null;
|
206
|
+
activeInbounds: {
|
190
207
|
type: string;
|
191
208
|
uuid: string;
|
209
|
+
profileUuid: string;
|
192
210
|
tag: string;
|
193
211
|
network: string | null;
|
194
212
|
security: string | null;
|
195
|
-
|
213
|
+
port: number | null;
|
214
|
+
}[] | null;
|
196
215
|
};
|
197
216
|
}, {
|
198
217
|
response: {
|
199
218
|
uuid: string;
|
200
219
|
createdAt: string;
|
201
220
|
updatedAt: string;
|
202
|
-
|
221
|
+
name: string;
|
203
222
|
port: number | null;
|
223
|
+
countryCode: string;
|
224
|
+
trafficLimitBytes: number | null;
|
204
225
|
viewPosition: number;
|
205
226
|
address: string;
|
206
227
|
isDisabled: boolean;
|
207
|
-
name: string;
|
208
228
|
isConnected: boolean;
|
209
229
|
isConnecting: boolean;
|
210
230
|
isNodeOnline: boolean;
|
@@ -218,18 +238,20 @@ export declare namespace CreateNodeCommand {
|
|
218
238
|
trafficUsedBytes: number | null;
|
219
239
|
notifyPercent: number | null;
|
220
240
|
usersOnline: number | null;
|
221
|
-
countryCode: string;
|
222
241
|
consumptionMultiplier: number;
|
223
242
|
cpuCount: number | null;
|
224
243
|
cpuModel: string | null;
|
225
244
|
totalRam: string | null;
|
226
|
-
|
245
|
+
activeConfigProfileUuid: string | null;
|
246
|
+
activeInbounds: {
|
227
247
|
type: string;
|
228
248
|
uuid: string;
|
249
|
+
profileUuid: string;
|
229
250
|
tag: string;
|
230
251
|
network: string | null;
|
231
252
|
security: string | null;
|
232
|
-
|
253
|
+
port: number | null;
|
254
|
+
}[] | null;
|
233
255
|
};
|
234
256
|
}>;
|
235
257
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
1
|
+
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuCxB,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,9 +26,6 @@ var CreateNodeCommand;
|
|
26
26
|
.int()
|
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
|
33
30
|
.string()
|
34
31
|
.max(2, 'Country code must be 2 characters')
|
@@ -38,6 +35,10 @@ var CreateNodeCommand;
|
|
38
35
|
.number()
|
39
36
|
.min(0.1, 'Consumption multiplier must be greater than 0')
|
40
37
|
.transform((n) => Number(n.toFixed(1)))),
|
38
|
+
activeConfigProfileUuid: zod_1.z.optional(zod_1.z.string().uuid()),
|
39
|
+
activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
40
|
+
invalid_type_error: 'Active inbounds must be an array of UUIDs',
|
41
|
+
})),
|
41
42
|
});
|
42
43
|
CreateNodeCommand.ResponseSchema = zod_1.z.object({
|
43
44
|
response: models_1.NodesSchema,
|
@@ -32,35 +32,43 @@ export declare namespace GetAllNodesCommand {
|
|
32
32
|
totalRam: z.ZodNullable<z.ZodString>;
|
33
33
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
34
34
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
35
|
-
|
35
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
36
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
36
37
|
uuid: z.ZodString;
|
38
|
+
profileUuid: z.ZodString;
|
37
39
|
tag: z.ZodString;
|
38
40
|
type: z.ZodString;
|
39
41
|
network: z.ZodNullable<z.ZodString>;
|
40
42
|
security: z.ZodNullable<z.ZodString>;
|
43
|
+
port: z.ZodNullable<z.ZodNumber>;
|
41
44
|
}, "strip", z.ZodTypeAny, {
|
42
45
|
type: string;
|
43
46
|
uuid: string;
|
47
|
+
profileUuid: string;
|
44
48
|
tag: string;
|
45
49
|
network: string | null;
|
46
50
|
security: string | null;
|
51
|
+
port: number | null;
|
47
52
|
}, {
|
48
53
|
type: string;
|
49
54
|
uuid: string;
|
55
|
+
profileUuid: string;
|
50
56
|
tag: string;
|
51
57
|
network: string | null;
|
52
58
|
security: string | null;
|
53
|
-
|
59
|
+
port: number | null;
|
60
|
+
}>, "many">>;
|
54
61
|
}, "strip", z.ZodTypeAny, {
|
55
62
|
uuid: string;
|
56
63
|
createdAt: Date;
|
57
64
|
updatedAt: Date;
|
58
|
-
|
65
|
+
name: string;
|
59
66
|
port: number | null;
|
67
|
+
countryCode: string;
|
68
|
+
trafficLimitBytes: number | null;
|
60
69
|
viewPosition: number;
|
61
70
|
address: string;
|
62
71
|
isDisabled: boolean;
|
63
|
-
name: string;
|
64
72
|
isConnected: boolean;
|
65
73
|
isConnecting: boolean;
|
66
74
|
isNodeOnline: boolean;
|
@@ -74,28 +82,31 @@ export declare namespace GetAllNodesCommand {
|
|
74
82
|
trafficUsedBytes: number | null;
|
75
83
|
notifyPercent: number | null;
|
76
84
|
usersOnline: number | null;
|
77
|
-
countryCode: string;
|
78
85
|
consumptionMultiplier: number;
|
79
86
|
cpuCount: number | null;
|
80
87
|
cpuModel: string | null;
|
81
88
|
totalRam: string | null;
|
82
|
-
|
89
|
+
activeConfigProfileUuid: string | null;
|
90
|
+
activeInbounds: {
|
83
91
|
type: string;
|
84
92
|
uuid: string;
|
93
|
+
profileUuid: string;
|
85
94
|
tag: string;
|
86
95
|
network: string | null;
|
87
96
|
security: string | null;
|
88
|
-
|
97
|
+
port: number | null;
|
98
|
+
}[] | null;
|
89
99
|
}, {
|
90
100
|
uuid: string;
|
91
101
|
createdAt: string;
|
92
102
|
updatedAt: string;
|
93
|
-
|
103
|
+
name: string;
|
94
104
|
port: number | null;
|
105
|
+
countryCode: string;
|
106
|
+
trafficLimitBytes: number | null;
|
95
107
|
viewPosition: number;
|
96
108
|
address: string;
|
97
109
|
isDisabled: boolean;
|
98
|
-
name: string;
|
99
110
|
isConnected: boolean;
|
100
111
|
isConnecting: boolean;
|
101
112
|
isNodeOnline: boolean;
|
@@ -109,30 +120,33 @@ export declare namespace GetAllNodesCommand {
|
|
109
120
|
trafficUsedBytes: number | null;
|
110
121
|
notifyPercent: number | null;
|
111
122
|
usersOnline: number | null;
|
112
|
-
countryCode: string;
|
113
123
|
consumptionMultiplier: number;
|
114
124
|
cpuCount: number | null;
|
115
125
|
cpuModel: string | null;
|
116
126
|
totalRam: string | null;
|
117
|
-
|
127
|
+
activeConfigProfileUuid: string | null;
|
128
|
+
activeInbounds: {
|
118
129
|
type: string;
|
119
130
|
uuid: string;
|
131
|
+
profileUuid: string;
|
120
132
|
tag: string;
|
121
133
|
network: string | null;
|
122
134
|
security: string | null;
|
123
|
-
|
135
|
+
port: number | null;
|
136
|
+
}[] | null;
|
124
137
|
}>, "many">;
|
125
138
|
}, "strip", z.ZodTypeAny, {
|
126
139
|
response: {
|
127
140
|
uuid: string;
|
128
141
|
createdAt: Date;
|
129
142
|
updatedAt: Date;
|
130
|
-
|
143
|
+
name: string;
|
131
144
|
port: number | null;
|
145
|
+
countryCode: string;
|
146
|
+
trafficLimitBytes: number | null;
|
132
147
|
viewPosition: number;
|
133
148
|
address: string;
|
134
149
|
isDisabled: boolean;
|
135
|
-
name: string;
|
136
150
|
isConnected: boolean;
|
137
151
|
isConnecting: boolean;
|
138
152
|
isNodeOnline: boolean;
|
@@ -146,30 +160,33 @@ export declare namespace GetAllNodesCommand {
|
|
146
160
|
trafficUsedBytes: number | null;
|
147
161
|
notifyPercent: number | null;
|
148
162
|
usersOnline: number | null;
|
149
|
-
countryCode: string;
|
150
163
|
consumptionMultiplier: number;
|
151
164
|
cpuCount: number | null;
|
152
165
|
cpuModel: string | null;
|
153
166
|
totalRam: string | null;
|
154
|
-
|
167
|
+
activeConfigProfileUuid: string | null;
|
168
|
+
activeInbounds: {
|
155
169
|
type: string;
|
156
170
|
uuid: string;
|
171
|
+
profileUuid: string;
|
157
172
|
tag: string;
|
158
173
|
network: string | null;
|
159
174
|
security: string | null;
|
160
|
-
|
175
|
+
port: number | null;
|
176
|
+
}[] | null;
|
161
177
|
}[];
|
162
178
|
}, {
|
163
179
|
response: {
|
164
180
|
uuid: string;
|
165
181
|
createdAt: string;
|
166
182
|
updatedAt: string;
|
167
|
-
|
183
|
+
name: string;
|
168
184
|
port: number | null;
|
185
|
+
countryCode: string;
|
186
|
+
trafficLimitBytes: number | null;
|
169
187
|
viewPosition: number;
|
170
188
|
address: string;
|
171
189
|
isDisabled: boolean;
|
172
|
-
name: string;
|
173
190
|
isConnected: boolean;
|
174
191
|
isConnecting: boolean;
|
175
192
|
isNodeOnline: boolean;
|
@@ -183,18 +200,20 @@ export declare namespace GetAllNodesCommand {
|
|
183
200
|
trafficUsedBytes: number | null;
|
184
201
|
notifyPercent: number | null;
|
185
202
|
usersOnline: number | null;
|
186
|
-
countryCode: string;
|
187
203
|
consumptionMultiplier: number;
|
188
204
|
cpuCount: number | null;
|
189
205
|
cpuModel: string | null;
|
190
206
|
totalRam: string | null;
|
191
|
-
|
207
|
+
activeConfigProfileUuid: string | null;
|
208
|
+
activeInbounds: {
|
192
209
|
type: string;
|
193
210
|
uuid: string;
|
211
|
+
profileUuid: string;
|
194
212
|
tag: string;
|
195
213
|
network: string | null;
|
196
214
|
security: string | null;
|
197
|
-
|
215
|
+
port: number | null;
|
216
|
+
}[] | null;
|
198
217
|
}[];
|
199
218
|
}>;
|
200
219
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc
|
1
|
+
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|