@remnawave/backend-contract 2.0.0-alpha.10 → 2.0.0-alpha.12
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 +125 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-bill-record.command.js +31 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts +119 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts +122 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/backend/commands/infra-billing/index.d.ts +3 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/index.js +3 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts +36 -113
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +36 -113
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +36 -154
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +38 -115
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-all.command.d.ts +36 -113
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +36 -113
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +38 -156
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.d.ts +15 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +15 -0
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts +44 -0
- package/build/backend/models/infra-billing-history-record.schema.d.ts.map +1 -0
- package/build/backend/models/infra-billing-history-record.schema.js +19 -0
- package/build/backend/models/infra-provider.schema.d.ts +22 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -1
- package/build/backend/models/infra-provider.schema.js +15 -1
- package/build/backend/models/nodes.schema.d.ts +18 -77
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +1 -1
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +31 -0
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +22 -0
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +31 -0
- package/build/frontend/commands/infra-billing/index.js +3 -0
- package/build/frontend/constants/errors/errors.js +15 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/infra-billing-history-record.schema.js +19 -0
- package/build/frontend/models/infra-provider.schema.js +15 -1
- package/build/frontend/models/nodes.schema.js +1 -1
- package/package.json +1 -1
@@ -69,29 +69,6 @@ export declare namespace ReorderNodeCommand {
|
|
69
69
|
loginUrl: z.ZodNullable<z.ZodString>;
|
70
70
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
71
71
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
72
|
-
billingHistory: z.ZodObject<{
|
73
|
-
totalAmount: z.ZodNumber;
|
74
|
-
totalBills: z.ZodNumber;
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
76
|
-
totalAmount: number;
|
77
|
-
totalBills: number;
|
78
|
-
}, {
|
79
|
-
totalAmount: number;
|
80
|
-
totalBills: number;
|
81
|
-
}>;
|
82
|
-
billingNodes: z.ZodArray<z.ZodObject<{
|
83
|
-
nodeUuid: z.ZodString;
|
84
|
-
name: z.ZodString;
|
85
|
-
countryCode: z.ZodString;
|
86
|
-
}, "strip", z.ZodTypeAny, {
|
87
|
-
name: string;
|
88
|
-
countryCode: string;
|
89
|
-
nodeUuid: string;
|
90
|
-
}, {
|
91
|
-
name: string;
|
92
|
-
countryCode: string;
|
93
|
-
nodeUuid: string;
|
94
|
-
}>, "many">;
|
95
72
|
}, "strip", z.ZodTypeAny, {
|
96
73
|
uuid: string;
|
97
74
|
createdAt: Date;
|
@@ -99,15 +76,6 @@ export declare namespace ReorderNodeCommand {
|
|
99
76
|
name: string;
|
100
77
|
faviconLink: string | null;
|
101
78
|
loginUrl: string | null;
|
102
|
-
billingHistory: {
|
103
|
-
totalAmount: number;
|
104
|
-
totalBills: number;
|
105
|
-
};
|
106
|
-
billingNodes: {
|
107
|
-
name: string;
|
108
|
-
countryCode: string;
|
109
|
-
nodeUuid: string;
|
110
|
-
}[];
|
111
79
|
}, {
|
112
80
|
uuid: string;
|
113
81
|
createdAt: string;
|
@@ -115,15 +83,6 @@ export declare namespace ReorderNodeCommand {
|
|
115
83
|
name: string;
|
116
84
|
faviconLink: string | null;
|
117
85
|
loginUrl: string | null;
|
118
|
-
billingHistory: {
|
119
|
-
totalAmount: number;
|
120
|
-
totalBills: number;
|
121
|
-
};
|
122
|
-
billingNodes: {
|
123
|
-
name: string;
|
124
|
-
countryCode: string;
|
125
|
-
nodeUuid: string;
|
126
|
-
}[];
|
127
86
|
}>>;
|
128
87
|
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
129
88
|
uuid: string;
|
@@ -210,29 +169,6 @@ export declare namespace ReorderNodeCommand {
|
|
210
169
|
loginUrl: z.ZodNullable<z.ZodString>;
|
211
170
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
212
171
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
213
|
-
billingHistory: z.ZodObject<{
|
214
|
-
totalAmount: z.ZodNumber;
|
215
|
-
totalBills: z.ZodNumber;
|
216
|
-
}, "strip", z.ZodTypeAny, {
|
217
|
-
totalAmount: number;
|
218
|
-
totalBills: number;
|
219
|
-
}, {
|
220
|
-
totalAmount: number;
|
221
|
-
totalBills: number;
|
222
|
-
}>;
|
223
|
-
billingNodes: z.ZodArray<z.ZodObject<{
|
224
|
-
nodeUuid: z.ZodString;
|
225
|
-
name: z.ZodString;
|
226
|
-
countryCode: z.ZodString;
|
227
|
-
}, "strip", z.ZodTypeAny, {
|
228
|
-
name: string;
|
229
|
-
countryCode: string;
|
230
|
-
nodeUuid: string;
|
231
|
-
}, {
|
232
|
-
name: string;
|
233
|
-
countryCode: string;
|
234
|
-
nodeUuid: string;
|
235
|
-
}>, "many">;
|
236
172
|
}, "strip", z.ZodTypeAny, {
|
237
173
|
uuid: string;
|
238
174
|
createdAt: Date;
|
@@ -240,15 +176,6 @@ export declare namespace ReorderNodeCommand {
|
|
240
176
|
name: string;
|
241
177
|
faviconLink: string | null;
|
242
178
|
loginUrl: string | null;
|
243
|
-
billingHistory: {
|
244
|
-
totalAmount: number;
|
245
|
-
totalBills: number;
|
246
|
-
};
|
247
|
-
billingNodes: {
|
248
|
-
name: string;
|
249
|
-
countryCode: string;
|
250
|
-
nodeUuid: string;
|
251
|
-
}[];
|
252
179
|
}, {
|
253
180
|
uuid: string;
|
254
181
|
createdAt: string;
|
@@ -256,15 +183,6 @@ export declare namespace ReorderNodeCommand {
|
|
256
183
|
name: string;
|
257
184
|
faviconLink: string | null;
|
258
185
|
loginUrl: string | null;
|
259
|
-
billingHistory: {
|
260
|
-
totalAmount: number;
|
261
|
-
totalBills: number;
|
262
|
-
};
|
263
|
-
billingNodes: {
|
264
|
-
name: string;
|
265
|
-
countryCode: string;
|
266
|
-
nodeUuid: string;
|
267
|
-
}[];
|
268
186
|
}>>;
|
269
187
|
}, "strip", z.ZodTypeAny, {
|
270
188
|
uuid: string;
|
@@ -277,6 +195,15 @@ export declare namespace ReorderNodeCommand {
|
|
277
195
|
viewPosition: number;
|
278
196
|
address: string;
|
279
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;
|
280
207
|
isConnected: boolean;
|
281
208
|
isConnecting: boolean;
|
282
209
|
isNodeOnline: boolean;
|
@@ -305,24 +232,6 @@ export declare namespace ReorderNodeCommand {
|
|
305
232
|
port: number | null;
|
306
233
|
rawInbound?: unknown;
|
307
234
|
}[] | null;
|
308
|
-
providerUuid: string | null;
|
309
|
-
provider: {
|
310
|
-
uuid: string;
|
311
|
-
createdAt: Date;
|
312
|
-
updatedAt: Date;
|
313
|
-
name: string;
|
314
|
-
faviconLink: string | null;
|
315
|
-
loginUrl: string | null;
|
316
|
-
billingHistory: {
|
317
|
-
totalAmount: number;
|
318
|
-
totalBills: number;
|
319
|
-
};
|
320
|
-
billingNodes: {
|
321
|
-
name: string;
|
322
|
-
countryCode: string;
|
323
|
-
nodeUuid: string;
|
324
|
-
}[];
|
325
|
-
} | null;
|
326
235
|
}, {
|
327
236
|
uuid: string;
|
328
237
|
createdAt: string;
|
@@ -334,6 +243,15 @@ export declare namespace ReorderNodeCommand {
|
|
334
243
|
viewPosition: number;
|
335
244
|
address: string;
|
336
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;
|
337
255
|
isConnected: boolean;
|
338
256
|
isConnecting: boolean;
|
339
257
|
isNodeOnline: boolean;
|
@@ -362,24 +280,6 @@ export declare namespace ReorderNodeCommand {
|
|
362
280
|
port: number | null;
|
363
281
|
rawInbound?: unknown;
|
364
282
|
}[] | null;
|
365
|
-
providerUuid: string | null;
|
366
|
-
provider: {
|
367
|
-
uuid: string;
|
368
|
-
createdAt: string;
|
369
|
-
updatedAt: string;
|
370
|
-
name: string;
|
371
|
-
faviconLink: string | null;
|
372
|
-
loginUrl: string | null;
|
373
|
-
billingHistory: {
|
374
|
-
totalAmount: number;
|
375
|
-
totalBills: number;
|
376
|
-
};
|
377
|
-
billingNodes: {
|
378
|
-
name: string;
|
379
|
-
countryCode: string;
|
380
|
-
nodeUuid: string;
|
381
|
-
}[];
|
382
|
-
} | null;
|
383
283
|
}>, "many">;
|
384
284
|
}, "strip", z.ZodTypeAny, {
|
385
285
|
response: {
|
@@ -393,6 +293,15 @@ export declare namespace ReorderNodeCommand {
|
|
393
293
|
viewPosition: number;
|
394
294
|
address: string;
|
395
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;
|
396
305
|
isConnected: boolean;
|
397
306
|
isConnecting: boolean;
|
398
307
|
isNodeOnline: boolean;
|
@@ -421,24 +330,6 @@ export declare namespace ReorderNodeCommand {
|
|
421
330
|
port: number | null;
|
422
331
|
rawInbound?: unknown;
|
423
332
|
}[] | null;
|
424
|
-
providerUuid: string | null;
|
425
|
-
provider: {
|
426
|
-
uuid: string;
|
427
|
-
createdAt: Date;
|
428
|
-
updatedAt: Date;
|
429
|
-
name: string;
|
430
|
-
faviconLink: string | null;
|
431
|
-
loginUrl: string | null;
|
432
|
-
billingHistory: {
|
433
|
-
totalAmount: number;
|
434
|
-
totalBills: number;
|
435
|
-
};
|
436
|
-
billingNodes: {
|
437
|
-
name: string;
|
438
|
-
countryCode: string;
|
439
|
-
nodeUuid: string;
|
440
|
-
}[];
|
441
|
-
} | null;
|
442
333
|
}[];
|
443
334
|
}, {
|
444
335
|
response: {
|
@@ -452,6 +343,15 @@ export declare namespace ReorderNodeCommand {
|
|
452
343
|
viewPosition: number;
|
453
344
|
address: string;
|
454
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;
|
455
355
|
isConnected: boolean;
|
456
356
|
isConnecting: boolean;
|
457
357
|
isNodeOnline: boolean;
|
@@ -480,24 +380,6 @@ export declare namespace ReorderNodeCommand {
|
|
480
380
|
port: number | null;
|
481
381
|
rawInbound?: unknown;
|
482
382
|
}[] | null;
|
483
|
-
providerUuid: string | null;
|
484
|
-
provider: {
|
485
|
-
uuid: string;
|
486
|
-
createdAt: string;
|
487
|
-
updatedAt: string;
|
488
|
-
name: string;
|
489
|
-
faviconLink: string | null;
|
490
|
-
loginUrl: string | null;
|
491
|
-
billingHistory: {
|
492
|
-
totalAmount: number;
|
493
|
-
totalBills: number;
|
494
|
-
};
|
495
|
-
billingNodes: {
|
496
|
-
name: string;
|
497
|
-
countryCode: string;
|
498
|
-
nodeUuid: string;
|
499
|
-
}[];
|
500
|
-
} | null;
|
501
383
|
}[];
|
502
384
|
}>;
|
503
385
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -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
|
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"}
|
@@ -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;
|
26
27
|
trafficResetDay?: number | undefined;
|
27
28
|
notifyPercent?: number | undefined;
|
28
29
|
consumptionMultiplier?: number | undefined;
|
29
30
|
activeConfigProfileUuid?: string | undefined;
|
30
31
|
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;
|
38
39
|
isTrafficTrackingActive?: boolean | undefined;
|
39
40
|
trafficResetDay?: number | undefined;
|
40
41
|
notifyPercent?: number | undefined;
|
41
42
|
consumptionMultiplier?: number | undefined;
|
42
43
|
activeConfigProfileUuid?: string | undefined;
|
43
44
|
activeInbounds?: string[] | undefined;
|
44
|
-
providerUuid?: string | null | undefined;
|
45
45
|
}>;
|
46
46
|
type Request = z.infer<typeof RequestSchema>;
|
47
47
|
const ResponseSchema: z.ZodObject<{
|
@@ -110,29 +110,6 @@ export declare namespace CreateNodeCommand {
|
|
110
110
|
loginUrl: z.ZodNullable<z.ZodString>;
|
111
111
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
112
112
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
113
|
-
billingHistory: z.ZodObject<{
|
114
|
-
totalAmount: z.ZodNumber;
|
115
|
-
totalBills: z.ZodNumber;
|
116
|
-
}, "strip", z.ZodTypeAny, {
|
117
|
-
totalAmount: number;
|
118
|
-
totalBills: number;
|
119
|
-
}, {
|
120
|
-
totalAmount: number;
|
121
|
-
totalBills: number;
|
122
|
-
}>;
|
123
|
-
billingNodes: z.ZodArray<z.ZodObject<{
|
124
|
-
nodeUuid: z.ZodString;
|
125
|
-
name: z.ZodString;
|
126
|
-
countryCode: z.ZodString;
|
127
|
-
}, "strip", z.ZodTypeAny, {
|
128
|
-
name: string;
|
129
|
-
countryCode: string;
|
130
|
-
nodeUuid: string;
|
131
|
-
}, {
|
132
|
-
name: string;
|
133
|
-
countryCode: string;
|
134
|
-
nodeUuid: string;
|
135
|
-
}>, "many">;
|
136
113
|
}, "strip", z.ZodTypeAny, {
|
137
114
|
uuid: string;
|
138
115
|
createdAt: Date;
|
@@ -140,15 +117,6 @@ export declare namespace CreateNodeCommand {
|
|
140
117
|
name: string;
|
141
118
|
faviconLink: string | null;
|
142
119
|
loginUrl: string | null;
|
143
|
-
billingHistory: {
|
144
|
-
totalAmount: number;
|
145
|
-
totalBills: number;
|
146
|
-
};
|
147
|
-
billingNodes: {
|
148
|
-
name: string;
|
149
|
-
countryCode: string;
|
150
|
-
nodeUuid: string;
|
151
|
-
}[];
|
152
120
|
}, {
|
153
121
|
uuid: string;
|
154
122
|
createdAt: string;
|
@@ -156,15 +124,6 @@ export declare namespace CreateNodeCommand {
|
|
156
124
|
name: string;
|
157
125
|
faviconLink: string | null;
|
158
126
|
loginUrl: string | null;
|
159
|
-
billingHistory: {
|
160
|
-
totalAmount: number;
|
161
|
-
totalBills: number;
|
162
|
-
};
|
163
|
-
billingNodes: {
|
164
|
-
name: string;
|
165
|
-
countryCode: string;
|
166
|
-
nodeUuid: string;
|
167
|
-
}[];
|
168
127
|
}>>;
|
169
128
|
}, "strip", z.ZodTypeAny, {
|
170
129
|
uuid: string;
|
@@ -177,6 +136,15 @@ export declare namespace CreateNodeCommand {
|
|
177
136
|
viewPosition: number;
|
178
137
|
address: string;
|
179
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;
|
180
148
|
isConnected: boolean;
|
181
149
|
isConnecting: boolean;
|
182
150
|
isNodeOnline: boolean;
|
@@ -205,24 +173,6 @@ export declare namespace CreateNodeCommand {
|
|
205
173
|
port: number | null;
|
206
174
|
rawInbound?: unknown;
|
207
175
|
}[] | null;
|
208
|
-
providerUuid: string | null;
|
209
|
-
provider: {
|
210
|
-
uuid: string;
|
211
|
-
createdAt: Date;
|
212
|
-
updatedAt: Date;
|
213
|
-
name: string;
|
214
|
-
faviconLink: string | null;
|
215
|
-
loginUrl: string | null;
|
216
|
-
billingHistory: {
|
217
|
-
totalAmount: number;
|
218
|
-
totalBills: number;
|
219
|
-
};
|
220
|
-
billingNodes: {
|
221
|
-
name: string;
|
222
|
-
countryCode: string;
|
223
|
-
nodeUuid: string;
|
224
|
-
}[];
|
225
|
-
} | null;
|
226
176
|
}, {
|
227
177
|
uuid: string;
|
228
178
|
createdAt: string;
|
@@ -234,6 +184,15 @@ export declare namespace CreateNodeCommand {
|
|
234
184
|
viewPosition: number;
|
235
185
|
address: string;
|
236
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;
|
237
196
|
isConnected: boolean;
|
238
197
|
isConnecting: boolean;
|
239
198
|
isNodeOnline: boolean;
|
@@ -262,24 +221,6 @@ export declare namespace CreateNodeCommand {
|
|
262
221
|
port: number | null;
|
263
222
|
rawInbound?: unknown;
|
264
223
|
}[] | null;
|
265
|
-
providerUuid: string | null;
|
266
|
-
provider: {
|
267
|
-
uuid: string;
|
268
|
-
createdAt: string;
|
269
|
-
updatedAt: string;
|
270
|
-
name: string;
|
271
|
-
faviconLink: string | null;
|
272
|
-
loginUrl: string | null;
|
273
|
-
billingHistory: {
|
274
|
-
totalAmount: number;
|
275
|
-
totalBills: number;
|
276
|
-
};
|
277
|
-
billingNodes: {
|
278
|
-
name: string;
|
279
|
-
countryCode: string;
|
280
|
-
nodeUuid: string;
|
281
|
-
}[];
|
282
|
-
} | null;
|
283
224
|
}>;
|
284
225
|
}, "strip", z.ZodTypeAny, {
|
285
226
|
response: {
|
@@ -293,6 +234,15 @@ export declare namespace CreateNodeCommand {
|
|
293
234
|
viewPosition: number;
|
294
235
|
address: string;
|
295
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;
|
296
246
|
isConnected: boolean;
|
297
247
|
isConnecting: boolean;
|
298
248
|
isNodeOnline: boolean;
|
@@ -321,24 +271,6 @@ export declare namespace CreateNodeCommand {
|
|
321
271
|
port: number | null;
|
322
272
|
rawInbound?: unknown;
|
323
273
|
}[] | 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
|
-
billingHistory: {
|
333
|
-
totalAmount: number;
|
334
|
-
totalBills: number;
|
335
|
-
};
|
336
|
-
billingNodes: {
|
337
|
-
name: string;
|
338
|
-
countryCode: string;
|
339
|
-
nodeUuid: string;
|
340
|
-
}[];
|
341
|
-
} | null;
|
342
274
|
};
|
343
275
|
}, {
|
344
276
|
response: {
|
@@ -352,6 +284,15 @@ export declare namespace CreateNodeCommand {
|
|
352
284
|
viewPosition: number;
|
353
285
|
address: string;
|
354
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;
|
355
296
|
isConnected: boolean;
|
356
297
|
isConnecting: boolean;
|
357
298
|
isNodeOnline: boolean;
|
@@ -380,24 +321,6 @@ export declare namespace CreateNodeCommand {
|
|
380
321
|
port: number | null;
|
381
322
|
rawInbound?: unknown;
|
382
323
|
}[] | null;
|
383
|
-
providerUuid: string | null;
|
384
|
-
provider: {
|
385
|
-
uuid: string;
|
386
|
-
createdAt: string;
|
387
|
-
updatedAt: string;
|
388
|
-
name: string;
|
389
|
-
faviconLink: string | null;
|
390
|
-
loginUrl: string | null;
|
391
|
-
billingHistory: {
|
392
|
-
totalAmount: number;
|
393
|
-
totalBills: number;
|
394
|
-
};
|
395
|
-
billingNodes: {
|
396
|
-
name: string;
|
397
|
-
countryCode: string;
|
398
|
-
nodeUuid: string;
|
399
|
-
}[];
|
400
|
-
} | null;
|
401
324
|
};
|
402
325
|
}>;
|
403
326
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -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
|
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"}
|