@remnawave/backend-contract 2.0.0-alpha.21 → 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.
Files changed (35) hide show
  1. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +106 -54
  2. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
  3. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +106 -54
  4. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
  5. package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts +106 -54
  6. package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +1 -1
  7. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +106 -54
  8. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
  9. package/build/backend/commands/nodes/actions/disable.command.d.ts +105 -71
  10. package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
  11. package/build/backend/commands/nodes/actions/enable.command.d.ts +105 -71
  12. package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
  13. package/build/backend/commands/nodes/actions/reorder.command.d.ts +158 -98
  14. package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
  15. package/build/backend/commands/nodes/create.command.d.ts +123 -77
  16. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  17. package/build/backend/commands/nodes/create.command.js +6 -4
  18. package/build/backend/commands/nodes/get-all.command.d.ts +105 -71
  19. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  20. package/build/backend/commands/nodes/get-one.command.d.ts +105 -71
  21. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  22. package/build/backend/commands/nodes/update.command.d.ts +176 -104
  23. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  24. package/build/backend/commands/nodes/update.command.js +8 -4
  25. package/build/backend/models/infra-billing-available-node.schema.d.ts +53 -27
  26. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -1
  27. package/build/backend/models/infra-billing-node.schema.d.ts +53 -27
  28. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
  29. package/build/backend/models/nodes.schema.d.ts +79 -49
  30. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  31. package/build/backend/models/nodes.schema.js +4 -2
  32. package/build/frontend/commands/nodes/create.command.js +6 -4
  33. package/build/frontend/commands/nodes/update.command.js +8 -4
  34. package/build/frontend/models/nodes.schema.js +4 -2
  35. package/package.json +1 -1
@@ -32,35 +32,61 @@ export declare namespace ReorderNodeCommand {
32
32
  totalRam: z.ZodNullable<z.ZodString>;
33
33
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
34
34
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
35
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
36
- activeInbounds: z.ZodNullable<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>;
35
+ configProfile: z.ZodObject<{
36
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
37
+ activeInbounds: z.ZodArray<z.ZodObject<{
38
+ uuid: z.ZodString;
39
+ profileUuid: z.ZodString;
40
+ tag: z.ZodString;
41
+ type: z.ZodString;
42
+ network: z.ZodNullable<z.ZodString>;
43
+ security: z.ZodNullable<z.ZodString>;
44
+ port: z.ZodNullable<z.ZodNumber>;
45
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ type: string;
48
+ uuid: string;
49
+ profileUuid: string;
50
+ tag: string;
51
+ network: string | null;
52
+ security: string | null;
53
+ port: number | null;
54
+ rawInbound?: unknown;
55
+ }, {
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
+ }>, "many">;
45
65
  }, "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;
66
+ activeConfigProfileUuid: string | null;
67
+ activeInbounds: {
68
+ type: string;
69
+ uuid: string;
70
+ profileUuid: string;
71
+ tag: string;
72
+ network: string | null;
73
+ security: string | null;
74
+ port: number | null;
75
+ rawInbound?: unknown;
76
+ }[];
54
77
  }, {
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">>;
78
+ activeConfigProfileUuid: string | null;
79
+ activeInbounds: {
80
+ type: string;
81
+ uuid: string;
82
+ profileUuid: string;
83
+ tag: string;
84
+ network: string | null;
85
+ security: string | null;
86
+ port: number | null;
87
+ rawInbound?: unknown;
88
+ }[];
89
+ }>;
64
90
  providerUuid: z.ZodNullable<z.ZodString>;
