@remnawave/backend-contract 2.0.0-alpha.12 → 2.0.0-alpha.15
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/infra-billing/create-bill-record.command.d.ts +15 -15
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.js +0 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +364 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-billing-node.command.js +33 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +12 -12
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +358 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +24 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +12 -12
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts +350 -0
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-blling-nodes.command.js +21 -0
- package/build/backend/commands/infra-billing/index.d.ts +4 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.js +4 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +361 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-billing-node.command.js +31 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts +36 -36
- package/build/backend/commands/nodes/actions/enable.command.d.ts +36 -36
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +36 -36
- package/build/backend/commands/nodes/create.command.d.ts +38 -38
- package/build/backend/commands/nodes/get-all.command.d.ts +36 -36
- package/build/backend/commands/nodes/get-one.command.d.ts +36 -36
- package/build/backend/commands/nodes/update.command.d.ts +38 -38
- package/build/backend/constants/errors/errors.d.ts +20 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +20 -0
- package/build/backend/models/index.d.ts +2 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +2 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts +90 -0
- package/build/backend/models/infra-billing-available-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-available-node.schema.js +9 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts +4 -4
- package/build/backend/models/infra-billing-node.schema.d.ts +145 -0
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-node.schema.js +34 -0
- package/build/backend/models/nodes.schema.d.ts +18 -18
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +0 -1
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +33 -0
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +24 -0
- package/build/frontend/commands/infra-billing/get-blling-nodes.command.js +21 -0
- package/build/frontend/commands/infra-billing/index.js +4 -0
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +31 -0
- package/build/frontend/constants/errors/errors.js +20 -0
- package/build/frontend/models/index.js +2 -0
- package/build/frontend/models/infra-billing-available-node.schema.js +9 -0
- package/build/frontend/models/infra-billing-node.schema.js +34 -0
- package/package.json +1 -1
@@ -195,15 +195,6 @@ export declare namespace ReorderNodeCommand {
|
|
195
195
|
viewPosition: number;
|
196
196
|
address: string;
|
197
197
|
isDisabled: boolean;
|
198
|
-
providerUuid: string | null;
|
199
|
-
provider: {
|
200
|
-
uuid: string;
|
201
|
-
createdAt: Date;
|
202
|
-
updatedAt: Date;
|
203
|
-
name: string;
|
204
|
-
faviconLink: string | null;
|
205
|
-
loginUrl: string | null;
|
206
|
-
} | null;
|
207
198
|
isConnected: boolean;
|
208
199
|
isConnecting: boolean;
|
209
200
|
isNodeOnline: boolean;
|
@@ -232,6 +223,15 @@ export declare namespace ReorderNodeCommand {
|
|
232
223
|
port: number | null;
|
233
224
|
rawInbound?: unknown;
|
234
225
|
}[] | null;
|
226
|
+
providerUuid: string | null;
|
227
|
+
provider: {
|
228
|
+
uuid: string;
|
229
|
+
createdAt: Date;
|
230
|
+
updatedAt: Date;
|
231
|
+
name: string;
|
232
|
+
faviconLink: string | null;
|
233
|
+
loginUrl: string | null;
|
234
|
+
} | null;
|
235
235
|
}, {
|
236
236
|
uuid: string;
|
237
237
|
createdAt: string;
|
@@ -243,15 +243,6 @@ export declare namespace ReorderNodeCommand {
|
|
243
243
|
viewPosition: number;
|
244
244
|
address: string;
|
245
245
|
isDisabled: boolean;
|
246
|
-
providerUuid: string | null;
|
247
|
-
provider: {
|
248
|
-
uuid: string;
|
249
|
-
createdAt: string;
|
250
|
-
updatedAt: string;
|
251
|
-
name: string;
|
252
|
-
faviconLink: string | null;
|
253
|
-
loginUrl: string | null;
|
254
|
-
} | null;
|
255
246
|
isConnected: boolean;
|
256
247
|
isConnecting: boolean;
|
257
248
|
isNodeOnline: boolean;
|
@@ -280,6 +271,15 @@ export declare namespace ReorderNodeCommand {
|
|
280
271
|
port: number | null;
|
281
272
|
rawInbound?: unknown;
|
282
273
|
}[] | null;
|
274
|
+
providerUuid: string | null;
|
275
|
+
provider: {
|
276
|
+
uuid: string;
|
277
|
+
createdAt: string;
|
278
|
+
updatedAt: string;
|
279
|
+
name: string;
|
280
|
+
faviconLink: string | null;
|
281
|
+
loginUrl: string | null;
|
282
|
+
} | null;
|
283
283
|
}>, "many">;
|
284
284
|
}, "strip", z.ZodTypeAny, {
|
285
285
|
response: {
|
@@ -293,15 +293,6 @@ export declare namespace ReorderNodeCommand {
|
|
293
293
|
viewPosition: number;
|
294
294
|
address: string;
|
295
295
|
isDisabled: boolean;
|
296
|
-
providerUuid: string | null;
|
297
|
-
provider: {
|
298
|
-
uuid: string;
|
299
|
-
createdAt: Date;
|
300
|
-
updatedAt: Date;
|
301
|
-
name: string;
|
302
|
-
faviconLink: string | null;
|
303
|
-
loginUrl: string | null;
|
304
|
-
} | null;
|
305
296
|
isConnected: boolean;
|
306
297
|
isConnecting: boolean;
|
307
298
|
isNodeOnline: boolean;
|
@@ -330,6 +321,15 @@ export declare namespace ReorderNodeCommand {
|
|
330
321
|
port: number | null;
|
331
322
|
rawInbound?: unknown;
|
332
323
|
}[] | null;
|
324
|
+
providerUuid: string | null;
|
325
|
+
provider: {
|
326
|
+
uuid: string;
|
327
|
+
createdAt: Date;
|
328
|
+
updatedAt: Date;
|
329
|
+
name: string;
|
330
|
+
faviconLink: string | null;
|
331
|
+
loginUrl: string | null;
|
332
|
+
} | null;
|
333
333
|
}[];
|
334
334
|
}, {
|
335
335
|
response: {
|
@@ -343,15 +343,6 @@ export declare namespace ReorderNodeCommand {
|
|
343
343
|
viewPosition: number;
|
344
344
|
address: string;
|
345
345
|
isDisabled: boolean;
|
346
|
-
providerUuid: string | null;
|
347
|
-
provider: {
|
348
|
-
uuid: string;
|
349
|
-
createdAt: string;
|
350
|
-
updatedAt: string;
|
351
|
-
name: string;
|
352
|
-
faviconLink: string | null;
|
353
|
-
loginUrl: string | null;
|
354
|
-
} | null;
|
355
346
|
isConnected: boolean;
|
356
347
|
isConnecting: boolean;
|
357
348
|
isNodeOnline: boolean;
|
@@ -380,6 +371,15 @@ export declare namespace ReorderNodeCommand {
|
|
380
371
|
port: number | null;
|
381
372
|
rawInbound?: unknown;
|
382
373
|
}[] | null;
|
374
|
+
providerUuid: string | null;
|
375
|
+
provider: {
|
376
|
+
uuid: string;
|
377
|
+
createdAt: string;
|
378
|
+
updatedAt: string;
|
379
|
+
name: string;
|
380
|
+
faviconLink: string | null;
|
381
|
+
loginUrl: string | null;
|
382
|
+
} | null;
|
383
383
|
}[];
|
384
384
|
}>;
|
385
385
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -23,25 +23,25 @@ export declare namespace CreateNodeCommand {
|
|
23
23
|
isTrafficTrackingActive: boolean;
|
24
24
|
port?: number | undefined;
|
25
25
|
trafficLimitBytes?: number | undefined;
|
26
|
-
providerUuid?: string | null | undefined;
|
27
26
|
trafficResetDay?: number | undefined;
|
28
27
|
notifyPercent?: number | undefined;
|
29
28
|
consumptionMultiplier?: number | undefined;
|
30
29
|
activeConfigProfileUuid?: string | undefined;
|
31
30
|
activeInbounds?: string[] | undefined;
|
31
|
+
providerUuid?: string | null | undefined;
|
32
32
|
}, {
|
33
33
|
name: string;
|
34
34
|
address: string;
|
35
35
|
port?: number | undefined;
|
36
36
|
countryCode?: string | undefined;
|
37
37
|
trafficLimitBytes?: number | undefined;
|
38
|
-
providerUuid?: string | null | undefined;
|
39
38
|
isTrafficTrackingActive?: boolean | undefined;
|
40
39
|
trafficResetDay?: number | undefined;
|
41
40
|
notifyPercent?: number | undefined;
|
42
41
|
consumptionMultiplier?: number | undefined;
|
43
42
|
activeConfigProfileUuid?: string | undefined;
|
44
43
|
activeInbounds?: string[] | undefined;
|
44
|
+
providerUuid?: string | null | undefined;
|
45
45
|
}>;
|
46
46
|
type Request = z.infer<typeof RequestSchema>;
|
47
47
|
const ResponseSchema: z.ZodObject<{
|
@@ -136,15 +136,6 @@ export declare namespace CreateNodeCommand {
|
|
136
136
|
viewPosition: number;
|
137
137
|
address: string;
|
138
138
|
isDisabled: boolean;
|
139
|
-
providerUuid: string | null;
|
140
|
-
provider: {
|
141
|
-
uuid: string;
|
142
|
-
createdAt: Date;
|
143
|
-
updatedAt: Date;
|
144
|
-
name: string;
|
145
|
-
faviconLink: string | null;
|
146
|
-
loginUrl: string | null;
|
147
|
-
} | null;
|
148
139
|
isConnected: boolean;
|
149
140
|
isConnecting: boolean;
|
150
141
|
isNodeOnline: boolean;
|
@@ -173,6 +164,15 @@ export declare namespace CreateNodeCommand {
|
|
173
164
|
port: number | null;
|
174
165
|
rawInbound?: unknown;
|
175
166
|
}[] | null;
|
167
|
+
providerUuid: string | null;
|
168
|
+
provider: {
|
169
|
+
uuid: string;
|
170
|
+
createdAt: Date;
|
171
|
+
updatedAt: Date;
|
172
|
+
name: string;
|
173
|
+
faviconLink: string | null;
|
174
|
+
loginUrl: string | null;
|
175
|
+
} | null;
|
176
176
|
}, {
|
177
177
|
uuid: string;
|
178
178
|
createdAt: string;
|
@@ -184,15 +184,6 @@ export declare namespace CreateNodeCommand {
|
|
184
184
|
viewPosition: number;
|
185
185
|
address: string;
|
186
186
|
isDisabled: boolean;
|
187
|
-
providerUuid: string | null;
|
188
|
-
provider: {
|
189
|
-
uuid: string;
|
190
|
-
createdAt: string;
|
191
|
-
updatedAt: string;
|
192
|
-
name: string;
|
193
|
-
faviconLink: string | null;
|
194
|
-
loginUrl: string | null;
|
195
|
-
} | null;
|
196
187
|
isConnected: boolean;
|
197
188
|
isConnecting: boolean;
|
198
189
|
isNodeOnline: boolean;
|
@@ -221,6 +212,15 @@ export declare namespace CreateNodeCommand {
|
|
221
212
|
port: number | null;
|
222
213
|
rawInbound?: unknown;
|
223
214
|
}[] | null;
|
215
|
+
providerUuid: string | null;
|
216
|
+
provider: {
|
217
|
+
uuid: string;
|
218
|
+
createdAt: string;
|
219
|
+
updatedAt: string;
|
220
|
+
name: string;
|
221
|
+
faviconLink: string | null;
|
222
|
+
loginUrl: string | null;
|
223
|
+
} | null;
|
224
224
|
}>;
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
226
226
|
response: {
|
@@ -234,15 +234,6 @@ export declare namespace CreateNodeCommand {
|
|
234
234
|
viewPosition: number;
|
235
235
|
address: string;
|
236
236
|
isDisabled: boolean;
|
237
|
-
providerUuid: string | null;
|
238
|
-
provider: {
|
239
|
-
uuid: string;
|
240
|
-
createdAt: Date;
|
241
|
-
updatedAt: Date;
|
242
|
-
name: string;
|
243
|
-
faviconLink: string | null;
|
244
|
-
loginUrl: string | null;
|
245
|
-
} | null;
|
246
237
|
isConnected: boolean;
|
247
238
|
isConnecting: boolean;
|
248
239
|
isNodeOnline: boolean;
|
@@ -271,6 +262,15 @@ export declare namespace CreateNodeCommand {
|
|
271
262
|
port: number | null;
|
272
263
|
rawInbound?: unknown;
|
273
264
|
}[] | null;
|
265
|
+
providerUuid: string | null;
|
266
|
+
provider: {
|
267
|
+
uuid: string;
|
268
|
+
createdAt: Date;
|
269
|
+
updatedAt: Date;
|
270
|
+
name: string;
|
271
|
+
faviconLink: string | null;
|
272
|
+
loginUrl: string | null;
|
273
|
+
} | null;
|
274
274
|
};
|
275
275
|
}, {
|
276
276
|
response: {
|
@@ -284,15 +284,6 @@ export declare namespace CreateNodeCommand {
|
|
284
284
|
viewPosition: number;
|
285
285
|
address: string;
|
286
286
|
isDisabled: boolean;
|
287
|
-
providerUuid: string | null;
|
288
|
-
provider: {
|
289
|
-
uuid: string;
|
290
|
-
createdAt: string;
|
291
|
-
updatedAt: string;
|
292
|
-
name: string;
|
293
|
-
faviconLink: string | null;
|
294
|
-
loginUrl: string | null;
|
295
|
-
} | null;
|
296
287
|
isConnected: boolean;
|
297
288
|
isConnecting: boolean;
|
298
289
|
isNodeOnline: boolean;
|
@@ -321,6 +312,15 @@ export declare namespace CreateNodeCommand {
|
|
321
312
|
port: number | null;
|
322
313
|
rawInbound?: unknown;
|
323
314
|
}[] | null;
|
315
|
+
providerUuid: string | null;
|
316
|
+
provider: {
|
317
|
+
uuid: string;
|
318
|
+
createdAt: string;
|
319
|
+
updatedAt: string;
|
320
|
+
name: string;
|
321
|
+
faviconLink: string | null;
|
322
|
+
loginUrl: string | null;
|
323
|
+
} | null;
|
324
324
|
};
|
325
325
|
}>;
|
326
326
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -95,15 +95,6 @@ export declare namespace GetAllNodesCommand {
|
|
95
95
|
viewPosition: number;
|
96
96
|
address: string;
|
97
97
|
isDisabled: boolean;
|
98
|
-
providerUuid: string | null;
|
99
|
-
provider: {
|
100
|
-
uuid: string;
|
101
|
-
createdAt: Date;
|
102
|
-
updatedAt: Date;
|
103
|
-
name: string;
|
104
|
-
faviconLink: string | null;
|
105
|
-
loginUrl: string | null;
|
106
|
-
} | null;
|
107
98
|
isConnected: boolean;
|
108
99
|
isConnecting: boolean;
|
109
100
|
isNodeOnline: boolean;
|
@@ -132,6 +123,15 @@ export declare namespace GetAllNodesCommand {
|
|
132
123
|
port: number | null;
|
133
124
|
rawInbound?: unknown;
|
134
125
|
}[] | null;
|
126
|
+
providerUuid: string | null;
|
127
|
+
provider: {
|
128
|
+
uuid: string;
|
129
|
+
createdAt: Date;
|
130
|
+
updatedAt: Date;
|
131
|
+
name: string;
|
132
|
+
faviconLink: string | null;
|
133
|
+
loginUrl: string | null;
|
134
|
+
} | null;
|
135
135
|
}, {
|
136
136
|
uuid: string;
|
137
137
|
createdAt: string;
|
@@ -143,15 +143,6 @@ export declare namespace GetAllNodesCommand {
|
|
143
143
|
viewPosition: number;
|
144
144
|
address: string;
|
145
145
|
isDisabled: boolean;
|
146
|
-
providerUuid: string | null;
|
147
|
-
provider: {
|
148
|
-
uuid: string;
|
149
|
-
createdAt: string;
|
150
|
-
updatedAt: string;
|
151
|
-
name: string;
|
152
|
-
faviconLink: string | null;
|
153
|
-
loginUrl: string | null;
|
154
|
-
} | null;
|
155
146
|
isConnected: boolean;
|
156
147
|
isConnecting: boolean;
|
157
148
|
isNodeOnline: boolean;
|
@@ -180,6 +171,15 @@ export declare namespace GetAllNodesCommand {
|
|
180
171
|
port: number | null;
|
181
172
|
rawInbound?: unknown;
|
182
173
|
}[] | null;
|
174
|
+
providerUuid: string | null;
|
175
|
+
provider: {
|
176
|
+
uuid: string;
|
177
|
+
createdAt: string;
|
178
|
+
updatedAt: string;
|
179
|
+
name: string;
|
180
|
+
faviconLink: string | null;
|
181
|
+
loginUrl: string | null;
|
182
|
+
} | null;
|
183
183
|
}>, "many">;
|
184
184
|
}, "strip", z.ZodTypeAny, {
|
185
185
|
response: {
|
@@ -193,15 +193,6 @@ export declare namespace GetAllNodesCommand {
|
|
193
193
|
viewPosition: number;
|
194
194
|
address: string;
|
195
195
|
isDisabled: boolean;
|
196
|
-
providerUuid: string | null;
|
197
|
-
provider: {
|
198
|
-
uuid: string;
|
199
|
-
createdAt: Date;
|
200
|
-
updatedAt: Date;
|
201
|
-
name: string;
|
202
|
-
faviconLink: string | null;
|
203
|
-
loginUrl: string | null;
|
204
|
-
} | null;
|
205
196
|
isConnected: boolean;
|
206
197
|
isConnecting: boolean;
|
207
198
|
isNodeOnline: boolean;
|
@@ -230,6 +221,15 @@ export declare namespace GetAllNodesCommand {
|
|
230
221
|
port: number | null;
|
231
222
|
rawInbound?: unknown;
|
232
223
|
}[] | null;
|
224
|
+
providerUuid: string | null;
|
225
|
+
provider: {
|
226
|
+
uuid: string;
|
227
|
+
createdAt: Date;
|
228
|
+
updatedAt: Date;
|
229
|
+
name: string;
|
230
|
+
faviconLink: string | null;
|
231
|
+
loginUrl: string | null;
|
232
|
+
} | null;
|
233
233
|
}[];
|
234
234
|
}, {
|
235
235
|
response: {
|
@@ -243,15 +243,6 @@ export declare namespace GetAllNodesCommand {
|
|
243
243
|
viewPosition: number;
|
244
244
|
address: string;
|
245
245
|
isDisabled: boolean;
|
246
|
-
providerUuid: string | null;
|
247
|
-
provider: {
|
248
|
-
uuid: string;
|
249
|
-
createdAt: string;
|
250
|
-
updatedAt: string;
|
251
|
-
name: string;
|
252
|
-
faviconLink: string | null;
|
253
|
-
loginUrl: string | null;
|
254
|
-
} | null;
|
255
246
|
isConnected: boolean;
|
256
247
|
isConnecting: boolean;
|
257
248
|
isNodeOnline: boolean;
|
@@ -280,6 +271,15 @@ export declare namespace GetAllNodesCommand {
|
|
280
271
|
port: number | null;
|
281
272
|
rawInbound?: unknown;
|
282
273
|
}[] | null;
|
274
|
+
providerUuid: string | null;
|
275
|
+
provider: {
|
276
|
+
uuid: string;
|
277
|
+
createdAt: string;
|
278
|
+
updatedAt: string;
|
279
|
+
name: string;
|
280
|
+
faviconLink: string | null;
|
281
|
+
loginUrl: string | null;
|
282
|
+
} | null;
|
283
283
|
}[];
|
284
284
|
}>;
|
285
285
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -103,15 +103,6 @@ export declare namespace GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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 GetOneNodeCommand {
|
|
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,13 +103,13 @@ export declare namespace UpdateNodeCommand {
|
|
103
103
|
countryCode?: string | undefined;
|
104
104
|
trafficLimitBytes?: number | undefined;
|
105
105
|
address?: string | undefined;
|
106
|
-
providerUuid?: string | null | undefined;
|
107
106
|
isTrafficTrackingActive?: boolean | undefined;
|
108
107
|
trafficResetDay?: number | undefined;
|
109
108
|
notifyPercent?: number | undefined;
|
110
109
|
consumptionMultiplier?: number | undefined;
|
111
110
|
activeConfigProfileUuid?: string | undefined;
|
112
111
|
activeInbounds?: string[] | undefined;
|
112
|
+
providerUuid?: string | null | undefined;
|
113
113
|
}, {
|
114
114
|
uuid: string;
|
115
115
|
name?: string | undefined;
|
@@ -117,13 +117,13 @@ export declare namespace UpdateNodeCommand {
|
|
117
117
|
countryCode?: string | undefined;
|
118
118
|
trafficLimitBytes?: number | undefined;
|
119
119
|
address?: string | undefined;
|
120
|
-
providerUuid?: string | null | undefined;
|
121
120
|
isTrafficTrackingActive?: boolean | undefined;
|
122
121
|
trafficResetDay?: number | undefined;
|
123
122
|
notifyPercent?: number | undefined;
|
124
123
|
consumptionMultiplier?: number | undefined;
|
125
124
|
activeConfigProfileUuid?: string | undefined;
|
126
125
|
activeInbounds?: string[] | undefined;
|
126
|
+
providerUuid?: string | null | undefined;
|
127
127
|
}>;
|
128
128
|
type Request = z.infer<typeof RequestSchema>;
|
129
129
|
const ResponseSchema: z.ZodObject<{
|
@@ -218,15 +218,6 @@ export declare namespace UpdateNodeCommand {
|
|
218
218
|
viewPosition: number;
|
219
219
|
address: string;
|
220
220
|
isDisabled: boolean;
|
221
|
-
providerUuid: string | null;
|
222
|
-
provider: {
|
223
|
-
uuid: string;
|
224
|
-
createdAt: Date;
|
225
|
-
updatedAt: Date;
|
226
|
-
name: string;
|
227
|
-
faviconLink: string | null;
|
228
|
-
loginUrl: string | null;
|
229
|
-
} | null;
|
230
221
|
isConnected: boolean;
|
231
222
|
isConnecting: boolean;
|
232
223
|
isNodeOnline: boolean;
|
@@ -255,6 +246,15 @@ export declare namespace UpdateNodeCommand {
|
|
255
246
|
port: number | null;
|
256
247
|
rawInbound?: unknown;
|
257
248
|
}[] | null;
|
249
|
+
providerUuid: string | null;
|
250
|
+
provider: {
|
251
|
+
uuid: string;
|
252
|
+
createdAt: Date;
|
253
|
+
updatedAt: Date;
|
254
|
+
name: string;
|
255
|
+
faviconLink: string | null;
|
256
|
+
loginUrl: string | null;
|
257
|
+
} | null;
|
258
258
|
}, {
|
259
259
|
uuid: string;
|
260
260
|
createdAt: string;
|
@@ -266,15 +266,6 @@ export declare namespace UpdateNodeCommand {
|
|
266
266
|
viewPosition: number;
|
267
267
|
address: string;
|
268
268
|
isDisabled: boolean;
|
269
|
-
providerUuid: string | null;
|
270
|
-
provider: {
|
271
|
-
uuid: string;
|
272
|
-
createdAt: string;
|
273
|
-
updatedAt: string;
|
274
|
-
name: string;
|
275
|
-
faviconLink: string | null;
|
276
|
-
loginUrl: string | null;
|
277
|
-
} | null;
|
278
269
|
isConnected: boolean;
|
279
270
|
isConnecting: boolean;
|
280
271
|
isNodeOnline: boolean;
|
@@ -303,6 +294,15 @@ export declare namespace UpdateNodeCommand {
|
|
303
294
|
port: number | null;
|
304
295
|
rawInbound?: unknown;
|
305
296
|
}[] | null;
|
297
|
+
providerUuid: string | null;
|
298
|
+
provider: {
|
299
|
+
uuid: string;
|
300
|
+
createdAt: string;
|
301
|
+
updatedAt: string;
|
302
|
+
name: string;
|
303
|
+
faviconLink: string | null;
|
304
|
+
loginUrl: string | null;
|
305
|
+
} | null;
|
306
306
|
}>;
|
307
307
|
}, "strip", z.ZodTypeAny, {
|
308
308
|
response: {
|
@@ -316,15 +316,6 @@ export declare namespace UpdateNodeCommand {
|
|
316
316
|
viewPosition: number;
|
317
317
|
address: string;
|
318
318
|
isDisabled: boolean;
|
319
|
-
providerUuid: string | null;
|
320
|
-
provider: {
|
321
|
-
uuid: string;
|
322
|
-
createdAt: Date;
|
323
|
-
updatedAt: Date;
|
324
|
-
name: string;
|
325
|
-
faviconLink: string | null;
|
326
|
-
loginUrl: string | null;
|
327
|
-
} | null;
|
328
319
|
isConnected: boolean;
|
329
320
|
isConnecting: boolean;
|
330
321
|
isNodeOnline: boolean;
|
@@ -353,6 +344,15 @@ export declare namespace UpdateNodeCommand {
|
|
353
344
|
port: number | null;
|
354
345
|
rawInbound?: unknown;
|
355
346
|
}[] | null;
|
347
|
+
providerUuid: string | null;
|
348
|
+
provider: {
|
349
|
+
uuid: string;
|
350
|
+
createdAt: Date;
|
351
|
+
updatedAt: Date;
|
352
|
+
name: string;
|
353
|
+
faviconLink: string | null;
|
354
|
+
loginUrl: string | null;
|
355
|
+
} | null;
|
356
356
|
};
|
357
357
|
}, {
|
358
358
|
response: {
|
@@ -366,15 +366,6 @@ export declare namespace UpdateNodeCommand {
|
|
366
366
|
viewPosition: number;
|
367
367
|
address: string;
|
368
368
|
isDisabled: boolean;
|
369
|
-
providerUuid: string | null;
|
370
|
-
provider: {
|
371
|
-
uuid: string;
|
372
|
-
createdAt: string;
|
373
|
-
updatedAt: string;
|
374
|
-
name: string;
|
375
|
-
faviconLink: string | null;
|
376
|
-
loginUrl: string | null;
|
377
|
-
} | null;
|
378
369
|
isConnected: boolean;
|
379
370
|
isConnecting: boolean;
|
380
371
|
isNodeOnline: boolean;
|
@@ -403,6 +394,15 @@ export declare namespace UpdateNodeCommand {
|
|
403
394
|
port: number | null;
|
404
395
|
rawInbound?: unknown;
|
405
396
|
}[] | null;
|
397
|
+
providerUuid: string | null;
|
398
|
+
provider: {
|
399
|
+
uuid: string;
|
400
|
+
createdAt: string;
|
401
|
+
updatedAt: string;
|
402
|
+
name: string;
|
403
|
+
faviconLink: string | null;
|
404
|
+
loginUrl: string | null;
|
405
|
+
} | null;
|
406
406
|
};
|
407
407
|
}>;
|
408
408
|
type Response = z.infer<typeof ResponseSchema>;
|