@remnawave/backend-contract 2.0.0-alpha.3 → 2.0.0-alpha.30
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/index.d.ts +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -0
- 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 +18 -0
- package/build/backend/api/controllers/internal-squads.d.ts +4 -0
- package/build/backend/api/controllers/internal-squads.d.ts.map +1 -1
- package/build/backend/api/controllers/internal-squads.js +5 -0
- package/build/backend/api/controllers/users.d.ts +1 -0
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +1 -0
- package/build/backend/api/routes.d.ts +19 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +19 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +31 -10
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +31 -10
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +31 -10
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +31 -10
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +31 -10
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +52 -19
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +13 -13
- package/build/backend/commands/hosts/get-all.command.d.ts +31 -10
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +31 -10
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +11 -2
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +63 -21
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +10 -11
- package/build/backend/commands/index.d.ts +1 -0
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +125 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.js +30 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +467 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.js +38 -0
- 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-bill-record-by-uuid.command.d.ts +119 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +461 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -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-bill-records.command.d.ts +122 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +453 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-billing-nodes.command.js +26 -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 +13 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/index.js +28 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +464 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.js +35 -0
- 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/bulk-actions/add-users-to-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts +33 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts +3 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/bulk-actions/index.js +18 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..d.ts → get-internal-squad-by-uuid.d.ts} +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts.map +1 -0
- package/build/backend/commands/internal-squads/index.d.ts +2 -1
- package/build/backend/commands/internal-squads/index.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/index.js +2 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +162 -64
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +162 -64
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +236 -88
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +183 -70
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +7 -4
- package/build/backend/commands/nodes/get-all.command.d.ts +162 -64
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +162 -64
- 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/update.command.d.ts +257 -94
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +9 -4
- 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-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/constants/errors/errors.d.ts +95 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +95 -0
- package/build/backend/constants/events/events.d.ts +11 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +10 -0
- package/build/backend/constants/headers/headers.contants.d.ts +3 -0
- package/build/backend/constants/headers/headers.contants.d.ts.map +1 -0
- package/build/backend/constants/headers/headers.contants.js +5 -0
- package/build/backend/constants/headers/index.d.ts +2 -0
- package/build/backend/constants/headers/index.d.ts.map +1 -0
- package/build/backend/constants/headers/index.js +17 -0
- package/build/backend/constants/index.d.ts +1 -0
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +1 -0
- package/build/backend/constants/templates/template-keys.d.ts +1 -1
- package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
- package/build/backend/constants/templates/template-keys.js +1 -0
- package/build/backend/models/{extented-users.schema.d.ts → extended-users.schema.d.ts} +1 -1
- package/build/backend/models/{extented-users.schema.d.ts.map → extended-users.schema.d.ts.map} +1 -1
- package/build/backend/models/hosts.schema.d.ts +21 -6
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +5 -2
- package/build/backend/models/index.d.ts +5 -1
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +5 -1
- package/build/backend/models/infra-billing-available-node.schema.d.ts +117 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-available-node.schema.js +9 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-history-record.schema.js +19 -0
- package/build/backend/models/infra-billing-node.schema.d.ts +180 -0
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-node.schema.js +34 -0
- package/build/backend/models/infra-provider.schema.d.ts +87 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
- package/build/backend/models/infra-provider.schema.js +41 -0
- package/build/backend/models/nodes.schema.d.ts +118 -44
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +8 -2
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/infra-billing.js +18 -0
- package/build/frontend/api/controllers/internal-squads.js +5 -0
- package/build/frontend/api/controllers/users.js +1 -0
- package/build/frontend/api/routes.js +19 -0
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/frontend/commands/hosts/create.command.js +13 -13
- package/build/frontend/commands/hosts/update.command.js +10 -11
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +30 -0
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +38 -0
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +29 -0
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +26 -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/infra-billing/index.js +28 -0
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +35 -0
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/frontend/commands/internal-squads/bulk-actions/add-users-to-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/bulk-actions/delete-users-from-internal-squad.command.js +20 -0
- package/build/frontend/commands/internal-squads/bulk-actions/index.js +18 -0
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/frontend/commands/internal-squads/index.js +2 -1
- package/build/frontend/commands/nodes/create.command.js +7 -4
- package/build/frontend/commands/nodes/update.command.js +9 -4
- 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/constants/errors/errors.js +95 -0
- package/build/frontend/constants/events/events.js +10 -0
- package/build/frontend/constants/headers/headers.contants.js +5 -0
- package/build/frontend/constants/headers/index.js +17 -0
- package/build/frontend/constants/index.js +1 -0
- package/build/frontend/constants/templates/template-keys.js +1 -0
- package/build/frontend/models/hosts.schema.js +5 -2
- package/build/frontend/models/index.js +5 -1
- package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
- package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
- package/build/frontend/models/infra-billing-node.schema.js +34 -0
- package/build/frontend/models/infra-provider.schema.js +41 -0
- package/build/frontend/models/nodes.schema.js +8 -2
- package/package.json +1 -1
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +0 -1
- /package/build/backend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
- /package/build/backend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
- /package/build/frontend/commands/internal-squads/{get-internal-squad-by-uuid..js → get-internal-squad-by-uuid.js} +0 -0
- /package/build/frontend/models/{extented-users.schema.js → extended-users.schema.js} +0 -0
@@ -25,6 +25,7 @@ export declare namespace DisableNodeCommand {
|
|
25
25
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
26
26
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
27
27
|
xrayVersion: z.ZodNullable<z.ZodString>;
|
28
|
+
nodeVersion: z.ZodNullable<z.ZodString>;
|
28
29
|
xrayUptime: z.ZodString;
|
29
30
|
isTrafficTrackingActive: z.ZodBoolean;
|
30
31
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
@@ -40,35 +41,84 @@ export declare namespace DisableNodeCommand {
|
|
40
41
|
totalRam: z.ZodNullable<z.ZodString>;
|
41
42
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
42
43
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
43
|
-
|
44
|
-
|
44
|
+
configProfile: z.ZodObject<{
|
45
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
46
|
+
activeInbounds: z.ZodArray<z.ZodObject<{
|
47
|
+
uuid: z.ZodString;
|
48
|
+
profileUuid: z.ZodString;
|
49
|
+
tag: z.ZodString;
|
50
|
+
type: z.ZodString;
|
51
|
+
network: z.ZodNullable<z.ZodString>;
|
52
|
+
security: z.ZodNullable<z.ZodString>;
|
53
|
+
port: z.ZodNullable<z.ZodNumber>;
|
54
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
56
|
+
type: string;
|
57
|
+
uuid: string;
|
58
|
+
profileUuid: string;
|
59
|
+
tag: string;
|
60
|
+
network: string | null;
|
61
|
+
security: string | null;
|
62
|
+
port: number | null;
|
63
|
+
rawInbound?: unknown;
|
64
|
+
}, {
|
65
|
+
type: string;
|
66
|
+
uuid: string;
|
67
|
+
profileUuid: string;
|
68
|
+
tag: string;
|
69
|
+
network: string | null;
|
70
|
+
security: string | null;
|
71
|
+
port: number | null;
|
72
|
+
rawInbound?: unknown;
|
73
|
+
}>, "many">;
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
75
|
+
activeConfigProfileUuid: string | null;
|
76
|
+
activeInbounds: {
|
77
|
+
type: string;
|
78
|
+
uuid: string;
|
79
|
+
profileUuid: string;
|
80
|
+
tag: string;
|
81
|
+
network: string | null;
|
82
|
+
security: string | null;
|
83
|
+
port: number | null;
|
84
|
+
rawInbound?: unknown;
|
85
|
+
}[];
|
86
|
+
}, {
|
87
|
+
activeConfigProfileUuid: string | null;
|
88
|
+
activeInbounds: {
|
89
|
+
type: string;
|
90
|
+
uuid: string;
|
91
|
+
profileUuid: string;
|
92
|
+
tag: string;
|
93
|
+
network: string | null;
|
94
|
+
security: string | null;
|
95
|
+
port: number | null;
|
96
|
+
rawInbound?: unknown;
|
97
|
+
}[];
|
98
|
+
}>;
|
99
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
100
|
+
provider: z.ZodNullable<z.ZodObject<{
|
45
101
|
uuid: z.ZodString;
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
port: z.ZodNullable<z.ZodNumber>;
|
52
|
-
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
102
|
+
name: z.ZodString;
|
103
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
104
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
105
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
106
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
53
107
|
}, "strip", z.ZodTypeAny, {
|
54
|
-
type: string;
|
55
108
|
uuid: string;
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
rawInbound?: unknown;
|
109
|
+
createdAt: Date;
|
110
|
+
updatedAt: Date;
|
111
|
+
name: string;
|
112
|
+
faviconLink: string | null;
|
113
|
+
loginUrl: string | null;
|
62
114
|
}, {
|
63
|
-
type: string;
|
64
115
|
uuid: string;
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
}>, "many">>;
|
116
|
+
createdAt: string;
|
117
|
+
updatedAt: string;
|
118
|
+
name: string;
|
119
|
+
faviconLink: string | null;
|
120
|
+
loginUrl: string | null;
|
121
|
+
}>>;
|
72
122
|
}, "strip", z.ZodTypeAny, {
|
73
123
|
uuid: string;
|
74
124
|
createdAt: Date;
|
@@ -87,6 +137,7 @@ export declare namespace DisableNodeCommand {
|
|
87
137
|
lastStatusChange: Date | null;
|
88
138
|
lastStatusMessage: string | null;
|
89
139
|
xrayVersion: string | null;
|
140
|
+
nodeVersion: string | null;
|
90
141
|
xrayUptime: string;
|
91
142
|
isTrafficTrackingActive: boolean;
|
92
143
|
trafficResetDay: number | null;
|
@@ -97,17 +148,28 @@ export declare namespace DisableNodeCommand {
|
|
97
148
|
cpuCount: number | null;
|
98
149
|
cpuModel: string | null;
|
99
150
|
totalRam: string | null;
|
100
|
-
|
101
|
-
|
102
|
-
|
151
|
+
configProfile: {
|
152
|
+
activeConfigProfileUuid: string | null;
|
153
|
+
activeInbounds: {
|
154
|
+
type: string;
|
155
|
+
uuid: string;
|
156
|
+
profileUuid: string;
|
157
|
+
tag: string;
|
158
|
+
network: string | null;
|
159
|
+
security: string | null;
|
160
|
+
port: number | null;
|
161
|
+
rawInbound?: unknown;
|
162
|
+
}[];
|
163
|
+
};
|
164
|
+
providerUuid: string | null;
|
165
|
+
provider: {
|
103
166
|
uuid: string;
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
}[] | null;
|
167
|
+
createdAt: Date;
|
168
|
+
updatedAt: Date;
|
169
|
+
name: string;
|
170
|
+
faviconLink: string | null;
|
171
|
+
loginUrl: string | null;
|
172
|
+
} | null;
|
111
173
|
}, {
|
112
174
|
uuid: string;
|
113
175
|
createdAt: string;
|
@@ -126,6 +188,7 @@ export declare namespace DisableNodeCommand {
|
|
126
188
|
lastStatusChange: string | null;
|
127
189
|
lastStatusMessage: string | null;
|
128
190
|
xrayVersion: string | null;
|
191
|
+
nodeVersion: string | null;
|
129
192
|
xrayUptime: string;
|
130
193
|
isTrafficTrackingActive: boolean;
|
131
194
|
trafficResetDay: number | null;
|
@@ -136,17 +199,28 @@ export declare namespace DisableNodeCommand {
|
|
136
199
|
cpuCount: number | null;
|
137
200
|
cpuModel: string | null;
|
138
201
|
totalRam: string | null;
|
139
|
-
|
140
|
-
|
141
|
-
|
202
|
+
configProfile: {
|
203
|
+
activeConfigProfileUuid: string | null;
|
204
|
+
activeInbounds: {
|
205
|
+
type: string;
|
206
|
+
uuid: string;
|
207
|
+
profileUuid: string;
|
208
|
+
tag: string;
|
209
|
+
network: string | null;
|
210
|
+
security: string | null;
|
211
|
+
port: number | null;
|
212
|
+
rawInbound?: unknown;
|
213
|
+
}[];
|
214
|
+
};
|
215
|
+
providerUuid: string | null;
|
216
|
+
provider: {
|
142
217
|
uuid: string;
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
}[] | null;
|
218
|
+
createdAt: string;
|
219
|
+
updatedAt: string;
|
220
|
+
name: string;
|
221
|
+
faviconLink: string | null;
|
222
|
+
loginUrl: string | null;
|
223
|
+
} | null;
|
150
224
|
}>;
|
151
225
|
}, "strip", z.ZodTypeAny, {
|
152
226
|
response: {
|
@@ -167,6 +241,7 @@ export declare namespace DisableNodeCommand {
|
|
167
241
|
lastStatusChange: Date | null;
|
168
242
|
lastStatusMessage: string | null;
|
169
243
|
xrayVersion: string | null;
|
244
|
+
nodeVersion: string | null;
|
170
245
|
xrayUptime: string;
|
171
246
|
isTrafficTrackingActive: boolean;
|
172
247
|
trafficResetDay: number | null;
|
@@ -177,17 +252,28 @@ export declare namespace DisableNodeCommand {
|
|
177
252
|
cpuCount: number | null;
|
178
253
|
cpuModel: string | null;
|
179
254
|
totalRam: string | null;
|
180
|
-
|
181
|
-
|
182
|
-
|
255
|
+
configProfile: {
|
256
|
+
activeConfigProfileUuid: string | null;
|
257
|
+
activeInbounds: {
|
258
|
+
type: string;
|
259
|
+
uuid: string;
|
260
|
+
profileUuid: string;
|
261
|
+
tag: string;
|
262
|
+
network: string | null;
|
263
|
+
security: string | null;
|
264
|
+
port: number | null;
|
265
|
+
rawInbound?: unknown;
|
266
|
+
}[];
|
267
|
+
};
|
268
|
+
providerUuid: string | null;
|
269
|
+
provider: {
|
183
270
|
uuid: string;
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
}[] | null;
|
271
|
+
createdAt: Date;
|
272
|
+
updatedAt: Date;
|
273
|
+
name: string;
|
274
|
+
faviconLink: string | null;
|
275
|
+
loginUrl: string | null;
|
276
|
+
} | null;
|
191
277
|
};
|
192
278
|
}, {
|
193
279
|
response: {
|
@@ -208,6 +294,7 @@ export declare namespace DisableNodeCommand {
|
|
208
294
|
lastStatusChange: string | null;
|
209
295
|
lastStatusMessage: string | null;
|
210
296
|
xrayVersion: string | null;
|
297
|
+
nodeVersion: string | null;
|
211
298
|
xrayUptime: string;
|
212
299
|
isTrafficTrackingActive: boolean;
|
213
300
|
trafficResetDay: number | null;
|
@@ -218,17 +305,28 @@ export declare namespace DisableNodeCommand {
|
|
218
305
|
cpuCount: number | null;
|
219
306
|
cpuModel: string | null;
|
220
307
|
totalRam: string | null;
|
221
|
-
|
222
|
-
|
223
|
-
|
308
|
+
configProfile: {
|
309
|
+
activeConfigProfileUuid: string | null;
|
310
|
+
activeInbounds: {
|
311
|
+
type: string;
|
312
|
+
uuid: string;
|
313
|
+
profileUuid: string;
|
314
|
+
tag: string;
|
315
|
+
network: string | null;
|
316
|
+
security: string | null;
|
317
|
+
port: number | null;
|
318
|
+
rawInbound?: unknown;
|
319
|
+
}[];
|
320
|
+
};
|
321
|
+
providerUuid: string | null;
|
322
|
+
provider: {
|
224
323
|
uuid: string;
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
}[] | null;
|
324
|
+
createdAt: string;
|
325
|
+
updatedAt: string;
|
326
|
+
name: string;
|
327
|
+
faviconLink: string | null;
|
328
|
+
loginUrl: string | null;
|
329
|
+
} | null;
|
232
330
|
};
|
233
331
|
}>;
|
234
332
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.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.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/disable.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"}
|
@@ -25,6 +25,7 @@ export declare namespace EnableNodeCommand {
|
|
25
25
|
lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
|
26
26
|
lastStatusMessage: z.ZodNullable<z.ZodString>;
|
27
27
|
xrayVersion: z.ZodNullable<z.ZodString>;
|
28
|
+
nodeVersion: z.ZodNullable<z.ZodString>;
|
28
29
|
xrayUptime: z.ZodString;
|
29
30
|
isTrafficTrackingActive: z.ZodBoolean;
|
30
31
|
trafficResetDay: z.ZodNullable<z.ZodNumber>;
|
@@ -40,35 +41,84 @@ export declare namespace EnableNodeCommand {
|
|
40
41
|
totalRam: z.ZodNullable<z.ZodString>;
|
41
42
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
42
43
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
43
|
-
|
44
|
-
|
44
|
+
configProfile: z.ZodObject<{
|
45
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
46
|
+
activeInbounds: z.ZodArray<z.ZodObject<{
|
47
|
+
uuid: z.ZodString;
|
48
|
+
profileUuid: z.ZodString;
|
49
|
+
tag: z.ZodString;
|
50
|
+
type: z.ZodString;
|
51
|
+
network: z.ZodNullable<z.ZodString>;
|
52
|
+
security: z.ZodNullable<z.ZodString>;
|
53
|
+
port: z.ZodNullable<z.ZodNumber>;
|
54
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
56
|
+
type: string;
|
57
|
+
uuid: string;
|
58
|
+
profileUuid: string;
|
59
|
+
tag: string;
|
60
|
+
network: string | null;
|
61
|
+
security: string | null;
|
62
|
+
port: number | null;
|
63
|
+
rawInbound?: unknown;
|
64
|
+
}, {
|
65
|
+
type: string;
|
66
|
+
uuid: string;
|
67
|
+
profileUuid: string;
|
68
|
+
tag: string;
|
69
|
+
network: string | null;
|
70
|
+
security: string | null;
|
71
|
+
port: number | null;
|
72
|
+
rawInbound?: unknown;
|
73
|
+
}>, "many">;
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
75
|
+
activeConfigProfileUuid: string | null;
|
76
|
+
activeInbounds: {
|
77
|
+
type: string;
|
78
|
+
uuid: string;
|
79
|
+
profileUuid: string;
|
80
|
+
tag: string;
|
81
|
+
network: string | null;
|
82
|
+
security: string | null;
|
83
|
+
port: number | null;
|
84
|
+
rawInbound?: unknown;
|
85
|
+
}[];
|
86
|
+
}, {
|
87
|
+
activeConfigProfileUuid: string | null;
|
88
|
+
activeInbounds: {
|
89
|
+
type: string;
|
90
|
+
uuid: string;
|
91
|
+
profileUuid: string;
|
92
|
+
tag: string;
|
93
|
+
network: string | null;
|
94
|
+
security: string | null;
|
95
|
+
port: number | null;
|
96
|
+
rawInbound?: unknown;
|
97
|
+
}[];
|
98
|
+
}>;
|
99
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
100
|
+
provider: z.ZodNullable<z.ZodObject<{
|
45
101
|
uuid: z.ZodString;
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
port: z.ZodNullable<z.ZodNumber>;
|
52
|
-
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
102
|
+
name: z.ZodString;
|
103
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
104
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
105
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
106
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
53
107
|
}, "strip", z.ZodTypeAny, {
|
54
|
-
type: string;
|
55
108
|
uuid: string;
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
rawInbound?: unknown;
|
109
|
+
createdAt: Date;
|
110
|
+
updatedAt: Date;
|
111
|
+
name: string;
|
112
|
+
faviconLink: string | null;
|
113
|
+
loginUrl: string | null;
|
62
114
|
}, {
|
63
|
-
type: string;
|
64
115
|
uuid: string;
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
}>, "many">>;
|
116
|
+
createdAt: string;
|
117
|
+
updatedAt: string;
|
118
|
+
name: string;
|
119
|
+
faviconLink: string | null;
|
120
|
+
loginUrl: string | null;
|
121
|
+
}>>;
|
72
122
|
}, "strip", z.ZodTypeAny, {
|
73
123
|
uuid: string;
|
74
124
|
createdAt: Date;
|
@@ -87,6 +137,7 @@ export declare namespace EnableNodeCommand {
|
|
87
137
|
lastStatusChange: Date | null;
|
88
138
|
lastStatusMessage: string | null;
|
89
139
|
xrayVersion: string | null;
|
140
|
+
nodeVersion: string | null;
|
90
141
|
xrayUptime: string;
|
91
142
|
isTrafficTrackingActive: boolean;
|
92
143
|
trafficResetDay: number | null;
|
@@ -97,17 +148,28 @@ export declare namespace EnableNodeCommand {
|
|
97
148
|
cpuCount: number | null;
|
98
149
|
cpuModel: string | null;
|
99
150
|
totalRam: string | null;
|
100
|
-
|
101
|
-
|
102
|
-
|
151
|
+
configProfile: {
|
152
|
+
activeConfigProfileUuid: string | null;
|
153
|
+
activeInbounds: {
|
154
|
+
type: string;
|
155
|
+
uuid: string;
|
156
|
+
profileUuid: string;
|
157
|
+
tag: string;
|
158
|
+
network: string | null;
|
159
|
+
security: string | null;
|
160
|
+
port: number | null;
|
161
|
+
rawInbound?: unknown;
|
162
|
+
}[];
|
163
|
+
};
|
164
|
+
providerUuid: string | null;
|
165
|
+
provider: {
|
103
166
|
uuid: string;
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
}[] | null;
|
167
|
+
createdAt: Date;
|
168
|
+
updatedAt: Date;
|
169
|
+
name: string;
|
170
|
+
faviconLink: string | null;
|
171
|
+
loginUrl: string | null;
|
172
|
+
} | null;
|
111
173
|
}, {
|
112
174
|
uuid: string;
|
113
175
|
createdAt: string;
|
@@ -126,6 +188,7 @@ export declare namespace EnableNodeCommand {
|
|
126
188
|
lastStatusChange: string | null;
|
127
189
|
lastStatusMessage: string | null;
|
128
190
|
xrayVersion: string | null;
|
191
|
+
nodeVersion: string | null;
|
129
192
|
xrayUptime: string;
|
130
193
|
isTrafficTrackingActive: boolean;
|
131
194
|
trafficResetDay: number | null;
|
@@ -136,17 +199,28 @@ export declare namespace EnableNodeCommand {
|
|
136
199
|
cpuCount: number | null;
|
137
200
|
cpuModel: string | null;
|
138
201
|
totalRam: string | null;
|
139
|
-
|
140
|
-
|
141
|
-
|
202
|
+
configProfile: {
|
203
|
+
activeConfigProfileUuid: string | null;
|
204
|
+
activeInbounds: {
|
205
|
+
type: string;
|
206
|
+
uuid: string;
|
207
|
+
profileUuid: string;
|
208
|
+
tag: string;
|
209
|
+
network: string | null;
|
210
|
+
security: string | null;
|
211
|
+
port: number | null;
|
212
|
+
rawInbound?: unknown;
|
213
|
+
}[];
|
214
|
+
};
|
215
|
+
providerUuid: string | null;
|
216
|
+
provider: {
|
142
217
|
uuid: string;
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
}[] | null;
|
218
|
+
createdAt: string;
|
219
|
+
updatedAt: string;
|
220
|
+
name: string;
|
221
|
+
faviconLink: string | null;
|
222
|
+
loginUrl: string | null;
|
223
|
+
} | null;
|
150
224
|
}>;
|
151
225
|
}, "strip", z.ZodTypeAny, {
|
152
226
|
response: {
|
@@ -167,6 +241,7 @@ export declare namespace EnableNodeCommand {
|
|
167
241
|
lastStatusChange: Date | null;
|
168
242
|
lastStatusMessage: string | null;
|
169
243
|
xrayVersion: string | null;
|
244
|
+
nodeVersion: string | null;
|
170
245
|
xrayUptime: string;
|
171
246
|
isTrafficTrackingActive: boolean;
|
172
247
|
trafficResetDay: number | null;
|
@@ -177,17 +252,28 @@ export declare namespace EnableNodeCommand {
|
|
177
252
|
cpuCount: number | null;
|
178
253
|
cpuModel: string | null;
|
179
254
|
totalRam: string | null;
|
180
|
-
|
181
|
-
|
182
|
-
|
255
|
+
configProfile: {
|
256
|
+
activeConfigProfileUuid: string | null;
|
257
|
+
activeInbounds: {
|
258
|
+
type: string;
|
259
|
+
uuid: string;
|
260
|
+
profileUuid: string;
|
261
|
+
tag: string;
|
262
|
+
network: string | null;
|
263
|
+
security: string | null;
|
264
|
+
port: number | null;
|
265
|
+
rawInbound?: unknown;
|
266
|
+
}[];
|
267
|
+
};
|
268
|
+
providerUuid: string | null;
|
269
|
+
provider: {
|
183
270
|
uuid: string;
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
}[] | null;
|
271
|
+
createdAt: Date;
|
272
|
+
updatedAt: Date;
|
273
|
+
name: string;
|
274
|
+
faviconLink: string | null;
|
275
|
+
loginUrl: string | null;
|
276
|
+
} | null;
|
191
277
|
};
|
192
278
|
}, {
|
193
279
|
response: {
|
@@ -208,6 +294,7 @@ export declare namespace EnableNodeCommand {
|
|
208
294
|
lastStatusChange: string | null;
|
209
295
|
lastStatusMessage: string | null;
|
210
296
|
xrayVersion: string | null;
|
297
|
+
nodeVersion: string | null;
|
211
298
|
xrayUptime: string;
|
212
299
|
isTrafficTrackingActive: boolean;
|
213
300
|
trafficResetDay: number | null;
|
@@ -218,17 +305,28 @@ export declare namespace EnableNodeCommand {
|
|
218
305
|
cpuCount: number | null;
|
219
306
|
cpuModel: string | null;
|
220
307
|
totalRam: string | null;
|
221
|
-
|
222
|
-
|
223
|
-
|
308
|
+
configProfile: {
|
309
|
+
activeConfigProfileUuid: string | null;
|
310
|
+
activeInbounds: {
|
311
|
+
type: string;
|
312
|
+
uuid: string;
|
313
|
+
profileUuid: string;
|
314
|
+
tag: string;
|
315
|
+
network: string | null;
|
316
|
+
security: string | null;
|
317
|
+
port: number | null;
|
318
|
+
rawInbound?: unknown;
|
319
|
+
}[];
|
320
|
+
};
|
321
|
+
providerUuid: string | null;
|
322
|
+
provider: {
|
224
323
|
uuid: string;
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
}[] | null;
|
324
|
+
createdAt: string;
|
325
|
+
updatedAt: string;
|
326
|
+
name: string;
|
327
|
+
faviconLink: string | null;
|
328
|
+
loginUrl: string | null;
|
329
|
+
} | null;
|
232
330
|
};
|
233
331
|
}>;
|
234
332
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,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":"enable.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAgC,CAAC;IAC1C,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"}
|