@remnawave/backend-contract 2.0.0-alpha.12 → 2.0.0-alpha.14

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 (52) hide show
  1. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts +15 -15
  2. package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -1
  3. package/build/backend/commands/infra-billing/create-bill-record.command.js +0 -1
  4. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +364 -0
  5. package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
  6. package/build/backend/commands/infra-billing/create-billing-node.command.js +33 -0
  7. package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +12 -12
  8. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +353 -0
  9. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
  10. package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +23 -0
  11. package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +12 -12
  12. package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts +350 -0
  13. package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +1 -0
  14. package/build/backend/commands/infra-billing/get-blling-nodes.command.js +21 -0
  15. package/build/backend/commands/infra-billing/index.d.ts +4 -0
  16. package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
  17. package/build/backend/commands/infra-billing/index.js +4 -0
  18. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +361 -0
  19. package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
  20. package/build/backend/commands/infra-billing/update-billing-node.command.js +31 -0
  21. package/build/backend/commands/nodes/actions/disable.command.d.ts +36 -36
  22. package/build/backend/commands/nodes/actions/enable.command.d.ts +36 -36
  23. package/build/backend/commands/nodes/actions/reorder.command.d.ts +36 -36
  24. package/build/backend/commands/nodes/create.command.d.ts +38 -38
  25. package/build/backend/commands/nodes/get-all.command.d.ts +36 -36
  26. package/build/backend/commands/nodes/get-one.command.d.ts +36 -36
  27. package/build/backend/commands/nodes/update.command.d.ts +38 -38
  28. package/build/backend/constants/errors/errors.d.ts +15 -0
  29. package/build/backend/constants/errors/errors.d.ts.map +1 -1
  30. package/build/backend/constants/errors/errors.js +15 -0
  31. package/build/backend/models/index.d.ts +2 -0
  32. package/build/backend/models/index.d.ts.map +1 -1
  33. package/build/backend/models/index.js +2 -0
  34. package/build/backend/models/infra-billing-available-node.schema.d.ts +90 -0
  35. package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
  36. package/build/backend/models/infra-billing-available-node.schema.js +9 -0
  37. package/build/backend/models/infra-billing-history-record.schema.d.ts +4 -4
  38. package/build/backend/models/infra-billing-node.schema.d.ts +145 -0
  39. package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
  40. package/build/backend/models/infra-billing-node.schema.js +34 -0
  41. package/build/backend/models/nodes.schema.d.ts +18 -18
  42. package/build/frontend/commands/infra-billing/create-bill-record.command.js +0 -1
  43. package/build/frontend/commands/infra-billing/create-billing-node.command.js +33 -0
  44. package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +23 -0
  45. package/build/frontend/commands/infra-billing/get-blling-nodes.command.js +21 -0
  46. package/build/frontend/commands/infra-billing/index.js +4 -0
  47. package/build/frontend/commands/infra-billing/update-billing-node.command.js +31 -0
  48. package/build/frontend/constants/errors/errors.js +15 -0
  49. package/build/frontend/models/index.js +2 -0
  50. package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
  51. package/build/frontend/models/infra-billing-node.schema.js +34 -0
  52. package/package.json +1 -1
