@remnawave/backend-contract 2.0.0-alpha.1 → 2.0.0-alpha.10
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/api/controllers/index.d.ts +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -0
- package/build/backend/api/controllers/infra-billing.d.ts +16 -0
- package/build/backend/api/controllers/infra-billing.d.ts.map +1 -0
- package/build/backend/api/controllers/infra-billing.js +22 -0
- package/build/backend/api/controllers/users.d.ts +1 -0
- package/build/backend/api/controllers/users.d.ts.map +1 -1
- package/build/backend/api/controllers/users.js +1 -0
- package/build/backend/api/routes.d.ts +15 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +15 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/get-all-inbounds.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +9 -0
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +7 -0
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +6 -6
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +4 -2
- package/build/backend/commands/index.d.ts +1 -0
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +123 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts +33 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +117 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +156 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/backend/commands/infra-billing/index.d.ts +6 -0
- package/build/backend/commands/infra-billing/index.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/index.js +21 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +126 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts.map +1 -0
- package/build/backend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +7 -0
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts +7 -0
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid..d.ts.map +1 -1
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +9 -0
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts.map +1 -1
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +7 -0
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +143 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +143 -0
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +210 -0
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +146 -0
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +1 -0
- package/build/backend/commands/nodes/get-all.command.d.ts +143 -0
- package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +143 -0
- package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/stats/get-node-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/stats/get-nodes-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/nodes/update.command.d.ts +213 -0
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +1 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts +114 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.d.ts.map +1 -0
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +31 -0
- package/build/backend/commands/users/get-user-usage-by-range.command.d.ts +4 -4
- package/build/backend/commands/users/index.d.ts +1 -0
- package/build/backend/commands/users/index.d.ts.map +1 -1
- package/build/backend/commands/users/index.js +1 -0
- package/build/backend/constants/errors/errors.d.ts +35 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +35 -0
- package/build/backend/models/config-profile-inbounds.schema.d.ts +3 -0
- package/build/backend/models/config-profile-inbounds.schema.d.ts.map +1 -1
- package/build/backend/models/config-profile-inbounds.schema.js +1 -0
- package/build/backend/models/config-profile.schema.d.ts +5 -0
- package/build/backend/models/config-profile.schema.d.ts.map +1 -1
- 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-provider.schema.d.ts +65 -0
- package/build/backend/models/infra-provider.schema.d.ts.map +1 -0
- package/build/backend/models/infra-provider.schema.js +27 -0
- package/build/backend/models/internal-squad.schema.d.ts +5 -0
- package/build/backend/models/internal-squad.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.d.ts +105 -0
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +3 -0
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/infra-billing.js +22 -0
- package/build/frontend/api/controllers/users.js +1 -0
- package/build/frontend/api/routes.js +15 -0
- package/build/frontend/commands/config-profiles/create-config-profile.command.js +2 -2
- package/build/frontend/commands/hosts/create.command.js +4 -2
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/infra-billing/create-infra-provider.command.js +24 -0
- package/build/frontend/commands/infra-billing/delete-infra-provider-by-uuid.command.js +20 -0
- package/build/frontend/commands/infra-billing/get-infra-provider-by-uuid.command.js +19 -0
- package/build/frontend/commands/infra-billing/get-infra-providers.command.js +19 -0
- package/build/frontend/commands/infra-billing/index.js +21 -0
- package/build/frontend/commands/infra-billing/update-infra-provider.command.js +26 -0
- package/build/frontend/commands/internal-squads/create-internal-squad.command.js +2 -2
- package/build/frontend/commands/nodes/create.command.js +1 -0
- package/build/frontend/commands/nodes/update.command.js +1 -0
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +31 -0
- package/build/frontend/commands/users/index.js +1 -0
- package/build/frontend/constants/errors/errors.js +35 -0
- package/build/frontend/models/config-profile-inbounds.schema.js +1 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/infra-provider.schema.js +27 -0
- package/build/frontend/models/nodes.schema.js +3 -0
- package/package.json +1 -1
@@ -15,6 +15,7 @@ export declare namespace CreateNodeCommand {
|
|
15
15
|
consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
16
16
|
activeConfigProfileUuid: z.ZodOptional<z.ZodString>;
|
17
17
|
activeInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
18
|
+
providerUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
18
19
|
}, "strip", z.ZodTypeAny, {
|
19
20
|
name: string;
|
20
21
|
countryCode: string;
|
@@ -27,6 +28,7 @@ export declare namespace CreateNodeCommand {
|
|
27
28
|
consumptionMultiplier?: number | undefined;
|
28
29
|
activeConfigProfileUuid?: string | undefined;
|
29
30
|
activeInbounds?: string[] | undefined;
|
31
|
+
providerUuid?: string | null | undefined;
|
30
32
|
}, {
|
31
33
|
name: string;
|
32
34
|
address: string;
|
@@ -39,6 +41,7 @@ export declare namespace CreateNodeCommand {
|
|
39
41
|
consumptionMultiplier?: number | undefined;
|
40
42
|
activeConfigProfileUuid?: string | undefined;
|
41
43
|
activeInbounds?: string[] | undefined;
|
44
|
+
providerUuid?: string | null | undefined;
|
42
45
|
}>;
|
43
46
|
type Request = z.infer<typeof RequestSchema>;
|
44
47
|
const ResponseSchema: z.ZodObject<{
|
@@ -79,6 +82,7 @@ export declare namespace CreateNodeCommand {
|
|
79
82
|
network: z.ZodNullable<z.ZodString>;
|
80
83
|
security: z.ZodNullable<z.ZodString>;
|
81
84
|
port: z.ZodNullable<z.ZodNumber>;
|
85
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
82
86
|
}, "strip", z.ZodTypeAny, {
|
83
87
|
type: string;
|
84
88
|
uuid: string;
|
@@ -87,6 +91,7 @@ export declare namespace CreateNodeCommand {
|
|
87
91
|
network: string | null;
|
88
92
|
security: string | null;
|
89
93
|
port: number | null;
|
94
|
+
rawInbound?: unknown;
|
90
95
|
}, {
|
91
96
|
type: string;
|
92
97
|
uuid: string;
|
@@ -95,7 +100,72 @@ export declare namespace CreateNodeCommand {
|
|
95
100
|
network: string | null;
|
96
101
|
security: string | null;
|
97
102
|
port: number | null;
|
103
|
+
rawInbound?: unknown;
|
98
104
|
}>, "many">>;
|
105
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
106
|
+
provider: z.ZodNullable<z.ZodObject<{
|
107
|
+
uuid: z.ZodString;
|
108
|
+
name: z.ZodString;
|
109
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
110
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
111
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
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
|
+
}, "strip", z.ZodTypeAny, {
|
137
|
+
uuid: string;
|
138
|
+
createdAt: Date;
|
139
|
+
updatedAt: Date;
|
140
|
+
name: string;
|
141
|
+
faviconLink: string | null;
|
142
|
+
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
|
+
}, {
|
153
|
+
uuid: string;
|
154
|
+
createdAt: string;
|
155
|
+
updatedAt: string;
|
156
|
+
name: string;
|
157
|
+
faviconLink: string | null;
|
158
|
+
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
|
+
}>>;
|
99
169
|
}, "strip", z.ZodTypeAny, {
|
100
170
|
uuid: string;
|
101
171
|
createdAt: Date;
|
@@ -133,7 +203,26 @@ export declare namespace CreateNodeCommand {
|
|
133
203
|
network: string | null;
|
134
204
|
security: string | null;
|
135
205
|
port: number | null;
|
206
|
+
rawInbound?: unknown;
|
136
207
|
}[] | 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;
|
137
226
|
}, {
|
138
227
|
uuid: string;
|
139
228
|
createdAt: string;
|
@@ -171,7 +260,26 @@ export declare namespace CreateNodeCommand {
|
|
171
260
|
network: string | null;
|
172
261
|
security: string | null;
|
173
262
|
port: number | null;
|
263
|
+
rawInbound?: unknown;
|
174
264
|
}[] | 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;
|
175
283
|
}>;
|
176
284
|
}, "strip", z.ZodTypeAny, {
|
177
285
|
response: {
|
@@ -211,7 +319,26 @@ export declare namespace CreateNodeCommand {
|
|
211
319
|
network: string | null;
|
212
320
|
security: string | null;
|
213
321
|
port: number | null;
|
322
|
+
rawInbound?: unknown;
|
214
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
|
+
billingHistory: {
|
333
|
+
totalAmount: number;
|
334
|
+
totalBills: number;
|
335
|
+
};
|
336
|
+
billingNodes: {
|
337
|
+
name: string;
|
338
|
+
countryCode: string;
|
339
|
+
nodeUuid: string;
|
340
|
+
}[];
|
341
|
+
} | null;
|
215
342
|
};
|
216
343
|
}, {
|
217
344
|
response: {
|
@@ -251,7 +378,26 @@ export declare namespace CreateNodeCommand {
|
|
251
378
|
network: string | null;
|
252
379
|
security: string | null;
|
253
380
|
port: number | null;
|
381
|
+
rawInbound?: unknown;
|
254
382
|
}[] | 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;
|
255
401
|
};
|
256
402
|
}>;
|
257
403
|
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
|
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"}
|
@@ -39,6 +39,7 @@ var CreateNodeCommand;
|
|
39
39
|
activeInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
|
40
40
|
invalid_type_error: 'Active inbounds must be an array of UUIDs',
|
41
41
|
})),
|
42
|
+
providerUuid: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string().uuid())),
|
42
43
|
});
|
43
44
|
CreateNodeCommand.ResponseSchema = zod_1.z.object({
|
44
45
|
response: models_1.NodesSchema,
|
@@ -41,6 +41,7 @@ export declare namespace GetAllNodesCommand {
|
|
41
41
|
network: z.ZodNullable<z.ZodString>;
|
42
42
|
security: z.ZodNullable<z.ZodString>;
|
43
43
|
port: z.ZodNullable<z.ZodNumber>;
|
44
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
44
45
|
}, "strip", z.ZodTypeAny, {
|
45
46
|
type: string;
|
46
47
|
uuid: string;
|
@@ -49,6 +50,7 @@ export declare namespace GetAllNodesCommand {
|
|
49
50
|
network: string | null;
|
50
51
|
security: string | null;
|
51
52
|
port: number | null;
|
53
|
+
rawInbound?: unknown;
|
52
54
|
}, {
|
53
55
|
type: string;
|
54
56
|
uuid: string;
|
@@ -57,7 +59,72 @@ export declare namespace GetAllNodesCommand {
|
|
57
59
|
network: string | null;
|
58
60
|
security: string | null;
|
59
61
|
port: number | null;
|
62
|
+
rawInbound?: unknown;
|
60
63
|
}>, "many">>;
|
64
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
65
|
+
provider: z.ZodNullable<z.ZodObject<{
|
66
|
+
uuid: z.ZodString;
|
67
|
+
name: z.ZodString;
|
68
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
69
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
70
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
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
|
+
}, "strip", z.ZodTypeAny, {
|
96
|
+
uuid: string;
|
97
|
+
createdAt: Date;
|
98
|
+
updatedAt: Date;
|
99
|
+
name: string;
|
100
|
+
faviconLink: string | null;
|
101
|
+
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
|
+
}, {
|
112
|
+
uuid: string;
|
113
|
+
createdAt: string;
|
114
|
+
updatedAt: string;
|
115
|
+
name: string;
|
116
|
+
faviconLink: string | null;
|
117
|
+
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
|
+
}>>;
|
61
128
|
}, "strip", z.ZodTypeAny, {
|
62
129
|
uuid: string;
|
63
130
|
createdAt: Date;
|
@@ -95,7 +162,26 @@ export declare namespace GetAllNodesCommand {
|
|
95
162
|
network: string | null;
|
96
163
|
security: string | null;
|
97
164
|
port: number | null;
|
165
|
+
rawInbound?: unknown;
|
98
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
|
+
billingHistory: {
|
176
|
+
totalAmount: number;
|
177
|
+
totalBills: number;
|
178
|
+
};
|
179
|
+
billingNodes: {
|
180
|
+
name: string;
|
181
|
+
countryCode: string;
|
182
|
+
nodeUuid: string;
|
183
|
+
}[];
|
184
|
+
} | null;
|
99
185
|
}, {
|
100
186
|
uuid: string;
|
101
187
|
createdAt: string;
|
@@ -133,7 +219,26 @@ export declare namespace GetAllNodesCommand {
|
|
133
219
|
network: string | null;
|
134
220
|
security: string | null;
|
135
221
|
port: number | null;
|
222
|
+
rawInbound?: unknown;
|
136
223
|
}[] | null;
|
224
|
+
providerUuid: string | null;
|
225
|
+
provider: {
|
226
|
+
uuid: string;
|
227
|
+
createdAt: string;
|
228
|
+
updatedAt: string;
|
229
|
+
name: string;
|
230
|
+
faviconLink: string | null;
|
231
|
+
loginUrl: string | null;
|
232
|
+
billingHistory: {
|
233
|
+
totalAmount: number;
|
234
|
+
totalBills: number;
|
235
|
+
};
|
236
|
+
billingNodes: {
|
237
|
+
name: string;
|
238
|
+
countryCode: string;
|
239
|
+
nodeUuid: string;
|
240
|
+
}[];
|
241
|
+
} | null;
|
137
242
|
}>, "many">;
|
138
243
|
}, "strip", z.ZodTypeAny, {
|
139
244
|
response: {
|
@@ -173,7 +278,26 @@ export declare namespace GetAllNodesCommand {
|
|
173
278
|
network: string | null;
|
174
279
|
security: string | null;
|
175
280
|
port: number | null;
|
281
|
+
rawInbound?: unknown;
|
176
282
|
}[] | null;
|
283
|
+
providerUuid: string | null;
|
284
|
+
provider: {
|
285
|
+
uuid: string;
|
286
|
+
createdAt: Date;
|
287
|
+
updatedAt: Date;
|
288
|
+
name: string;
|
289
|
+
faviconLink: string | null;
|
290
|
+
loginUrl: string | null;
|
291
|
+
billingHistory: {
|
292
|
+
totalAmount: number;
|
293
|
+
totalBills: number;
|
294
|
+
};
|
295
|
+
billingNodes: {
|
296
|
+
name: string;
|
297
|
+
countryCode: string;
|
298
|
+
nodeUuid: string;
|
299
|
+
}[];
|
300
|
+
} | null;
|
177
301
|
}[];
|
178
302
|
}, {
|
179
303
|
response: {
|
@@ -213,7 +337,26 @@ export declare namespace GetAllNodesCommand {
|
|
213
337
|
network: string | null;
|
214
338
|
security: string | null;
|
215
339
|
port: number | null;
|
340
|
+
rawInbound?: unknown;
|
216
341
|
}[] | null;
|
342
|
+
providerUuid: string | null;
|
343
|
+
provider: {
|
344
|
+
uuid: string;
|
345
|
+
createdAt: string;
|
346
|
+
updatedAt: string;
|
347
|
+
name: string;
|
348
|
+
faviconLink: string | null;
|
349
|
+
loginUrl: string | null;
|
350
|
+
billingHistory: {
|
351
|
+
totalAmount: number;
|
352
|
+
totalBills: number;
|
353
|
+
};
|
354
|
+
billingNodes: {
|
355
|
+
name: string;
|
356
|
+
countryCode: string;
|
357
|
+
nodeUuid: string;
|
358
|
+
}[];
|
359
|
+
} | null;
|
217
360
|
}[];
|
218
361
|
}>;
|
219
362
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -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
|
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"}
|
@@ -49,6 +49,7 @@ export declare namespace GetOneNodeCommand {
|
|
49
49
|
network: z.ZodNullable<z.ZodString>;
|
50
50
|
security: z.ZodNullable<z.ZodString>;
|
51
51
|
port: z.ZodNullable<z.ZodNumber>;
|
52
|
+
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
52
53
|
}, "strip", z.ZodTypeAny, {
|
53
54
|
type: string;
|
54
55
|
uuid: string;
|
@@ -57,6 +58,7 @@ export declare namespace GetOneNodeCommand {
|
|
57
58
|
network: string | null;
|
58
59
|
security: string | null;
|
59
60
|
port: number | null;
|
61
|
+
rawInbound?: unknown;
|
60
62
|
}, {
|
61
63
|
type: string;
|
62
64
|
uuid: string;
|
@@ -65,7 +67,72 @@ export declare namespace GetOneNodeCommand {
|
|
65
67
|
network: string | null;
|
66
68
|
security: string | null;
|
67
69
|
port: number | null;
|
70
|
+
rawInbound?: unknown;
|
68
71
|
}>, "many">>;
|
72
|
+
providerUuid: z.ZodNullable<z.ZodString>;
|
73
|
+
provider: z.ZodNullable<z.ZodObject<{
|
74
|
+
uuid: z.ZodString;
|
75
|
+
name: z.ZodString;
|
76
|
+
faviconLink: z.ZodNullable<z.ZodString>;
|
77
|
+
loginUrl: z.ZodNullable<z.ZodString>;
|
78
|
+
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
79
|
+
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
80
|
+
billingHistory: z.ZodObject<{
|
81
|
+
totalAmount: z.ZodNumber;
|
82
|
+
totalBills: z.ZodNumber;
|
83
|
+
}, "strip", z.ZodTypeAny, {
|
84
|
+
totalAmount: number;
|
85
|
+
totalBills: number;
|
86
|
+
}, {
|
87
|
+
totalAmount: number;
|
88
|
+
totalBills: number;
|
89
|
+
}>;
|
90
|
+
billingNodes: z.ZodArray<z.ZodObject<{
|
91
|
+
nodeUuid: z.ZodString;
|
92
|
+
name: z.ZodString;
|
93
|
+
countryCode: z.ZodString;
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
95
|
+
name: string;
|
96
|
+
countryCode: string;
|
97
|
+
nodeUuid: string;
|
98
|
+
}, {
|
99
|
+
name: string;
|
100
|
+
countryCode: string;
|
101
|
+
nodeUuid: string;
|
102
|
+
}>, "many">;
|
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
|
+
billingHistory: {
|
111
|
+
totalAmount: number;
|
112
|
+
totalBills: number;
|
113
|
+
};
|
114
|
+
billingNodes: {
|
115
|
+
name: string;
|
116
|
+
countryCode: string;
|
117
|
+
nodeUuid: string;
|
118
|
+
}[];
|
119
|
+
}, {
|
120
|
+
uuid: string;
|
121
|
+
createdAt: string;
|
122
|
+
updatedAt: string;
|
123
|
+
name: string;
|
124
|
+
faviconLink: string | null;
|
125
|
+
loginUrl: string | null;
|
126
|
+
billingHistory: {
|
127
|
+
totalAmount: number;
|
128
|
+
totalBills: number;
|
129
|
+
};
|
130
|
+
billingNodes: {
|
131
|
+
name: string;
|
132
|
+
countryCode: string;
|
133
|
+
nodeUuid: string;
|
134
|
+
}[];
|
135
|
+
}>>;
|
69
136
|
}, "strip", z.ZodTypeAny, {
|
70
137
|
uuid: string;
|
71
138
|
createdAt: Date;
|
@@ -103,7 +170,26 @@ export declare namespace GetOneNodeCommand {
|
|
103
170
|
network: string | null;
|
104
171
|
security: string | null;
|
105
172
|
port: number | null;
|
173
|
+
rawInbound?: unknown;
|
106
174
|
}[] | null;
|
175
|
+
providerUuid: string | null;
|
176
|
+
provider: {
|
177
|
+
uuid: string;
|
178
|
+
createdAt: Date;
|
179
|
+
updatedAt: Date;
|
180
|
+
name: string;
|
181
|
+
faviconLink: string | null;
|
182
|
+
loginUrl: string | null;
|
183
|
+
billingHistory: {
|
184
|
+
totalAmount: number;
|
185
|
+
totalBills: number;
|
186
|
+
};
|
187
|
+
billingNodes: {
|
188
|
+
name: string;
|
189
|
+
countryCode: string;
|
190
|
+
nodeUuid: string;
|
191
|
+
}[];
|
192
|
+
} | null;
|
107
193
|
}, {
|
108
194
|
uuid: string;
|
109
195
|
createdAt: string;
|
@@ -141,7 +227,26 @@ export declare namespace GetOneNodeCommand {
|
|
141
227
|
network: string | null;
|
142
228
|
security: string | null;
|
143
229
|
port: number | null;
|
230
|
+
rawInbound?: unknown;
|
144
231
|
}[] | null;
|
232
|
+
providerUuid: string | null;
|
233
|
+
provider: {
|
234
|
+
uuid: string;
|
235
|
+
createdAt: string;
|
236
|
+
updatedAt: string;
|
237
|
+
name: string;
|
238
|
+
faviconLink: string | null;
|
239
|
+
loginUrl: string | null;
|
240
|
+
billingHistory: {
|
241
|
+
totalAmount: number;
|
242
|
+
totalBills: number;
|
243
|
+
};
|
244
|
+
billingNodes: {
|
245
|
+
name: string;
|
246
|
+
countryCode: string;
|
247
|
+
nodeUuid: string;
|
248
|
+
}[];
|
249
|
+
} | null;
|
145
250
|
}>;
|
146
251
|
}, "strip", z.ZodTypeAny, {
|
147
252
|
response: {
|
@@ -181,7 +286,26 @@ export declare namespace GetOneNodeCommand {
|
|
181
286
|
network: string | null;
|
182
287
|
security: string | null;
|
183
288
|
port: number | null;
|
289
|
+
rawInbound?: unknown;
|
184
290
|
}[] | null;
|
291
|
+
providerUuid: string | null;
|
292
|
+
provider: {
|
293
|
+
uuid: string;
|
294
|
+
createdAt: Date;
|
295
|
+
updatedAt: Date;
|
296
|
+
name: string;
|
297
|
+
faviconLink: string | null;
|
298
|
+
loginUrl: string | null;
|
299
|
+
billingHistory: {
|
300
|
+
totalAmount: number;
|
301
|
+
totalBills: number;
|
302
|
+
};
|
303
|
+
billingNodes: {
|
304
|
+
name: string;
|
305
|
+
countryCode: string;
|
306
|
+
nodeUuid: string;
|
307
|
+
}[];
|
308
|
+
} | null;
|
185
309
|
};
|
186
310
|
}, {
|
187
311
|
response: {
|
@@ -221,7 +345,26 @@ export declare namespace GetOneNodeCommand {
|
|
221
345
|
network: string | null;
|
222
346
|
security: string | null;
|
223
347
|
port: number | null;
|
348
|
+
rawInbound?: unknown;
|
224
349
|
}[] | null;
|
350
|
+
providerUuid: string | null;
|
351
|
+
provider: {
|
352
|
+
uuid: string;
|
353
|
+
createdAt: string;
|
354
|
+
updatedAt: string;
|
355
|
+
name: string;
|
356
|
+
faviconLink: string | null;
|
357
|
+
loginUrl: string | null;
|
358
|
+
billingHistory: {
|
359
|
+
totalAmount: number;
|
360
|
+
totalBills: number;
|
361
|
+
};
|
362
|
+
billingNodes: {
|
363
|
+
name: string;
|
364
|
+
countryCode: string;
|
365
|
+
nodeUuid: string;
|
366
|
+
}[];
|
367
|
+
} | null;
|
225
368
|
};
|
226
369
|
}>;
|
227
370
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -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
|
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"}
|
@@ -33,30 +33,30 @@ export declare namespace GetNodeUserUsageByRangeCommand {
|
|
33
33
|
date: Date;
|
34
34
|
username: string;
|
35
35
|
userUuid: string;
|
36
|
-
total: number;
|
37
36
|
nodeUuid: string;
|
37
|
+
total: number;
|
38
38
|
}, {
|
39
39
|
date: string;
|
40
40
|
username: string;
|
41
41
|
userUuid: string;
|
42
|
-
total: number;
|
43
42
|
nodeUuid: string;
|
43
|
+
total: number;
|
44
44
|
}>, "many">;
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
46
46
|
response: {
|
47
47
|
date: Date;
|
48
48
|
username: string;
|
49
49
|
userUuid: string;
|
50
|
-
total: number;
|
51
50
|
nodeUuid: string;
|
51
|
+
total: number;
|
52
52
|
}[];
|
53
53
|
}, {
|
54
54
|
response: {
|
55
55
|
date: string;
|
56
56
|
username: string;
|
57
57
|
userUuid: string;
|
58
|
-
total: number;
|
59
58
|
nodeUuid: string;
|
59
|
+
total: number;
|
60
60
|
}[];
|
61
61
|
}>;
|
62
62
|
type Response = z.infer<typeof ResponseSchema>;
|