@remnawave/backend-contract 2.0.0-alpha.21 → 2.0.0-alpha.23

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 GetAllNodesCommand {
32
32
  totalRam: z.ZodNullable<z.ZodString>;
33
33
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
34
34
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
35
- 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;
@@ -112,17 +138,19 @@ export declare namespace GetAllNodesCommand {
112
138
  cpuCount: number | null;
113
139
  cpuModel: string | null;
114
140
  totalRam: string | null;
115
- activeConfigProfileUuid: string | null;
116
- activeInbounds: {
117
- type: string;
118
- uuid: string;
119
- profileUuid: string;
120
- tag: string;
121
- network: string | null;
122
- security: string | null;
123
- port: number | null;
124
- rawInbound?: unknown;
125
- }[] | null;
141
+ configProfile: {
142
+ activeConfigProfileUuid: string | null;
143
+ activeInbounds: {
144
+ type: string;
145
+ uuid: string;
146
+ profileUuid: string;
147
+ tag: string;
148
+ network: string | null;
149
+ security: string | null;
150
+ port: number | null;
151
+ rawInbound?: unknown;
152
+ }[];
153
+ };
126
154
  providerUuid: string | null;
127
155
  provider: {
128
156
  uuid: string;
@@ -160,17 +188,19 @@ export declare namespace GetAllNodesCommand {
160
188
  cpuCount: number | null;
161
189
  cpuModel: string | null;
162
190
  totalRam: string | null;
163
- activeConfigProfileUuid: string | null;
164
- activeInbounds: {
165
- type: string;
166
- uuid: string;
167
- profileUuid: string;
168
- tag: string;
169
- network: string | null;
170
- security: string | null;
171
- port: number | null;
172
- rawInbound?: unknown;
173
- }[] | null;
191
+ configProfile: {
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
+ }[];
203
+ };
174
204
  providerUuid: string | null;
175
205
  provider: {
176
206
  uuid: string;
@@ -210,17 +240,19 @@ export declare namespace GetAllNodesCommand {
210
240
  cpuCount: number | null;
211
241
  cpuModel: string | null;
212
242
  totalRam: string | null;
213
- activeConfigProfileUuid: string | null;
214
- activeInbounds: {
215
- type: string;
216
- uuid: string;
217
- profileUuid: string;
218
- tag: string;
219
- network: string | null;
220
- security: string | null;
221
- port: number | null;
222
- rawInbound?: unknown;
223
- }[] | null;
243
+ configProfile: {
244
+ activeConfigProfileUuid: string | null;
245
+ activeInbounds: {
246
+ type: string;
247
+ uuid: string;
248
+ profileUuid: string;
249
+ tag: string;
250
+ network: string | null;
251
+ security: string | null;
252
+ port: number | null;
253
+ rawInbound?: unknown;
254
+ }[];
255
+ };
224
256
  providerUuid: string | null;
225
257
  provider: {
226
258
  uuid: string;
@@ -260,17 +292,19 @@ export declare namespace GetAllNodesCommand {
260
292
  cpuCount: number | null;
261
293
  cpuModel: string | null;
262
294
  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;
295
+ configProfile: {
296
+ activeConfigProfileUuid: string | null;
297
+ activeInbounds: {
298
+ type: string;
299
+ uuid: string;
300
+ profileUuid: string;
301
+ tag: string;
302
+ network: string | null;
303
+ security: string | null;
304
+ port: number | null;
305
+ rawInbound?: unknown;
306
+ }[];
307
+ };
274
308
  providerUuid: string | null;
275
309
  provider: {
276
310
  uuid: string;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -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
- activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
44
- activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
45
- uuid: z.ZodString;
46
- profileUuid: z.ZodString;
47
- tag: z.ZodString;
48
- type: z.ZodString;
49
- network: z.ZodNullable<z.ZodString>;
50
- security: z.ZodNullable<z.ZodString>;
51
- port: z.ZodNullable<z.ZodNumber>;
52
- rawInbound: z.ZodNullable<z.ZodUnknown>;
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
- type: string;
55
- uuid: string;
56
- profileUuid: string;
57
- tag: string;
58
- network: string | null;
59
- security: string | null;
60
- port: number | null;
61
- rawInbound?: unknown;
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
- type: string;
64
- uuid: string;
65
- profileUuid: string;
66
- tag: string;
67
- network: string | null;
68
- security: string | null;
69
- port: number | null;
70
- rawInbound?: unknown;
71
- }>, "many">>;
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
- activeConfigProfileUuid: string | null;
124
- activeInbounds: {
125
- type: string;
126
- uuid: string;
127
- profileUuid: string;
128
- tag: string;
129
- network: string | null;
130
- security: string | null;
131
- port: number | null;
132
- rawInbound?: unknown;
133
- }[] | null;
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
- activeConfigProfileUuid: string | null;
172
- activeInbounds: {
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
- }[] | null;
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
- activeConfigProfileUuid: string | null;
222
- activeInbounds: {
223
- type: string;
224
- uuid: string;
225
- profileUuid: string;
226
- tag: string;
227
- network: string | null;
228
- security: string | null;
229
- port: number | null;
230
- rawInbound?: unknown;
231
- }[] | null;
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
- activeConfigProfileUuid: string | null;
272
- activeInbounds: {
273
- type: string;
274
- uuid: string;
275
- profileUuid: string;
276
- tag: string;
277
- network: string | null;
278
- security: string | null;
279
- port: number | null;
280
- rawInbound?: unknown;
281
- }[] | null;
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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"}