@@ -0,0 +1,361 @@
1
+ import { z } from 'zod';
2
+ export declare namespace UpdateInfraBillingNodeCommand {
3
+ const url: string;
4
+ const TSQ_url: string;
5
+ const endpointDetails: import("../../constants").EndpointDetails;
6
+ const RequestSchema: z.ZodObject<{
7
+ uuid: z.ZodString;
8
+ nextBillingAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ uuid: string;
11
+ nextBillingAt?: Date | undefined;
12
+ }, {
13
+ uuid: string;
14
+ nextBillingAt?: string | undefined;
15
+ }>;
16
+ type Request = z.infer<typeof RequestSchema>;
17
+ const ResponseSchema: z.ZodObject<{
18
+ response: z.ZodObject<{
19
+ totalBillingNodes: z.ZodNumber;
20
+ billingNodes: z.ZodArray<z.ZodObject<{
21
+ uuid: z.ZodString;
22
+ nodeUuid: z.ZodString;
23
+ providerUuid: z.ZodString;
24
+ provider: z.ZodObject<Omit<{
25
+ uuid: z.ZodString;
26
+ name: z.ZodString;
27
+ faviconLink: z.ZodNullable<z.ZodString>;
28
+ loginUrl: z.ZodNullable<z.ZodString>;
29
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
30
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
31
+ }, "createdAt" | "updatedAt" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
32
+ uuid: string;
33
+ name: string;
34
+ }, {
35
+ uuid: string;
36
+ name: string;
37
+ }>;
38
+ node: z.ZodObject<Pick<{
39
+ uuid: z.ZodString;
40
+ name: z.ZodString;
41
+ address: z.ZodString;
42
+ port: z.ZodNullable<z.ZodNumber>;
43
+ isConnected: z.ZodBoolean;
44
+ isDisabled: z.ZodBoolean;
45
+ isConnecting: z.ZodBoolean;
46
+ isNodeOnline: z.ZodBoolean;
47
+ isXrayRunning: z.ZodBoolean;
48
+ lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
49
+ lastStatusMessage: z.ZodNullable<z.ZodString>;
50
+ xrayVersion: z.ZodNullable<z.ZodString>;
51
+ xrayUptime: z.ZodString;
52
+ isTrafficTrackingActive: z.ZodBoolean;
53
+ trafficResetDay: z.ZodNullable<z.ZodNumber>;
54
+ trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
55
+ trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
56
+ notifyPercent: z.ZodNullable<z.ZodNumber>;
57
+ usersOnline: z.ZodNullable<z.ZodNumber>;
58
+ viewPosition: z.ZodNumber;
59
+ countryCode: z.ZodString;
60
+ consumptionMultiplier: z.ZodNumber;
61
+ cpuCount: z.ZodNullable<z.ZodNumber>;
62
+ cpuModel: z.ZodNullable<z.ZodString>;
63
+ totalRam: z.ZodNullable<z.ZodString>;
64
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
65
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
66
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
67
+ activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
68
+ uuid: z.ZodString;
69
+ profileUuid: z.ZodString;
70
+ tag: z.ZodString;
71
+ type: z.ZodString;
72
+ network: z.ZodNullable<z.ZodString>;
73
+ security: z.ZodNullable<z.ZodString>;
74
+ port: z.ZodNullable<z.ZodNumber>;
75
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
76
+ }, "strip", z.ZodTypeAny, {
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
+ type: string;
87
+ uuid: string;
88
+ profileUuid: string;
89
+ tag: string;
90
+ network: string | null;
91
+ security: string | null;
92
+ port: number | null;
93
+ rawInbound?: unknown;
94
+ }>, "many">>;
95
+ providerUuid: z.ZodNullable<z.ZodString>;
96
+ provider: z.ZodNullable<z.ZodObject<{
97
+ uuid: z.ZodString;
98
+ name: z.ZodString;
99
+ faviconLink: z.ZodNullable<z.ZodString>;
100
+ loginUrl: z.ZodNullable<z.ZodString>;
101
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
102
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ uuid: string;
105
+ createdAt: Date;
106
+ updatedAt: Date;
107
+ name: string;
108
+ faviconLink: string | null;
109
+ loginUrl: string | null;
110
+ }, {
111
+ uuid: string;
112
+ createdAt: string;
113
+ updatedAt: string;
114
+ name: string;
115
+ faviconLink: string | null;
116
+ loginUrl: string | null;
117
+ }>>;
118
+ }, "uuid" | "name" | "countryCode">, "strip", z.ZodTypeAny, {
119
+ uuid: string;
120
+ name: string;
121
+ countryCode: string;
122
+ }, {
123
+ uuid: string;
124
+ name: string;
125
+ countryCode: string;
126
+ }>;
127
+ nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
128
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
129
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ uuid: string;
132
+ createdAt: Date;
133
+ updatedAt: Date;
134
+ nodeUuid: string;
135
+ providerUuid: string;
136
+ provider: {
137
+ uuid: string;
138
+ name: string;
139
+ };
140
+ node: {
141
+ uuid: string;
142
+ name: string;
143
+ countryCode: string;
144
+ };
145
+ nextBillingAt: Date;
146
+ }, {
147
+ uuid: string;
148
+ createdAt: string;
149
+ updatedAt: string;
150
+ nodeUuid: string;
151
+ providerUuid: string;
152
+ provider: {
153
+ uuid: string;
154
+ name: string;
155
+ };
156
+ node: {
157
+ uuid: string;
158
+ name: string;
159
+ countryCode: string;
160
+ };
161
+ nextBillingAt: string;
162
+ }>, "many">;
163
+ availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
164
+ uuid: z.ZodString;
165
+ name: z.ZodString;
166
+ address: z.ZodString;
167
+ port: z.ZodNullable<z.ZodNumber>;
168
+ isConnected: z.ZodBoolean;
169
+ isDisabled: z.ZodBoolean;
170
+ isConnecting: z.ZodBoolean;
171
+ isNodeOnline: z.ZodBoolean;
172
+ isXrayRunning: z.ZodBoolean;
173
+ lastStatusChange: z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>;
174
+ lastStatusMessage: z.ZodNullable<z.ZodString>;
175
+ xrayVersion: z.ZodNullable<z.ZodString>;
176
+ xrayUptime: z.ZodString;
177
+ isTrafficTrackingActive: z.ZodBoolean;
178
+ trafficResetDay: z.ZodNullable<z.ZodNumber>;
179
+ trafficLimitBytes: z.ZodNullable<z.ZodNumber>;
180
+ trafficUsedBytes: z.ZodNullable<z.ZodNumber>;
181
+ notifyPercent: z.ZodNullable<z.ZodNumber>;
182
+ usersOnline: z.ZodNullable<z.ZodNumber>;
183
+ viewPosition: z.ZodNumber;
184
+ countryCode: z.ZodString;
185
+ consumptionMultiplier: z.ZodNumber;
186
+ cpuCount: z.ZodNullable<z.ZodNumber>;
187
+ cpuModel: z.ZodNullable<z.ZodString>;
188
+ totalRam: z.ZodNullable<z.ZodString>;
189
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
190
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
191
+ activeConfigProfileUuid: z.ZodNullable<z.ZodString>;
192
+ activeInbounds: z.ZodNullable<z.ZodArray<z.ZodObject<{
193
+ uuid: z.ZodString;
194
+ profileUuid: z.ZodString;
195
+ tag: z.ZodString;
196
+ type: z.ZodString;
197
+ network: z.ZodNullable<z.ZodString>;
198
+ security: z.ZodNullable<z.ZodString>;
199
+ port: z.ZodNullable<z.ZodNumber>;
200
+ rawInbound: z.ZodNullable<z.ZodUnknown>;
201
+ }, "strip", z.ZodTypeAny, {
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
+ type: string;
212
+ uuid: string;
213
+ profileUuid: string;
214
+ tag: string;
215
+ network: string | null;
216
+ security: string | null;
217
+ port: number | null;
218
+ rawInbound?: unknown;
219
+ }>, "many">>;
220
+ providerUuid: z.ZodNullable<z.ZodString>;
221
+ provider: z.ZodNullable<z.ZodObject<{
222
+ uuid: z.ZodString;
223
+ name: z.ZodString;
224
+ faviconLink: z.ZodNullable<z.ZodString>;
225
+ loginUrl: z.ZodNullable<z.ZodString>;
226
+ createdAt: z.ZodEffects<z.ZodString, Date, string>;
227
+ updatedAt: z.ZodEffects<z.ZodString, Date, string>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ uuid: string;
230
+ createdAt: Date;
231
+ updatedAt: Date;
232
+ name: string;
233
+ faviconLink: string | null;
234
+ loginUrl: string | null;
235
+ }, {
236
+ uuid: string;
237
+ createdAt: string;
238
+ updatedAt: string;
239
+ name: string;
240
+ faviconLink: string | null;
241
+ loginUrl: string | null;
242
+ }>>;
243
+ }, "uuid" | "name" | "countryCode">, "strip", z.ZodTypeAny, {
244
+ uuid: string;
245
+ name: string;
246
+ countryCode: string;
247
+ }, {
248
+ uuid: string;
249
+ name: string;
250
+ countryCode: string;
251
+ }>, "many">;
252
+ totalAvailableBillingNodes: z.ZodNumber;
253
+ }, "strip", z.ZodTypeAny, {
254
+ billingNodes: {
255
+ uuid: string;
256
+ createdAt: Date;
257
+ updatedAt: Date;
258
+ nodeUuid: string;
259
+ providerUuid: string;
260
+ provider: {
261
+ uuid: string;
262
+ name: string;
263
+ };
264
+ node: {
265
+ uuid: string;
266
+ name: string;
267
+ countryCode: string;
268
+ };
269
+ nextBillingAt: Date;
270
+ }[];
271
+ totalBillingNodes: number;
272
+ availableBillingNodes: {
273
+ uuid: string;
274
+ name: string;
275
+ countryCode: string;
276
+ }[];
277
+ totalAvailableBillingNodes: number;
278
+ }, {
279
+ billingNodes: {
280
+ uuid: string;
281
+ createdAt: string;
282
+ updatedAt: string;
283
+ nodeUuid: string;
284
+ providerUuid: string;
285
+ provider: {
286
+ uuid: string;
287
+ name: string;
288
+ };
289
+ node: {
290
+ uuid: string;
291
+ name: string;
292
+ countryCode: string;
293
+ };
294
+ nextBillingAt: string;
295
+ }[];
296
+ totalBillingNodes: number;
297
+ availableBillingNodes: {
298
+ uuid: string;
299
+ name: string;
300
+ countryCode: string;
301
+ }[];
302
+ totalAvailableBillingNodes: number;
303
+ }>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ response: {
306
+ billingNodes: {
307
+ uuid: string;
308
+ createdAt: Date;
309
+ updatedAt: Date;
310
+ nodeUuid: string;
311
+ providerUuid: string;
312
+ provider: {
313
+ uuid: string;
314
+ name: string;
315
+ };
316
+ node: {
317
+ uuid: string;
318
+ name: string;
319
+ countryCode: string;
320
+ };
321
+ nextBillingAt: Date;
322
+ }[];
323
+ totalBillingNodes: number;
324
+ availableBillingNodes: {
325
+ uuid: string;
326
+ name: string;
327
+ countryCode: string;
328
+ }[];
329
+ totalAvailableBillingNodes: number;
330
+ };
331
+ }, {
332
+ response: {
333
+ billingNodes: {
334
+ uuid: string;
335
+ createdAt: string;
336
+ updatedAt: string;
337
+ nodeUuid: string;
338
+ providerUuid: string;
339
+ provider: {
340
+ uuid: string;
341
+ name: string;
342
+ };
343
+ node: {
344
+ uuid: string;
345
+ name: string;
346
+ countryCode: string;
347
+ };
348
+ nextBillingAt: string;
349
+ }[];
350
+ totalBillingNodes: number;
351
+ availableBillingNodes: {
352
+ uuid: string;
353
+ name: string;
354
+ countryCode: string;
355
+ }[];
356
+ totalAvailableBillingNodes: number;
357
+ };
358
+ }>;
359
+ type Response = z.infer<typeof ResponseSchema>;
360
+ }
361
+ //# sourceMappingURL=update-billing-node.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/update-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MASxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateInfraBillingNodeCommand = void 0;
4
+ const zod_1 = require("zod");
5
+ const models_1 = require("../../models");
6
+ const api_1 = require("../../api");
7
+ const constants_1 = require("../../constants");
8
+ var UpdateInfraBillingNodeCommand;
9
+ (function (UpdateInfraBillingNodeCommand) {
10
+ UpdateInfraBillingNodeCommand.url = api_1.REST_API.INFRA_BILLING.UPDATE_BILLING_NODE(':uuid');
11
+ UpdateInfraBillingNodeCommand.TSQ_url = UpdateInfraBillingNodeCommand.url;
12
+ UpdateInfraBillingNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE(':uuid'), 'patch', 'Update infra billing node');
13
+ UpdateInfraBillingNodeCommand.RequestSchema = zod_1.z.object({
14
+ uuid: zod_1.z.string().uuid(),
15
+ nextBillingAt: zod_1.z
16
+ .string({
17
+ invalid_type_error: 'Invalid date format',
18
+ })
19
+ .datetime({ message: 'Invalid date format', offset: true, local: true })
20
+ .transform((str) => new Date(str))
21
+ .optional(),
22
+ });
23
+ UpdateInfraBillingNodeCommand.ResponseSchema = zod_1.z.object({
24
+ response: zod_1.z.object({
25
+ totalBillingNodes: zod_1.z.number(),
26
+ billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
27
+ availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
28
+ totalAvailableBillingNodes: zod_1.z.number(),
29
+ }),
30
+ });
31
+ })(UpdateInfraBillingNodeCommand || (exports.UpdateInfraBillingNodeCommand = UpdateInfraBillingNodeCommand = {}));
@@ -103,15 +103,6 @@ export declare namespace DisableNodeCommand {
103
103
  viewPosition: number;
104
104
  address: string;
105
105
  isDisabled: boolean;
106
- providerUuid: string | null;
107
- provider: {
108
- uuid: string;
109
- createdAt: Date;
110
- updatedAt: Date;
111
- name: string;
112
- faviconLink: string | null;
113
- loginUrl: string | null;
114
- } | null;
115
106
  isConnected: boolean;
116
107
  isConnecting: boolean;
117
108
  isNodeOnline: boolean;
@@ -140,6 +131,15 @@ export declare namespace DisableNodeCommand {
140
131
  port: number | null;
141
132
  rawInbound?: unknown;
142
133
  }[] | null;
134
+ providerUuid: string | null;
135
+ provider: {
136
+ uuid: string;
137
+ createdAt: Date;
138
+ updatedAt: Date;
139
+ name: string;
140
+ faviconLink: string | null;
141
+ loginUrl: string | null;
142
+ } | null;
143
143
  }, {
144
144
  uuid: string;
145
145
  createdAt: string;
@@ -151,15 +151,6 @@ export declare namespace DisableNodeCommand {
151
151
  viewPosition: number;
152
152
  address: string;
153
153
  isDisabled: boolean;
154
- providerUuid: string | null;
155
- provider: {
156
- uuid: string;
157
- createdAt: string;
158
- updatedAt: string;
159
- name: string;
160
- faviconLink: string | null;
161
- loginUrl: string | null;
162
- } | null;
163
154
  isConnected: boolean;
164
155
  isConnecting: boolean;
165
156
  isNodeOnline: boolean;
@@ -188,6 +179,15 @@ export declare namespace DisableNodeCommand {
188
179
  port: number | null;
189
180
  rawInbound?: unknown;
190
181
  }[] | null;
182
+ providerUuid: string | null;
183
+ provider: {
184
+ uuid: string;
185
+ createdAt: string;
186
+ updatedAt: string;
187
+ name: string;
188
+ faviconLink: string | null;
189
+ loginUrl: string | null;
190
+ } | null;
191
191
  }>;
192
192
  }, "strip", z.ZodTypeAny, {
193
193
  response: {
@@ -201,15 +201,6 @@ export declare namespace DisableNodeCommand {
201
201
  viewPosition: number;
202
202
  address: string;
203
203
  isDisabled: boolean;
204
- providerUuid: string | null;
205
- provider: {
206
- uuid: string;
207
- createdAt: Date;
208
- updatedAt: Date;
209
- name: string;
210
- faviconLink: string | null;
211
- loginUrl: string | null;
212
- } | null;
213
204
  isConnected: boolean;
214
205
  isConnecting: boolean;
215
206
  isNodeOnline: boolean;
@@ -238,6 +229,15 @@ export declare namespace DisableNodeCommand {
238
229
  port: number | null;
239
230
  rawInbound?: unknown;
240
231
  }[] | null;
232
+ providerUuid: string | null;
233
+ provider: {
234
+ uuid: string;
235
+ createdAt: Date;
236
+ updatedAt: Date;
237
+ name: string;
238
+ faviconLink: string | null;
239
+ loginUrl: string | null;
240
+ } | null;
241
241
  };
242
242
  }, {
243
243
  response: {
@@ -251,15 +251,6 @@ export declare namespace DisableNodeCommand {
251
251
  viewPosition: number;
252
252
  address: string;
253
253
  isDisabled: boolean;
254
- providerUuid: string | null;
255
- provider: {
256
- uuid: string;
257
- createdAt: string;
258
- updatedAt: string;
259
- name: string;
260
- faviconLink: string | null;
261
- loginUrl: string | null;
262
- } | null;
263
254
  isConnected: boolean;
264
255
  isConnecting: boolean;
265
256
  isNodeOnline: boolean;
@@ -288,6 +279,15 @@ export declare namespace DisableNodeCommand {
288
279
  port: number | null;
289
280
  rawInbound?: unknown;
290
281
  }[] | null;
282
+ providerUuid: string | null;
283
+ provider: {
284
+ uuid: string;
285
+ createdAt: string;
286
+ updatedAt: string;
287
+ name: string;
288
+ faviconLink: string | null;
289
+ loginUrl: string | null;
290
+ } | null;
291
291
  };
292
292
  }>;
293
293
  type Response = z.infer<typeof ResponseSchema>;
@@ -103,15 +103,6 @@ export declare namespace EnableNodeCommand {
103
103
  viewPosition: number;
104
104
  address: string;
105
105
  isDisabled: boolean;
106
- providerUuid: string | null;
107
- provider: {
108
- uuid: string;
109
- createdAt: Date;
110
- updatedAt: Date;
111
- name: string;
112
- faviconLink: string | null;
113
- loginUrl: string | null;
114
- } | null;
115
106
  isConnected: boolean;
116
107
  isConnecting: boolean;
117
108
  isNodeOnline: boolean;
@@ -140,6 +131,15 @@ export declare namespace EnableNodeCommand {
140
131
  port: number | null;
141
132
  rawInbound?: unknown;
142
133
  }[] | null;
134
+ providerUuid: string | null;
135
+ provider: {
136
+ uuid: string;
137
+ createdAt: Date;
138
+ updatedAt: Date;
139
+ name: string;
140
+ faviconLink: string | null;
141
+ loginUrl: string | null;
142
+ } | null;
143
143
  }, {
144
144
  uuid: string;
145
145
  createdAt: string;
@@ -151,15 +151,6 @@ export declare namespace EnableNodeCommand {
151
151
  viewPosition: number;
152
152
  address: string;
153
153
  isDisabled: boolean;
154
- providerUuid: string | null;
155
- provider: {
156
- uuid: string;
157
- createdAt: string;
158
- updatedAt: string;
159
- name: string;
160
- faviconLink: string | null;
161
- loginUrl: string | null;
162
- } | null;
163
154
  isConnected: boolean;
164
155
  isConnecting: boolean;
165
156
  isNodeOnline: boolean;
@@ -188,6 +179,15 @@ export declare namespace EnableNodeCommand {
188
179
  port: number | null;
189
180
  rawInbound?: unknown;
190
181
  }[] | null;
182
+ providerUuid: string | null;
183
+ provider: {
184
+ uuid: string;
185
+ createdAt: string;
186
+ updatedAt: string;
187
+ name: string;
188
+ faviconLink: string | null;
189
+ loginUrl: string | null;
190
+ } | null;
191
191
  }>;
192
192
  }, "strip", z.ZodTypeAny, {
193
193
  response: {
@@ -201,15 +201,6 @@ export declare namespace EnableNodeCommand {
201
201
  viewPosition: number;
202
202
  address: string;
203
203
  isDisabled: boolean;
204
- providerUuid: string | null;
205
- provider: {
206
- uuid: string;
207
- createdAt: Date;
208
- updatedAt: Date;
209
- name: string;
210
- faviconLink: string | null;
211
- loginUrl: string | null;
212
- } | null;
213
204
  isConnected: boolean;
214
205
  isConnecting: boolean;
215
206
  isNodeOnline: boolean;
@@ -238,6 +229,15 @@ export declare namespace EnableNodeCommand {
238
229
  port: number | null;
239
230
  rawInbound?: unknown;
240
231
  }[] | null;
232
+ providerUuid: string | null;
233
+ provider: {
234
+ uuid: string;
235
+ createdAt: Date;
236
+ updatedAt: Date;
237
+ name: string;
238
+ faviconLink: string | null;
239
+ loginUrl: string | null;
240
+ } | null;
241
241
  };
242
242
  }, {
243
243
  response: {
@@ -251,15 +251,6 @@ export declare namespace EnableNodeCommand {
251
251
  viewPosition: number;
252
252
  address: string;
253
253
  isDisabled: boolean;
254
- providerUuid: string | null;
255
- provider: {
256
- uuid: string;
257
- createdAt: string;
258
- updatedAt: string;
259
- name: string;
260
- faviconLink: string | null;
261
- loginUrl: string | null;
262
- } | null;
263
254
  isConnected: boolean;
264
255
  isConnecting: boolean;
265
256
  isNodeOnline: boolean;
@@ -288,6 +279,15 @@ export declare namespace EnableNodeCommand {
288
279
  port: number | null;
289
280
  rawInbound?: unknown;
290
281
  }[] | null;
282
+ providerUuid: string | null;
283
+ provider: {
284
+ uuid: string;
285
+ createdAt: string;
286
+ updatedAt: string;
287
+ name: string;
288
+ faviconLink: string | null;
289
+ loginUrl: string | null;
290
+ } | null;
291
291
  };
292
292
  }>;
293
293
  type Response = z.infer<typeof ResponseSchema>;