@remnawave/backend-contract 2.0.0-alpha.20 → 2.0.0-alpha.22
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/commands/hosts/bulk/delete-many-hosts.command.d.ts +26 -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 +26 -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 +26 -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 +26 -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 +26 -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 +44 -19
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +7 -13
- package/build/backend/commands/hosts/get-all.command.d.ts +26 -10
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +26 -10
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +10 -2
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +54 -21
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +4 -11
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +106 -54
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +106 -54
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts +106 -54
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +106 -54
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +105 -71
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +105 -71
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +158 -98
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +123 -77
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +6 -4
- package/build/backend/commands/nodes/get-all.command.d.ts +105 -71
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +105 -71
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +176 -104
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +8 -4
- package/build/backend/models/hosts.schema.d.ts +18 -6
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +4 -2
- package/build/backend/models/infra-billing-available-node.schema.d.ts +53 -27
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
- package/build/backend/models/infra-billing-node.schema.d.ts +53 -27
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.d.ts +79 -49
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +4 -2
- package/build/frontend/commands/hosts/create.command.js +7 -13
- package/build/frontend/commands/hosts/update.command.js +4 -11
- package/build/frontend/commands/nodes/create.command.js +6 -4
- package/build/frontend/commands/nodes/update.command.js +8 -4
- package/build/frontend/models/hosts.schema.js +4 -2
- package/build/frontend/models/nodes.schema.js +4 -2
- package/package.json +1 -1
@@ -40,35 +40,61 @@ 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
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
43
|
+
configProfile: z.ZodObject<{
|
44
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
45
|
+
activeInbounds: z.ZodArray<z.ZodObject<{
|
46
|
+
uuid: z.ZodString;
|
47
|
+
profileUuid: z.ZodString;
|
48
|
+
tag: z.ZodString;
|
49
|
+
type: z.ZodString;
|
50
|
+
network: z.ZodNullable<z.ZodString>;
|
51
|
+
security: z.ZodNullable<z.ZodString>;
|
52
|
+
port: z.ZodNullable<z.ZodNumber>;
|
53
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
55
|
+
type: string;
|
56
|
+
uuid: string;
|
57
|
+
profileUuid: string;
|
58
|
+
tag: string;
|
59
|
+
network: string | null;
|
60
|
+
security: string | null;
|
61
|
+
port: number | null;
|
62
|
+
rawInbound?: unknown;
|
63
|
+
}, {
|
64
|
+
type: string;
|
65
|
+
uuid: string;
|
66
|
+
profileUuid: string;
|
67
|
+
tag: string;
|
68
|
+
network: string | null;
|
69
|
+
security: string | null;
|
70
|
+
port: number | null;
|
71
|
+
rawInbound?: unknown;
|
72
|
+
}>, "many">;
|
53
73
|
}, "strip", z.ZodTypeAny, {
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
74
|
+
activeConfigProfileUuid: string | null;
|
75
|
+
activeInbounds: {
|
76
|
+
type: string;
|
77
|
+
uuid: string;
|
78
|
+
profileUuid: string;
|
79
|
+
tag: string;
|
80
|
+
network: string | null;
|
81
|
+
security: string | null;
|
82
|
+
port: number | null;
|
83
|
+
rawInbound?: unknown;
|
84
|
+
}[];
|
62
85
|
}, {
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
86
|
+
activeConfigProfileUuid: string | null;
|
87
|
+
activeInbounds: {
|
88
|
+
type: string;
|
89
|
+
uuid: string;
|
90
|
+
profileUuid: string;
|
91
|
+
tag: string;
|
92
|
+
network: string | null;
|
93
|
+
security: string | null;
|
94
|
+
port: number | null;
|
95
|
+
rawInbound?: unknown;
|
96
|
+
}[];
|
97
|
+
}>;
|
72
98
|
providerUuid: z.ZodNullable<z.ZodString>;
|
73
99
|
provider: z.ZodNullable<z.ZodObject<{
|
74
100
|
uuid: z.ZodString;
|
@@ -120,17 +146,19 @@ export declare namespace GetOneNodeCommand {
|
|
120
146
|
cpuCount: number | null;
|
121
147
|
cpuModel: string | null;
|
122
148
|
totalRam: string | null;
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
149
|
+
configProfile: {
|
150
|
+
activeConfigProfileUuid: string | null;
|
151
|
+
activeInbounds: {
|
152
|
+
type: string;
|
153
|
+
uuid: string;
|
154
|
+
profileUuid: string;
|
155
|
+
tag: string;
|
156
|
+
network: string | null;
|
157
|
+
security: string | null;
|
158
|
+
port: number | null;
|
159
|
+
rawInbound?: unknown;
|
160
|
+
}[];
|
161
|
+
};
|
134
162
|
providerUuid: string | null;
|
135
163
|
provider: {
|
136
164
|
uuid: string;
|
@@ -168,17 +196,19 @@ export declare namespace GetOneNodeCommand {
|
|
168
196
|
cpuCount: number | null;
|
169
197
|
cpuModel: string | null;
|
170
198
|
totalRam: string | null;
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
199
|
+
configProfile: {
|
200
|
+
activeConfigProfileUuid: string | null;
|
201
|
+
activeInbounds: {
|
202
|
+
type: string;
|
203
|
+
uuid: string;
|
204
|
+
profileUuid: string;
|
205
|
+
tag: string;
|
206
|
+
network: string | null;
|
207
|
+
security: string | null;
|
208
|
+
port: number | null;
|
209
|
+
rawInbound?: unknown;
|
210
|
+
}[];
|
211
|
+
};
|
182
212
|
providerUuid: string | null;
|
183
213
|
provider: {
|
184
214
|
uuid: string;
|
@@ -218,17 +248,19 @@ export declare namespace GetOneNodeCommand {
|
|
218
248
|
cpuCount: number | null;
|
219
249
|
cpuModel: string | null;
|
220
250
|
totalRam: string | null;
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
251
|
+
configProfile: {
|
252
|
+
activeConfigProfileUuid: string | null;
|
253
|
+
activeInbounds: {
|
254
|
+
type: string;
|
255
|
+
uuid: string;
|
256
|
+
profileUuid: string;
|
257
|
+
tag: string;
|
258
|
+
network: string | null;
|
259
|
+
security: string | null;
|
260
|
+
port: number | null;
|
261
|
+
rawInbound?: unknown;
|
262
|
+
}[];
|
263
|
+
};
|
232
264
|
providerUuid: string | null;
|
233
265
|
provider: {
|
234
266
|
uuid: string;
|
@@ -268,17 +300,19 @@ export declare namespace GetOneNodeCommand {
|
|
268
300
|
cpuCount: number | null;
|
269
301
|
cpuModel: string | null;
|
270
302
|
totalRam: string | null;
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
303
|
+
configProfile: {
|
304
|
+
activeConfigProfileUuid: string | null;
|
305
|
+
activeInbounds: {
|
306
|
+
type: string;
|
307
|
+
uuid: string;
|
308
|
+
profileUuid: string;
|
309
|
+
tag: string;
|
310
|
+
network: string | null;
|
311
|
+
security: string | null;
|
312
|
+
port: number | null;
|
313
|
+
rawInbound?: unknown;
|
314
|
+
}[];
|
315
|
+
};
|
282
316
|
providerUuid: string | null;
|
283
317
|
provider: {
|
284
318
|
uuid: string;
|
@@ -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"}
|
@@ -31,35 +31,61 @@ 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
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
34
|
+
configProfile: z.ZodObject<{
|
35
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
36
|
+
activeInbounds: z.ZodArray<z.ZodObject<{
|
37
|
+
uuid: z.ZodString;
|
38
|
+
profileUuid: z.ZodString;
|
39
|
+
tag: z.ZodString;
|
40
|
+
type: z.ZodString;
|
41
|
+
network: z.ZodNullable<z.ZodString>;
|
42
|
+
security: z.ZodNullable<z.ZodString>;
|
43
|
+
port: z.ZodNullable<z.ZodNumber>;
|
44
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
46
|
+
type: string;
|
47
|
+
uuid: string;
|
48
|
+
profileUuid: string;
|
49
|
+
tag: string;
|
50
|
+
network: string | null;
|
51
|
+
security: string | null;
|
52
|
+
port: number | null;
|
53
|
+
rawInbound?: unknown;
|
54
|
+
}, {
|
55
|
+
type: string;
|
56
|
+
uuid: string;
|
57
|
+
profileUuid: string;
|
58
|
+
tag: string;
|
59
|
+
network: string | null;
|
60
|
+
security: string | null;
|
61
|
+
port: number | null;
|
62
|
+
rawInbound?: unknown;
|
63
|
+
}>, "many">;
|
44
64
|
}, "strip", z.ZodTypeAny, {
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
65
|
+
activeConfigProfileUuid: string | null;
|
66
|
+
activeInbounds: {
|
67
|
+
type: string;
|
68
|
+
uuid: string;
|
69
|
+
profileUuid: string;
|
70
|
+
tag: string;
|
71
|
+
network: string | null;
|
72
|
+
security: string | null;
|
73
|
+
port: number | null;
|
74
|
+
rawInbound?: unknown;
|
75
|
+
}[];
|
53
76
|
}, {
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
77
|
+
activeConfigProfileUuid: string | null;
|
78
|
+
activeInbounds: {
|
79
|
+
type: string;
|
80
|
+
uuid: string;
|
81
|
+
profileUuid: string;
|
82
|
+
tag: string;
|
83
|
+
network: string | null;
|
84
|
+
security: string | null;
|
85
|
+
port: number | null;
|
86
|
+
rawInbound?: unknown;
|
87
|
+
}[];
|
88
|
+
}>;
|
63
89
|
providerUuid: z.ZodNullable<z.ZodString>;
|
64
90
|
provider: z.ZodNullable<z.ZodObject<{
|
65
91
|
uuid: z.ZodString;
|
@@ -93,8 +119,16 @@ export declare namespace UpdateNodeCommand {
|
|
93
119
|
trafficResetDay: z.ZodOptional<z.ZodNumber>;
|
94
120
|
countryCode: z.ZodOptional<z.ZodString>;
|
95
121
|
consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
96
|
-
|
97
|
-
|
122
|
+
configProfile: z.ZodOptional<z.ZodObject<{
|
123
|
+
activeConfigProfileUuid: z.ZodString;
|
124
|
+
activeInbounds: z.ZodArray<z.ZodString, "many">;
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
126
|
+
activeConfigProfileUuid: string;
|
127
|
+
activeInbounds: string[];
|
128
|
+
}, {
|
129
|
+
activeConfigProfileUuid: string;
|
130
|
+
activeInbounds: string[];
|
131
|
+
}>>;
|
98
132
|
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
99
133
|
}, "strip", z.ZodTypeAny, {
|
100
134
|
uuid: string;
|
@@ -107,8 +141,10 @@ export declare namespace UpdateNodeCommand {
|
|
107
141
|
trafficResetDay?: number | undefined;
|
108
142
|
notifyPercent?: number | undefined;
|
109
143
|
consumptionMultiplier?: number | undefined;
|
110
|
-
|
111
|
-
|
144
|
+
configProfile?: {
|
145
|
+
activeConfigProfileUuid: string;
|
146
|
+
activeInbounds: string[];
|
147
|
+
} | undefined;
|
112
148
|
providerUuid?: string | null | undefined;
|
113
149
|
}, {
|
114
150
|
uuid: string;
|
@@ -121,8 +157,10 @@ export declare namespace UpdateNodeCommand {
|
|
121
157
|
trafficResetDay?: number | undefined;
|
122
158
|
notifyPercent?: number | undefined;
|
123
159
|
consumptionMultiplier?: number | undefined;
|
124
|
-
|
125
|
-
|
160
|
+
configProfile?: {
|
161
|
+
activeConfigProfileUuid: string;
|
162
|
+
activeInbounds: string[];
|
163
|
+
} | undefined;
|
126
164
|
providerUuid?: string | null | undefined;
|
127
165
|
}>;
|
128
166
|
type Request = z.infer<typeof RequestSchema>;
|
@@ -155,35 +193,61 @@ export declare namespace UpdateNodeCommand {
|
|
155
193
|
totalRam: z.ZodNullable<z.ZodString>;
|
156
194
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
157
195
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
196
|
+
configProfile: z.ZodObject<{
|
197
|
+
activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
|
198
|
+
activeInbounds: z.ZodArray<z.ZodObject<{
|
199
|
+
uuid: z.ZodString;
|
200
|
+
profileUuid: z.ZodString;
|
201
|
+
tag: z.ZodString;
|
202
|
+
type: z.ZodString;
|
203
|
+
network: z.ZodNullable<z.ZodString>;
|
204
|
+
security: z.ZodNullable<z.ZodString>;
|
205
|
+
port: z.ZodNullable<z.ZodNumber>;
|
206
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
208
|
+
type: string;
|
209
|
+
uuid: string;
|
210
|
+
profileUuid: string;
|
211
|
+
tag: string;
|
212
|
+
network: string | null;
|
213
|
+
security: string | null;
|
214
|
+
port: number | null;
|
215
|
+
rawInbound?: unknown;
|
216
|
+
}, {
|
217
|
+
type: string;
|
218
|
+
uuid: string;
|
219
|
+
profileUuid: string;
|
220
|
+
tag: string;
|
221
|
+
network: string | null;
|
222
|
+
security: string | null;
|
223
|
+
port: number | null;
|
224
|
+
rawInbound?: unknown;
|
225
|
+
}>, "many">;
|
168
226
|
}, "strip", z.ZodTypeAny, {
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
227
|
+
activeConfigProfileUuid: string | null;
|
228
|
+
activeInbounds: {
|
229
|
+
type: string;
|
230
|
+
uuid: string;
|
231
|
+
profileUuid: string;
|
232
|
+
tag: string;
|
233
|
+
network: string | null;
|
234
|
+
security: string | null;
|
235
|
+
port: number | null;
|
236
|
+
rawInbound?: unknown;
|
237
|
+
}[];
|
177
238
|
}, {
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
239
|
+
activeConfigProfileUuid: string | null;
|
240
|
+
activeInbounds: {
|
241
|
+
type: string;
|
242
|
+
uuid: string;
|
243
|
+
profileUuid: string;
|
244
|
+
tag: string;
|
245
|
+
network: string | null;
|
246
|
+
security: string | null;
|
247
|
+
port: number | null;
|
248
|
+
rawInbound?: unknown;
|
249
|
+
}[];
|
250
|
+
}>;
|
187
251
|
providerUuid: z.ZodNullable<z.ZodString>;
|
188
252
|
provider: z.ZodNullable<z.ZodObject<{
|
189
253
|
uuid: z.ZodString;
|
@@ -235,17 +299,19 @@ export declare namespace UpdateNodeCommand {
|
|
235
299
|
cpuCount: number | null;
|
236
300
|
cpuModel: string | null;
|
237
301
|
totalRam: string | null;
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
302
|
+
configProfile: {
|
303
|
+
activeConfigProfileUuid: string | null;
|
304
|
+
activeInbounds: {
|
305
|
+
type: string;
|
306
|
+
uuid: string;
|
307
|
+
profileUuid: string;
|
308
|
+
tag: string;
|
309
|
+
network: string | null;
|
310
|
+
security: string | null;
|
311
|
+
port: number | null;
|
312
|
+
rawInbound?: unknown;
|
313
|
+
}[];
|
314
|
+
};
|
249
315
|
providerUuid: string | null;
|
250
316
|
provider: {
|
251
317
|
uuid: string;
|
@@ -283,17 +349,19 @@ export declare namespace UpdateNodeCommand {
|
|
283
349
|
cpuCount: number | null;
|
284
350
|
cpuModel: string | null;
|
285
351
|
totalRam: string | null;
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
352
|
+
configProfile: {
|
353
|
+
activeConfigProfileUuid: string | null;
|
354
|
+
activeInbounds: {
|
355
|
+
type: string;
|
356
|
+
uuid: string;
|
357
|
+
profileUuid: string;
|
358
|
+
tag: string;
|
359
|
+
network: string | null;
|
360
|
+
security: string | null;
|
361
|
+
port: number | null;
|
362
|
+
rawInbound?: unknown;
|
363
|
+
}[];
|
364
|
+
};
|
297
365
|
providerUuid: string | null;
|
298
366
|
provider: {
|
299
367
|
uuid: string;
|
@@ -333,17 +401,19 @@ export declare namespace UpdateNodeCommand {
|
|
333
401
|
cpuCount: number | null;
|
334
402
|
cpuModel: string | null;
|
335
403
|
totalRam: string | null;
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
404
|
+
configProfile: {
|
405
|
+
activeConfigProfileUuid: string | null;
|
406
|
+
activeInbounds: {
|
407
|
+
type: string;
|
408
|
+
uuid: string;
|
409
|
+
profileUuid: string;
|
410
|
+
tag: string;
|
411
|
+
network: string | null;
|
412
|
+
security: string | null;
|
413
|
+
port: number | null;
|
414
|
+
rawInbound?: unknown;
|
415
|
+
}[];
|
416
|
+
};
|
347
417
|
providerUuid: string | null;
|
348
418
|
provider: {
|
349
419
|
uuid: string;
|
@@ -383,17 +453,19 @@ export declare namespace UpdateNodeCommand {
|
|
383
453
|
cpuCount: number | null;
|
384
454
|
cpuModel: string | null;
|
385
455
|
totalRam: string | null;
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
456
|
+
configProfile: {
|
457
|
+
activeConfigProfileUuid: string | null;
|
458
|
+
activeInbounds: {
|
459
|
+
type: string;
|
460
|
+
uuid: string;
|
461
|
+
profileUuid: string;
|
462
|
+
tag: string;
|
463
|
+
network: string | null;
|
464
|
+
security: string | null;
|
465
|
+
port: number | null;
|
466
|
+
rawInbound?: unknown;
|
467
|
+
}[];
|
468
|
+
};
|
397
469
|
providerUuid: string | null;
|
398
470
|
provider: {
|
399
471
|
uuid: string;
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
@@ -31,10 +31,14 @@ var UpdateNodeCommand;
|
|
31
31
|
.number()
|
32
32
|
.min(0.1, 'Consumption multiplier must be greater than 0')
|
33
33
|
.transform((n) => Number(n.toFixed(1)))),
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
configProfile: zod_1.z
|
35
|
+
.object({
|
36
|
+
activeConfigProfileUuid: zod_1.z.string().uuid(),
|
37
|
+
activeInbounds: zod_1.z.array(zod_1.z.string().uuid(), {
|
38
|
+
invalid_type_error: 'Must be an array of UUIDs',
|
39
|
+
}),
|
40
|
+
})
|
41
|
+
.optional(),
|
38
42
|
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
39
43
|
});
|
40
44
|
UpdateNodeCommand.ResponseSchema = zod_1.z.object({
|
@@ -17,8 +17,16 @@ export declare const HostsSchema: z.ZodObject<{
|
|
17
17
|
readonly NONE: "NONE";
|
18
18
|
}>>;
|
19
19
|
xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
|
20
|
-
|
21
|
-
|
20
|
+
inbound: z.ZodObject<{
|
21
|
+
configProfileUuid: z.ZodNullable<z.ZodString>;
|
22
|
+
configProfileInboundUuid: z.ZodNullable<z.ZodString>;
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
24
|
+
configProfileUuid: string | null;
|
25
|
+
configProfileInboundUuid: string | null;
|
26
|
+
}, {
|
27
|
+
configProfileUuid: string | null;
|
28
|
+
configProfileInboundUuid: string | null;
|
29
|
+
}>;
|
22
30
|
}, "strip", z.ZodTypeAny, {
|
23
31
|
path: string | null;
|
24
32
|
uuid: string;
|
@@ -32,8 +40,10 @@ export declare const HostsSchema: z.ZodObject<{
|
|
32
40
|
fingerprint: string | null;
|
33
41
|
isDisabled: boolean;
|
34
42
|
securityLayer: "DEFAULT" | "TLS" | "NONE";
|
35
|
-
|
36
|
-
|
43
|
+
inbound: {
|
44
|
+
configProfileUuid: string | null;
|
45
|
+
configProfileInboundUuid: string | null;
|
46
|
+
};
|
37
47
|
xHttpExtraParams?: unknown;
|
38
48
|
}, {
|
39
49
|
path: string | null;
|
@@ -46,8 +56,10 @@ export declare const HostsSchema: z.ZodObject<{
|
|
46
56
|
host: string | null;
|
47
57
|
alpn: string | null;
|
48
58
|
fingerprint: string | null;
|
49
|
-
|
50
|
-
|
59
|
+
inbound: {
|
60
|
+
configProfileUuid: string | null;
|
61
|
+
configProfileInboundUuid: string | null;
|
62
|
+
};
|
51
63
|
isDisabled?: boolean | undefined;
|
52
64
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
53
65
|
xHttpExtraParams?: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBtB,CAAC"}
|
@@ -17,6 +17,8 @@ exports.HostsSchema = zod_1.z.object({
|
|
17
17
|
isDisabled: zod_1.z.boolean().default(false),
|
18
18
|
securityLayer: zod_1.z.nativeEnum(hosts_1.SECURITY_LAYERS).default(hosts_1.SECURITY_LAYERS.DEFAULT),
|
19
19
|
xHttpExtraParams: zod_1.z.nullable(zod_1.z.unknown()),
|
20
|
-
|
21
|
-
|
20
|
+
inbound: zod_1.z.object({
|
21
|
+
configProfileUuid: zod_1.z.string().uuid().nullable(),
|
22
|
+
configProfileInboundUuid: zod_1.z.string().uuid().nullable(),
|
23
|
+
}),
|
22
24
|
});
|