65
91
  provider: z.ZodNullable<z.ZodObject<{
66
92
  uuid: z.ZodString;
@@ -132,35 +158,61 @@ export declare namespace ReorderNodeCommand {
132
158
  totalRam: z.ZodNullable<z.ZodString>;
133
159
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
134
160
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
135
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
136
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
137
- uuid: z.ZodString;
138
- profileUuid: z.ZodString;
139
- tag: z.ZodString;
140
- type: z.ZodString;
141
- network: z.ZodNullable<z.ZodString>;
142
- security: z.ZodNullable<z.ZodString>;
143
- port: z.ZodNullable<z.ZodNumber>;
144
- rawInbound: z.ZodNullable<z.ZodUnknown>;
161
+ configProfile: z.ZodObject<{
162
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
163
+ activeInbounds: z.ZodArray<z.ZodObject<{
164
+ uuid: z.ZodString;
165
+ profileUuid: z.ZodString;
166
+ tag: z.ZodString;
167
+ type: z.ZodString;
168
+ network: z.ZodNullable<z.ZodString>;
169
+ security: z.ZodNullable<z.ZodString>;
170
+ port: z.ZodNullable<z.ZodNumber>;
171
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ type: string;
174
+ uuid: string;
175
+ profileUuid: string;
176
+ tag: string;
177
+ network: string | null;
178
+ security: string | null;
179
+ port: number | null;
180
+ rawInbound?: unknown;
181
+ }, {
182
+ type: string;
183
+ uuid: string;
184
+ profileUuid: string;
185
+ tag: string;
186
+ network: string | null;
187
+ security: string | null;
188
+ port: number | null;
189
+ rawInbound?: unknown;
190
+ }>, "many">;
145
191
  }, "strip", z.ZodTypeAny, {
146
- type: string;
147
- uuid: string;
148
- profileUuid: string;
149
- tag: string;
150
- network: string | null;
151
- security: string | null;
152
- port: number | null;
153
- rawInbound?: unknown;
192
+ activeConfigProfileUuid: string | null;
193
+ activeInbounds: {
194
+ type: string;
195
+ uuid: string;
196
+ profileUuid: string;
197
+ tag: string;
198
+ network: string | null;
199
+ security: string | null;
200
+ port: number | null;
201
+ rawInbound?: unknown;
202
+ }[];
154
203
  }, {
155
- type: string;
156
- uuid: string;
157
- profileUuid: string;
158
- tag: string;
159
- network: string | null;
160
- security: string | null;
161
- port: number | null;
162
- rawInbound?: unknown;
163
- }>, "many">>;
204
+ activeConfigProfileUuid: string | null;
205
+ activeInbounds: {
206
+ type: string;
207
+ uuid: string;
208
+ profileUuid: string;
209
+ tag: string;
210
+ network: string | null;
211
+ security: string | null;
212
+ port: number | null;
213
+ rawInbound?: unknown;
214
+ }[];
215
+ }>;
164
216
  providerUuid: z.ZodNullable<z.ZodString>;
165
217
  provider: z.ZodNullable<z.ZodObject<{
166
218
  uuid: z.ZodString;
@@ -212,17 +264,19 @@ export declare namespace ReorderNodeCommand {
212
264
  cpuCount: number | null;
213
265
  cpuModel: string | null;
214
266
  totalRam: string | null;
215
- activeConfigProfileUuid: string | null;
216
- activeInbounds: {
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
- }[] | null;
267
+ configProfile: {
268
+ activeConfigProfileUuid: string | null;
269
+ activeInbounds: {
270
+ type: string;
271
+ uuid: string;
272
+ profileUuid: string;
273
+ tag: string;
274
+ network: string | null;
275
+ security: string | null;
276
+ port: number | null;
277
+ rawInbound?: unknown;
278
+ }[];
279
+ };
226
280
  providerUuid: string | null;
227
281
  provider: {
228
282
  uuid: string;
@@ -260,17 +314,19 @@ export declare namespace ReorderNodeCommand {
260
314
  cpuCount: number | null;
261
315
  cpuModel: string | null;
262
316
  totalRam: string | null;
263
- activeConfigProfileUuid: string | null;
264
- activeInbounds: {
265
- type: string;
266
- uuid: string;
267
- profileUuid: string;
268
- tag: string;
269
- network: string | null;
270
- security: string | null;
271
- port: number | null;
272
- rawInbound?: unknown;
273
- }[] | null;
317
+ configProfile: {
318
+ activeConfigProfileUuid: string | null;
319
+ activeInbounds: {
320
+ type: string;
321
+ uuid: string;
322
+ profileUuid: string;
323
+ tag: string;
324
+ network: string | null;
325
+ security: string | null;
326
+ port: number | null;
327
+ rawInbound?: unknown;
328
+ }[];
329
+ };
274
330
  providerUuid: string | null;
275
331
  provider: {
276
332
  uuid: string;
@@ -310,17 +366,19 @@ export declare namespace ReorderNodeCommand {
310
366
  cpuCount: number | null;
311
367
  cpuModel: string | null;
312
368
  totalRam: string | null;
313
- activeConfigProfileUuid: string | null;
314
- activeInbounds: {
315
- type: string;
316
- uuid: string;
317
- profileUuid: string;
318
- tag: string;
319
- network: string | null;
320
- security: string | null;
321
- port: number | null;
322
- rawInbound?: unknown;
323
- }[] | null;
369
+ configProfile: {
370
+ activeConfigProfileUuid: string | null;
371
+ activeInbounds: {
372
+ type: string;
373
+ uuid: string;
374
+ profileUuid: string;
375
+ tag: string;
376
+ network: string | null;
377
+ security: string | null;
378
+ port: number | null;
379
+ rawInbound?: unknown;
380
+ }[];
381
+ };
324
382
  providerUuid: string | null;
325
383
  provider: {
326
384
  uuid: string;
@@ -360,17 +418,19 @@ export declare namespace ReorderNodeCommand {
360
418
  cpuCount: number | null;
361
419
  cpuModel: string | null;
362
420
  totalRam: string | null;
363
- activeConfigProfileUuid: string | null;
364
- activeInbounds: {
365
- type: string;
366
- uuid: string;
367
- profileUuid: string;
368
- tag: string;
369
- network: string | null;
370
- security: string | null;
371
- port: number | null;
372
- rawInbound?: unknown;
373
- }[] | null;
421
+ configProfile: {
422
+ activeConfigProfileUuid: string | null;
423
+ activeInbounds: {
424
+ type: string;
425
+ uuid: string;
426
+ profileUuid: string;
427
+ tag: string;
428
+ network: string | null;
429
+ security: string | null;
430
+ port: number | null;
431
+ rawInbound?: unknown;
432
+ }[];
433
+ };
374
434
  providerUuid: string | null;
375
435
  provider: {
376
436
  uuid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/nodes/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -13,25 +13,39 @@ export declare namespace CreateNodeCommand {
13
13
  trafficResetDay: z.ZodOptional<z.ZodNumber>;
14
14
  countryCode: z.ZodDefault<z.ZodString>;
15
15
  consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
16
- activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
17
- activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
+ configProfile: z.ZodObject<{
17
+ activeConfigProfileUuid: z.ZodString;
18
+ activeInbounds: z.ZodArray<z.ZodString, "many">;
19
+ }, "strip", z.ZodTypeAny, {
20
+ activeConfigProfileUuid: string;
21
+ activeInbounds: string[];
22
+ }, {
23
+ activeConfigProfileUuid: string;
24
+ activeInbounds: string[];
25
+ }>;
18
26
  providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
27
  }, "strip", z.ZodTypeAny, {
20
28
  name: string;
21
29
  countryCode: string;
22
30
  address: string;
23
31
  isTrafficTrackingActive: boolean;
32
+ configProfile: {
33
+ activeConfigProfileUuid: string;
34
+ activeInbounds: string[];
35
+ };
24
36
  port?: number | undefined;
25
37
  trafficLimitBytes?: number | undefined;
26
38
  trafficResetDay?: number | undefined;
27
39
  notifyPercent?: number | undefined;
28
40
  consumptionMultiplier?: number | undefined;
29
- activeConfigProfileUuid?: string | undefined;
30
- activeInbounds?: string[] | undefined;
31
41
  providerUuid?: string | null | undefined;
32
42
  }, {
33
43
  name: string;
34
44
  address: string;
45
+ configProfile: {
46
+ activeConfigProfileUuid: string;
47
+ activeInbounds: string[];
48
+ };
35
49
  port?: number | undefined;
36
50
  countryCode?: string | undefined;
37
51
  trafficLimitBytes?: number | undefined;
@@ -39,8 +53,6 @@ export declare namespace CreateNodeCommand {
39
53
  trafficResetDay?: number | undefined;
40
54
  notifyPercent?: number | undefined;
41
55
  consumptionMultiplier?: number | undefined;
42
- activeConfigProfileUuid?: string | undefined;
43
- activeInbounds?: string[] | undefined;
44
56
  providerUuid?: string | null | undefined;
45
57
  }>;
46
58
  type Request = z.infer<typeof RequestSchema>;
@@ -73,35 +85,61 @@ export declare namespace CreateNodeCommand {
73
85
  totalRam: z.ZodNullable<z.ZodString>;
74
86
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
75
87
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
76
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
77
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
78
- uuid: z.ZodString;
79
- profileUuid: z.ZodString;
80
- tag: z.ZodString;
81
- type: z.ZodString;
82
- network: z.ZodNullable<z.ZodString>;
83
- security: z.ZodNullable<z.ZodString>;
84
- port: z.ZodNullable<z.ZodNumber>;
85
- rawInbound: z.ZodNullable<z.ZodUnknown>;
88
+ configProfile: z.ZodObject<{
89
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
90
+ activeInbounds: z.ZodArray<z.ZodObject<{
91
+ uuid: z.ZodString;
92
+ profileUuid: z.ZodString;
93
+ tag: z.ZodString;
94
+ type: z.ZodString;
95
+ network: z.ZodNullable<z.ZodString>;
96
+ security: z.ZodNullable<z.ZodString>;
97
+ port: z.ZodNullable<z.ZodNumber>;
98
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ type: string;
101
+ uuid: string;
102
+ profileUuid: string;
103
+ tag: string;
104
+ network: string | null;
105
+ security: string | null;
106
+ port: number | null;
107
+ rawInbound?: unknown;
108
+ }, {
109
+ type: string;
110
+ uuid: string;
111
+ profileUuid: string;
112
+ tag: string;
113
+ network: string | null;
114
+ security: string | null;
115
+ port: number | null;
116
+ rawInbound?: unknown;
117
+ }>, "many">;
86
118
  }, "strip", z.ZodTypeAny, {
87
- type: string;
88
- uuid: string;
89
- profileUuid: string;
90
- tag: string;
91
- network: string | null;
92
- security: string | null;
93
- port: number | null;
94
- rawInbound?: unknown;
119
+ activeConfigProfileUuid: string | null;
120
+ activeInbounds: {
121
+ type: string;
122
+ uuid: string;
123
+ profileUuid: string;
124
+ tag: string;
125
+ network: string | null;
126
+ security: string | null;
127
+ port: number | null;
128
+ rawInbound?: unknown;
129
+ }[];
95
130
  }, {
96
- type: string;
97
- uuid: string;
98
- profileUuid: string;
99
- tag: string;
100
- network: string | null;
101
- security: string | null;
102
- port: number | null;
103
- rawInbound?: unknown;
104
- }>, "many">>;
131
+ activeConfigProfileUuid: string | null;
132
+ activeInbounds: {
133
+ type: string;
134
+ uuid: string;
135
+ profileUuid: string;
136
+ tag: string;
137
+ network: string | null;
138
+ security: string | null;
139
+ port: number | null;
140
+ rawInbound?: unknown;
141
+ }[];
142
+ }>;
105
143
  providerUuid: z.ZodNullable<z.ZodString>;
106
144
  provider: z.ZodNullable<z.ZodObject<{
107
145
  uuid: z.ZodString;
@@ -153,17 +191,19 @@ export declare namespace CreateNodeCommand {
153
191
  cpuCount: number | null;
154
192
  cpuModel: string | null;
155
193
  totalRam: string | null;
156
- activeConfigProfileUuid: string | null;
157
- activeInbounds: {
158
- type: string;
159
- uuid: string;
160
- profileUuid: string;
161
- tag: string;
162
- network: string | null;
163
- security: string | null;
164
- port: number | null;
165
- rawInbound?: unknown;
166
- }[] | null;
194
+ configProfile: {
195
+ activeConfigProfileUuid: string | null;
196
+ activeInbounds: {
197
+ type: string;
198
+ uuid: string;
199
+ profileUuid: string;
200
+ tag: string;
201
+ network: string | null;
202
+ security: string | null;
203
+ port: number | null;
204
+ rawInbound?: unknown;
205
+ }[];
206
+ };
167
207
  providerUuid: string | null;
168
208
  provider: {
169
209
  uuid: string;
@@ -201,17 +241,19 @@ export declare namespace CreateNodeCommand {
201
241
  cpuCount: number | null;
202
242
  cpuModel: string | null;
203
243
  totalRam: string | null;
204
- activeConfigProfileUuid: string | null;
205
- activeInbounds: {
206
- type: string;
207
- uuid: string;
208
- profileUuid: string;
209
- tag: string;
210
- network: string | null;
211
- security: string | null;
212
- port: number | null;
213
- rawInbound?: unknown;
214
- }[] | null;
244
+ configProfile: {
245
+ activeConfigProfileUuid: string | null;
246
+ activeInbounds: {
247
+ type: string;
248
+ uuid: string;
249
+ profileUuid: string;
250
+ tag: string;
251
+ network: string | null;
252
+ security: string | null;
253
+ port: number | null;
254
+ rawInbound?: unknown;
255
+ }[];
256
+ };
215
257
  providerUuid: string | null;
216
258
  provider: {
217
259
  uuid: string;
@@ -251,17 +293,19 @@ export declare namespace CreateNodeCommand {
251
293
  cpuCount: number | null;
252
294
  cpuModel: string | null;
253
295
  totalRam: string | null;
254
- activeConfigProfileUuid: string | null;
255
- activeInbounds: {
256
- type: string;
257
- uuid: string;
258
- profileUuid: string;
259
- tag: string;
260
- network: string | null;
261
- security: string | null;
262
- port: number | null;
263
- rawInbound?: unknown;
264
- }[] | null;
296
+ configProfile: {
297
+ activeConfigProfileUuid: string | null;
298
+ activeInbounds: {
299
+ type: string;
300
+ uuid: string;
301
+ profileUuid: string;
302
+ tag: string;
303
+ network: string | null;
304
+ security: string | null;
305
+ port: number | null;
306
+ rawInbound?: unknown;
307
+ }[];
308
+ };
265
309
  providerUuid: string | null;
266
310
  provider: {
267
311
  uuid: string;
@@ -301,17 +345,19 @@ export declare namespace CreateNodeCommand {
301
345
  cpuCount: number | null;
302
346
  cpuModel: string | null;
303
347
  totalRam: string | null;
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
- }[] | null;
348
+ configProfile: {
349
+ activeConfigProfileUuid: string | null;
350
+ activeInbounds: {
351
+ type: string;
352
+ uuid: string;
353
+ profileUuid: string;
354
+ tag: string;
355
+ network: string | null;
356
+ security: string | null;
357
+ port: number | null;
358
+ rawInbound?: unknown;
359
+ }[];
360
+ };
315
361
  providerUuid: string | null;
316
362
  provider: {
317
363
  uuid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwCxB,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"}
1
+ {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0CxB,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"}
@@ -35,10 +35,12 @@ var CreateNodeCommand;
35
35
  .number()
36
36
  .min(0.1, 'Consumption multiplier must be greater than 0')
37
37
  .transform((n) => Number(n.toFixed(1)))),
38
- activeConfigProfileUuid: zod_1.z.optional(zod_1.z.string().uuid()),
39
- activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
40
- invalid_type_error: 'Active inbounds must be an array of UUIDs',
41
- })),
38
+ configProfile: zod_1.z.object({
39
+ activeConfigProfileUuid: zod_1.z.string().uuid(),
40
+ activeInbounds: zod_1.z.array(zod_1.z.string().uuid(), {
41
+ invalid_type_error: 'Config profile inbound UUID must be an array of UUIDs',
42
+ }),
43
+ }),
42
44
  providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
43
45
  });
44
46
  CreateNodeCommand.ResponseSchema = zod_1.z.object({