@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
@@ -40,35 +40,43 @@ export declare namespace GetOneNodeCommand {
|
|
40
40
|
totalRam: z.ZodNullable<z.ZodString>;
|
41
41
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
42
42
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
43
|
-
|
43
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
44
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
44
45
|
uuid: z.ZodString;
|
46
|
+
profileUuid: z.ZodString;
|
45
47
|
tag: z.ZodString;
|
46
48
|
type: z.ZodString;
|
47
49
|
network: z.ZodNullable<z.ZodString>;
|
48
50
|
security: z.ZodNullable<z.ZodString>;
|
51
|
+
port: z.ZodNullable<z.ZodNumber>;
|
49
52
|
}, "strip", z.ZodTypeAny, {
|
50
53
|
type: string;
|
51
54
|
uuid: string;
|
55
|
+
profileUuid: string;
|
52
56
|
tag: string;
|
53
57
|
network: string | null;
|
54
58
|
security: string | null;
|
59
|
+
port: number | null;
|
55
60
|
}, {
|
56
61
|
type: string;
|
57
62
|
uuid: string;
|
63
|
+
profileUuid: string;
|
58
64
|
tag: string;
|
59
65
|
network: string | null;
|
60
66
|
security: string | null;
|
61
|
-
|
67
|
+
port: number | null;
|
68
|
+
}>, "many">>;
|
62
69
|
}, "strip", z.ZodTypeAny, {
|
63
70
|
uuid: string;
|
64
71
|
createdAt: Date;
|
65
72
|
updatedAt: Date;
|
66
|
-
|
73
|
+
name: string;
|
67
74
|
port: number | null;
|
75
|
+
countryCode: string;
|
76
|
+
trafficLimitBytes: number | null;
|
68
77
|
viewPosition: number;
|
69
78
|
address: string;
|
70
79
|
isDisabled: boolean;
|
71
|
-
name: string;
|
72
80
|
isConnected: boolean;
|
73
81
|
isConnecting: boolean;
|
74
82
|
isNodeOnline: boolean;
|
@@ -82,28 +90,31 @@ export declare namespace GetOneNodeCommand {
|
|
82
90
|
trafficUsedBytes: number | null;
|
83
91
|
notifyPercent: number | null;
|
84
92
|
usersOnline: number | null;
|
85
|
-
countryCode: string;
|
86
93
|
consumptionMultiplier: number;
|
87
94
|
cpuCount: number | null;
|
88
95
|
cpuModel: string | null;
|
89
96
|
totalRam: string | null;
|
90
|
-
|
97
|
+
activeConfigProfileUuid: string | null;
|
98
|
+
activeInbounds: {
|
91
99
|
type: string;
|
92
100
|
uuid: string;
|
101
|
+
profileUuid: string;
|
93
102
|
tag: string;
|
94
103
|
network: string | null;
|
95
104
|
security: string | null;
|
96
|
-
|
105
|
+
port: number | null;
|
106
|
+
}[] | null;
|
97
107
|
}, {
|
98
108
|
uuid: string;
|
99
109
|
createdAt: string;
|
100
110
|
updatedAt: string;
|
101
|
-
|
111
|
+
name: string;
|
102
112
|
port: number | null;
|
113
|
+
countryCode: string;
|
114
|
+
trafficLimitBytes: number | null;
|
103
115
|
viewPosition: number;
|
104
116
|
address: string;
|
105
117
|
isDisabled: boolean;
|
106
|
-
name: string;
|
107
118
|
isConnected: boolean;
|
108
119
|
isConnecting: boolean;
|
109
120
|
isNodeOnline: boolean;
|
@@ -117,30 +128,33 @@ export declare namespace GetOneNodeCommand {
|
|
117
128
|
trafficUsedBytes: number | null;
|
118
129
|
notifyPercent: number | null;
|
119
130
|
usersOnline: number | null;
|
120
|
-
countryCode: string;
|
121
131
|
consumptionMultiplier: number;
|
122
132
|
cpuCount: number | null;
|
123
133
|
cpuModel: string | null;
|
124
134
|
totalRam: string | null;
|
125
|
-
|
135
|
+
activeConfigProfileUuid: string | null;
|
136
|
+
activeInbounds: {
|
126
137
|
type: string;
|
127
138
|
uuid: string;
|
139
|
+
profileUuid: string;
|
128
140
|
tag: string;
|
129
141
|
network: string | null;
|
130
142
|
security: string | null;
|
131
|
-
|
143
|
+
port: number | null;
|
144
|
+
}[] | null;
|
132
145
|
}>;
|
133
146
|
}, "strip", z.ZodTypeAny, {
|
134
147
|
response: {
|
135
148
|
uuid: string;
|
136
149
|
createdAt: Date;
|
137
150
|
updatedAt: Date;
|
138
|
-
|
151
|
+
name: string;
|
139
152
|
port: number | null;
|
153
|
+
countryCode: string;
|
154
|
+
trafficLimitBytes: number | null;
|
140
155
|
viewPosition: number;
|
141
156
|
address: string;
|
142
157
|
isDisabled: boolean;
|
143
|
-
name: string;
|
144
158
|
isConnected: boolean;
|
145
159
|
isConnecting: boolean;
|
146
160
|
isNodeOnline: boolean;
|
@@ -154,30 +168,33 @@ export declare namespace GetOneNodeCommand {
|
|
154
168
|
trafficUsedBytes: number | null;
|
155
169
|
notifyPercent: number | null;
|
156
170
|
usersOnline: number | null;
|
157
|
-
countryCode: string;
|
158
171
|
consumptionMultiplier: number;
|
159
172
|
cpuCount: number | null;
|
160
173
|
cpuModel: string | null;
|
161
174
|
totalRam: string | null;
|
162
|
-
|
175
|
+
activeConfigProfileUuid: string | null;
|
176
|
+
activeInbounds: {
|
163
177
|
type: string;
|
164
178
|
uuid: string;
|
179
|
+
profileUuid: string;
|
165
180
|
tag: string;
|
166
181
|
network: string | null;
|
167
182
|
security: string | null;
|
168
|
-
|
183
|
+
port: number | null;
|
184
|
+
}[] | null;
|
169
185
|
};
|
170
186
|
}, {
|
171
187
|
response: {
|
172
188
|
uuid: string;
|
173
189
|
createdAt: string;
|
174
190
|
updatedAt: string;
|
175
|
-
|
191
|
+
name: string;
|
176
192
|
port: number | null;
|
193
|
+
countryCode: string;
|
194
|
+
trafficLimitBytes: number | null;
|
177
195
|
viewPosition: number;
|
178
196
|
address: string;
|
179
197
|
isDisabled: boolean;
|
180
|
-
name: string;
|
181
198
|
isConnected: boolean;
|
182
199
|
isConnecting: boolean;
|
183
200
|
isNodeOnline: boolean;
|
@@ -191,18 +208,20 @@ export declare namespace GetOneNodeCommand {
|
|
191
208
|
trafficUsedBytes: number | null;
|
192
209
|
notifyPercent: number | null;
|
193
210
|
usersOnline: number | null;
|
194
|
-
countryCode: string;
|
195
211
|
consumptionMultiplier: number;
|
196
212
|
cpuCount: number | null;
|
197
213
|
cpuModel: string | null;
|
198
214
|
totalRam: string | null;
|
199
|
-
|
215
|
+
activeConfigProfileUuid: string | null;
|
216
|
+
activeInbounds: {
|
200
217
|
type: string;
|
201
218
|
uuid: string;
|
219
|
+
profileUuid: string;
|
202
220
|
tag: string;
|
203
221
|
network: string | null;
|
204
222
|
security: string | null;
|
205
|
-
|
223
|
+
port: number | null;
|
224
|
+
}[] | null;
|
206
225
|
};
|
207
226
|
}>;
|
208
227
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
|
@@ -15,8 +15,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
15
15
|
uploadSpeedBps: z.ZodNumber;
|
16
16
|
totalSpeedBps: z.ZodNumber;
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
18
|
-
nodeName: string;
|
19
18
|
countryCode: string;
|
19
|
+
nodeName: string;
|
20
20
|
nodeUuid: string;
|
21
21
|
downloadBytes: number;
|
22
22
|
uploadBytes: number;
|
@@ -25,8 +25,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
25
25
|
uploadSpeedBps: number;
|
26
26
|
totalSpeedBps: number;
|
27
27
|
}, {
|
28
|
-
nodeName: string;
|
29
28
|
countryCode: string;
|
29
|
+
nodeName: string;
|
30
30
|
nodeUuid: string;
|
31
31
|
downloadBytes: number;
|
32
32
|
uploadBytes: number;
|
@@ -37,8 +37,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
37
37
|
}>, "many">;
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
39
39
|
response: {
|
40
|
-
nodeName: string;
|
41
40
|
countryCode: string;
|
41
|
+
nodeName: string;
|
42
42
|
nodeUuid: string;
|
43
43
|
downloadBytes: number;
|
44
44
|
uploadBytes: number;
|
@@ -49,8 +49,8 @@ export declare namespace GetNodesRealtimeUsageCommand {
|
|
49
49
|
}[];
|
50
50
|
}, {
|
51
51
|
response: {
|
52
|
-
nodeName: string;
|
53
52
|
countryCode: string;
|
53
|
+
nodeName: string;
|
54
54
|
nodeUuid: string;
|
55
55
|
downloadBytes: number;
|
56
56
|
uploadBytes: number;
|
@@ -31,25 +31,32 @@ export declare namespace UpdateNodeCommand {
|
|
31
31
|
totalRam: z.ZodNullable<z.ZodString>;
|
32
32
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
33
33
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
34
|
-
|
34
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
35
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
35
36
|
uuid: z.ZodString;
|
37
|
+
profileUuid: z.ZodString;
|
36
38
|
tag: z.ZodString;
|
37
39
|
type: z.ZodString;
|
38
40
|
network: z.ZodNullable<z.ZodString>;
|
39
41
|
security: z.ZodNullable<z.ZodString>;
|
42
|
+
port: z.ZodNullable<z.ZodNumber>;
|
40
43
|
}, "strip", z.ZodTypeAny, {
|
41
44
|
type: string;
|
42
45
|
uuid: string;
|
46
|
+
profileUuid: string;
|
43
47
|
tag: string;
|
44
48
|
network: string | null;
|
45
49
|
security: string | null;
|
50
|
+
port: number | null;
|
46
51
|
}, {
|
47
52
|
type: string;
|
48
53
|
uuid: string;
|
54
|
+
profileUuid: string;
|
49
55
|
tag: string;
|
50
56
|
network: string | null;
|
51
57
|
security: string | null;
|
52
|
-
|
58
|
+
port: number | null;
|
59
|
+
}>, "many">>;
|
53
60
|
}, "uuid"> & {
|
54
61
|
name: z.ZodOptional<z.ZodString>;
|
55
62
|
address: z.ZodOptional<z.ZodString>;
|
@@ -58,33 +65,36 @@ export declare namespace UpdateNodeCommand {
|
|
58
65
|
trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
|
59
66
|
notifyPercent: z.ZodOptional<z.ZodNumber>;
|
60
67
|
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
61
|
-
excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
62
68
|
countryCode: z.ZodOptional<z.ZodString>;
|
63
69
|
consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
70
|
+
activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
|
71
|
+
activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
64
72
|
}, "strip", z.ZodTypeAny, {
|
65
73
|
uuid: string;
|
66
|
-
|
74
|
+
name?: string | undefined;
|
67
75
|
port?: number | undefined;
|
76
|
+
countryCode?: string | undefined;
|
77
|
+
trafficLimitBytes?: number | undefined;
|
68
78
|
address?: string | undefined;
|
69
|
-
name?: string | undefined;
|
70
79
|
isTrafficTrackingActive?: boolean | undefined;
|
71
80
|
trafficResetDay?: number | undefined;
|
72
81
|
notifyPercent?: number | undefined;
|
73
|
-
countryCode?: string | undefined;
|
74
82
|
consumptionMultiplier?: number | undefined;
|
75
|
-
|
83
|
+
activeConfigProfileUuid?: string | undefined;
|
84
|
+
activeInbounds?: string[] | undefined;
|
76
85
|
}, {
|
77
86
|
uuid: string;
|
78
|
-
|
87
|
+
name?: string | undefined;
|
79
88
|
port?: number | undefined;
|
89
|
+
countryCode?: string | undefined;
|
90
|
+
trafficLimitBytes?: number | undefined;
|
80
91
|
address?: string | undefined;
|
81
|
-
name?: string | undefined;
|
82
92
|
isTrafficTrackingActive?: boolean | undefined;
|
83
93
|
trafficResetDay?: number | undefined;
|
84
94
|
notifyPercent?: number | undefined;
|
85
|
-
countryCode?: string | undefined;
|
86
95
|
consumptionMultiplier?: number | undefined;
|
87
|
-
|
96
|
+
activeConfigProfileUuid?: string | undefined;
|
97
|
+
activeInbounds?: string[] | undefined;
|
88
98
|
}>;
|
89
99
|
type Request = z.infer<typeof RequestSchema>;
|
90
100
|
const ResponseSchema: z.ZodObject<{
|
@@ -116,35 +126,43 @@ export declare namespace UpdateNodeCommand {
|
|
116
126
|
totalRam: z.ZodNullable<z.ZodString>;
|
117
127
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
118
128
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
119
|
-
|
129
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
130
|
+
activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
120
131
|
uuid: z.ZodString;
|
132
|
+
profileUuid: z.ZodString;
|
121
133
|
tag: z.ZodString;
|
122
134
|
type: z.ZodString;
|
123
135
|
network: z.ZodNullable<z.ZodString>;
|
124
136
|
security: z.ZodNullable<z.ZodString>;
|
137
|
+
port: z.ZodNullable<z.ZodNumber>;
|
125
138
|
}, "strip", z.ZodTypeAny, {
|
126
139
|
type: string;
|
127
140
|
uuid: string;
|
141
|
+
profileUuid: string;
|
128
142
|
tag: string;
|
129
143
|
network: string | null;
|
130
144
|
security: string | null;
|
145
|
+
port: number | null;
|
131
146
|
}, {
|
132
147
|
type: string;
|
133
148
|
uuid: string;
|
149
|
+
profileUuid: string;
|
134
150
|
tag: string;
|
135
151
|
network: string | null;
|
136
152
|
security: string | null;
|
137
|
-
|
153
|
+
port: number | null;
|
154
|
+
}>, "many">>;
|
138
155
|
}, "strip", z.ZodTypeAny, {
|
139
156
|
uuid: string;
|
140
157
|
createdAt: Date;
|
141
158
|
updatedAt: Date;
|
142
|
-
|
159
|
+
name: string;
|
143
160
|
port: number | null;
|
161
|
+
countryCode: string;
|
162
|
+
trafficLimitBytes: number | null;
|
144
163
|
viewPosition: number;
|
145
164
|
address: string;
|
146
165
|
isDisabled: boolean;
|
147
|
-
name: string;
|
148
166
|
isConnected: boolean;
|
149
167
|
isConnecting: boolean;
|
150
168
|
isNodeOnline: boolean;
|
@@ -158,28 +176,31 @@ export declare namespace UpdateNodeCommand {
|
|
158
176
|
trafficUsedBytes: number | null;
|
159
177
|
notifyPercent: number | null;
|
160
178
|
usersOnline: number | null;
|
161
|
-
countryCode: string;
|
162
179
|
consumptionMultiplier: number;
|
163
180
|
cpuCount: number | null;
|
164
181
|
cpuModel: string | null;
|
165
182
|
totalRam: string | null;
|
166
|
-
|
183
|
+
activeConfigProfileUuid: string | null;
|
184
|
+
activeInbounds: {
|
167
185
|
type: string;
|
168
186
|
uuid: string;
|
187
|
+
profileUuid: string;
|
169
188
|
tag: string;
|
170
189
|
network: string | null;
|
171
190
|
security: string | null;
|
172
|
-
|
191
|
+
port: number | null;
|
192
|
+
}[] | null;
|
173
193
|
}, {
|
174
194
|
uuid: string;
|
175
195
|
createdAt: string;
|
176
196
|
updatedAt: string;
|
177
|
-
|
197
|
+
name: string;
|
178
198
|
port: number | null;
|
199
|
+
countryCode: string;
|
200
|
+
trafficLimitBytes: number | null;
|
179
201
|
viewPosition: number;
|
180
202
|
address: string;
|
181
203
|
isDisabled: boolean;
|
182
|
-
name: string;
|
183
204
|
isConnected: boolean;
|
184
205
|
isConnecting: boolean;
|
185
206
|
isNodeOnline: boolean;
|
@@ -193,30 +214,33 @@ export declare namespace UpdateNodeCommand {
|
|
193
214
|
trafficUsedBytes: number | null;
|
194
215
|
notifyPercent: number | null;
|
195
216
|
usersOnline: number | null;
|
196
|
-
countryCode: string;
|
197
217
|
consumptionMultiplier: number;
|
198
218
|
cpuCount: number | null;
|
199
219
|
cpuModel: string | null;
|
200
220
|
totalRam: string | null;
|
201
|
-
|
221
|
+
activeConfigProfileUuid: string | null;
|
222
|
+
activeInbounds: {
|
202
223
|
type: string;
|
203
224
|
uuid: string;
|
225
|
+
profileUuid: string;
|
204
226
|
tag: string;
|
205
227
|
network: string | null;
|
206
228
|
security: string | null;
|
207
|
-
|
229
|
+
port: number | null;
|
230
|
+
}[] | null;
|
208
231
|
}>;
|
209
232
|
}, "strip", z.ZodTypeAny, {
|
210
233
|
response: {
|
211
234
|
uuid: string;
|
212
235
|
createdAt: Date;
|
213
236
|
updatedAt: Date;
|
214
|
-
|
237
|
+
name: string;
|
215
238
|
port: number | null;
|
239
|
+
countryCode: string;
|
240
|
+
trafficLimitBytes: number | null;
|
216
241
|
viewPosition: number;
|
217
242
|
address: string;
|
218
243
|
isDisabled: boolean;
|
219
|
-
name: string;
|
220
244
|
isConnected: boolean;
|
221
245
|
isConnecting: boolean;
|
222
246
|
isNodeOnline: boolean;
|
@@ -230,30 +254,33 @@ export declare namespace UpdateNodeCommand {
|
|
230
254
|
trafficUsedBytes: number | null;
|
231
255
|
notifyPercent: number | null;
|
232
256
|
usersOnline: number | null;
|
233
|
-
countryCode: string;
|
234
257
|
consumptionMultiplier: number;
|
235
258
|
cpuCount: number | null;
|
236
259
|
cpuModel: string | null;
|
237
260
|
totalRam: string | null;
|
238
|
-
|
261
|
+
activeConfigProfileUuid: string | null;
|
262
|
+
activeInbounds: {
|
239
263
|
type: string;
|
240
264
|
uuid: string;
|
265
|
+
profileUuid: string;
|
241
266
|
tag: string;
|
242
267
|
network: string | null;
|
243
268
|
security: string | null;
|
244
|
-
|
269
|
+
port: number | null;
|
270
|
+
}[] | null;
|
245
271
|
};
|
246
272
|
}, {
|
247
273
|
response: {
|
248
274
|
uuid: string;
|
249
275
|
createdAt: string;
|
250
276
|
updatedAt: string;
|
251
|
-
|
277
|
+
name: string;
|
252
278
|
port: number | null;
|
279
|
+
countryCode: string;
|
280
|
+
trafficLimitBytes: number | null;
|
253
281
|
viewPosition: number;
|
254
282
|
address: string;
|
255
283
|
isDisabled: boolean;
|
256
|
-
name: string;
|
257
284
|
isConnected: boolean;
|
258
285
|
isConnecting: boolean;
|
259
286
|
isNodeOnline: boolean;
|
@@ -267,18 +294,20 @@ export declare namespace UpdateNodeCommand {
|
|
267
294
|
trafficUsedBytes: number | null;
|
268
295
|
notifyPercent: number | null;
|
269
296
|
usersOnline: number | null;
|
270
|
-
countryCode: string;
|
271
297
|
consumptionMultiplier: number;
|
272
298
|
cpuCount: number | null;
|
273
299
|
cpuModel: string | null;
|
274
300
|
totalRam: string | null;
|
275
|
-
|
301
|
+
activeConfigProfileUuid: string | null;
|
302
|
+
activeInbounds: {
|
276
303
|
type: string;
|
277
304
|
uuid: string;
|
305
|
+
profileUuid: string;
|
278
306
|
tag: string;
|
279
307
|
network: string | null;
|
280
308
|
security: string | null;
|
281
|
-
|
309
|
+
port: number | null;
|
310
|
+
}[] | null;
|
282
311
|
};
|
283
312
|
}>;
|
284
313
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAAkE,CAAC;IAExF,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -26,14 +26,15 @@ var UpdateNodeCommand;
|
|
26
26
|
.number()
|
27
27
|
.min(1, 'Traffic reset day must be greater than 0')
|
28
28
|
.max(31, 'Traffic reset day must be less than 31')),
|
29
|
-
excludedInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
30
|
-
invalid_type_error: 'Excluded inbounds must be an array of UUIDs',
|
31
|
-
})),
|
32
29
|
countryCode: zod_1.z.optional(zod_1.z.string().max(2, 'Country code must be 2 characters').toUpperCase()),
|
33
30
|
consumptionMultiplier: zod_1.z.optional(zod_1.z
|
34
31
|
.number()
|
35
32
|
.min(0.1, 'Consumption multiplier must be greater than 0')
|
36
33
|
.transform((n) => Number(n.toFixed(1)))),
|
34
|
+
activeConfigProfileUuid: zod_1.z.optional(zod_1.z.string().uuid()),
|
35
|
+
activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
36
|
+
invalid_type_error: 'Active inbounds must be an array of UUIDs',
|
37
|
+
})),
|
37
38
|
});
|
38
39
|
UpdateNodeCommand.ResponseSchema = zod_1.z.object({
|
39
40
|
response: models_1.NodesSchema,
|
@@ -14,7 +14,6 @@ export declare namespace DisableUserCommand {
|
|
14
14
|
const ResponseSchema: z.ZodObject<{
|
15
15
|
response: z.ZodObject<{
|
16
16
|
uuid: z.ZodString;
|
17
|
-
subscriptionUuid: z.ZodString;
|
18
17
|
shortUuid: z.ZodString;
|
19
18
|
username: z.ZodString;
|
20
19
|
status: z.ZodDefault<z.ZodNativeEnum<{
|
@@ -50,24 +49,15 @@ export declare namespace DisableUserCommand {
|
|
50
49
|
lastTriggeredThreshold: z.ZodDefault<z.ZodNumber>;
|
51
50
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
52
51
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
53
|
-
|
52
|
+
activeInternalSquads: z.ZodArray<z.ZodObject<{
|
54
53
|
uuid: z.ZodString;
|
55
|
-
|
56
|
-
type: z.ZodString;
|
57
|
-
network: z.ZodNullable<z.ZodString>;
|
58
|
-
security: z.ZodNullable<z.ZodString>;
|
54
|
+
name: z.ZodString;
|
59
55
|
}, "strip", z.ZodTypeAny, {
|
60
|
-
type: string;
|
61
56
|
uuid: string;
|
62
|
-
|
63
|
-
network: string | null;
|
64
|
-
security: string | null;
|
57
|
+
name: string;
|
65
58
|
}, {
|
66
|
-
type: string;
|
67
59
|
uuid: string;
|
68
|
-
|
69
|
-
network: string | null;
|
70
|
-
security: string | null;
|
60
|
+
name: string;
|
71
61
|
}>, "many">;
|
72
62
|
} & {
|
73
63
|
subscriptionUrl: z.ZodString;
|
@@ -95,7 +85,6 @@ export declare namespace DisableUserCommand {
|
|
95
85
|
updatedAt: Date;
|
96
86
|
username: string;
|
97
87
|
tag: string | null;
|
98
|
-
subscriptionUuid: string;
|
99
88
|
shortUuid: string;
|
100
89
|
usedTrafficBytes: number;
|
101
90
|
lifetimeUsedTrafficBytes: number;
|
@@ -116,12 +105,9 @@ export declare namespace DisableUserCommand {
|
|
116
105
|
hwidDeviceLimit: number | null;
|
117
106
|
firstConnectedAt: Date | null;
|
118
107
|
lastTriggeredThreshold: number;
|
119
|
-
|
120
|
-
type: string;
|
108
|
+
activeInternalSquads: {
|
121
109
|
uuid: string;
|
122
|
-
|
123
|
-
network: string | null;
|
124
|
-
security: string | null;
|
110
|
+
name: string;
|
125
111
|
}[];
|
126
112
|
subscriptionUrl: string;
|
127
113
|
lastConnectedNode: {
|
@@ -137,7 +123,6 @@ export declare namespace DisableUserCommand {
|
|
137
123
|
updatedAt: string;
|
138
124
|
username: string;
|
139
125
|
tag: string | null;
|
140
|
-
subscriptionUuid: string;
|
141
126
|
shortUuid: string;
|
142
127
|
usedTrafficBytes: number;
|
143
128
|
lifetimeUsedTrafficBytes: number;
|
@@ -155,12 +140,9 @@ export declare namespace DisableUserCommand {
|
|
155
140
|
email: string | null;
|
156
141
|
hwidDeviceLimit: number | null;
|
157
142
|
firstConnectedAt: string | null;
|
158
|
-
|
159
|
-
type: string;
|
143
|
+
activeInternalSquads: {
|
160
144
|
uuid: string;
|
161
|
-
|
162
|
-
network: string | null;
|
163
|
-
security: string | null;
|
145
|
+
name: string;
|
164
146
|
}[];
|
165
147
|
subscriptionUrl: string;
|
166
148
|
lastConnectedNode: {
|
@@ -183,7 +165,6 @@ export declare namespace DisableUserCommand {
|
|
183
165
|
updatedAt: Date;
|
184
166
|
username: string;
|
185
167
|
tag: string | null;
|
186
|
-
subscriptionUuid: string;
|
187
168
|
shortUuid: string;
|
188
169
|
usedTrafficBytes: number;
|
189
170
|
lifetimeUsedTrafficBytes: number;
|
@@ -204,12 +185,9 @@ export declare namespace DisableUserCommand {
|
|
204
185
|
hwidDeviceLimit: number | null;
|
205
186
|
firstConnectedAt: Date | null;
|
206
187
|
lastTriggeredThreshold: number;
|
207
|
-
|
208
|
-
type: string;
|
188
|
+
activeInternalSquads: {
|
209
189
|
uuid: string;
|
210
|
-
|
211
|
-
network: string | null;
|
212
|
-
security: string | null;
|
190
|
+
name: string;
|
213
191
|
}[];
|
214
192
|
subscriptionUrl: string;
|
215
193
|
lastConnectedNode: {
|
@@ -227,7 +205,6 @@ export declare namespace DisableUserCommand {
|
|
227
205
|
updatedAt: string;
|
228
206
|
username: string;
|
229
207
|
tag: string | null;
|
230
|
-
subscriptionUuid: string;
|
231
208
|
shortUuid: string;
|
232
209
|
usedTrafficBytes: number;
|
233
210
|
lifetimeUsedTrafficBytes: number;
|
@@ -245,12 +222,9 @@ export declare namespace DisableUserCommand {
|
|
245
222
|
email: string | null;
|
246
223
|
hwidDeviceLimit: number | null;
|
247
224
|
firstConnectedAt: string | null;
|
248
|
-
|
249
|
-
type: string;
|
225
|
+
activeInternalSquads: {
|
250
226
|
uuid: string;
|
251
|
-
|
252
|
-
network: string | null;
|
253
|
-
security: string | null;
|
227
|
+
name: string;
|
254
228
|
}[];
|
255
229
|
subscriptionUrl: string;
|
256
230
|
lastConnectedNode: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/disable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"disable-user.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/actions/disable-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAiC,CAAC;IAC3C,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
|