@remnawave/backend-contract 2.0.0-alpha.14 → 2.0.0-alpha.16
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-billing-node.command.d.ts +18 -2
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +38 -17
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +4 -3
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts +18 -2
- package/build/backend/commands/infra-billing/get-blling-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +18 -2
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.d.ts +5 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +5 -0
- package/build/backend/models/infra-billing-node.schema.d.ts +10 -2
- package/build/backend/models/infra-billing-node.schema.d.ts.map +1 -1
- package/build/backend/models/infra-billing-node.schema.js +3 -3
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +4 -3
- package/build/frontend/constants/errors/errors.js +5 -0
- package/build/frontend/models/infra-billing-node.schema.js +3 -3
- package/package.json +1 -1
@@ -24,19 +24,23 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
24
24
|
uuid: z.ZodString;
|
25
25
|
nodeUuid: z.ZodString;
|
26
26
|
providerUuid: z.ZodString;
|
27
|
-
provider: z.ZodObject<
|
27
|
+
provider: z.ZodObject<Pick<{
|
28
28
|
uuid: z.ZodString;
|
29
29
|
name: z.ZodString;
|
30
30
|
faviconLink: z.ZodNullable<z.ZodString>;
|
31
31
|
loginUrl: z.ZodNullable<z.ZodString>;
|
32
32
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
33
33
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
34
|
-
}, "
|
34
|
+
}, "uuid" | "name" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
|
35
35
|
uuid: string;
|
36
36
|
name: string;
|
37
|
+
faviconLink: string | null;
|
38
|
+
loginUrl: string | null;
|
37
39
|
}, {
|
38
40
|
uuid: string;
|
39
41
|
name: string;
|
42
|
+
faviconLink: string | null;
|
43
|
+
loginUrl: string | null;
|
40
44
|
}>;
|
41
45
|
node: z.ZodObject<Pick<{
|
42
46
|
uuid: z.ZodString;
|
@@ -139,6 +143,8 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
139
143
|
provider: {
|
140
144
|
uuid: string;
|
141
145
|
name: string;
|
146
|
+
faviconLink: string | null;
|
147
|
+
loginUrl: string | null;
|
142
148
|
};
|
143
149
|
node: {
|
144
150
|
uuid: string;
|
@@ -155,6 +161,8 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
155
161
|
provider: {
|
156
162
|
uuid: string;
|
157
163
|
name: string;
|
164
|
+
faviconLink: string | null;
|
165
|
+
loginUrl: string | null;
|
158
166
|
};
|
159
167
|
node: {
|
160
168
|
uuid: string;
|
@@ -263,6 +271,8 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
263
271
|
provider: {
|
264
272
|
uuid: string;
|
265
273
|
name: string;
|
274
|
+
faviconLink: string | null;
|
275
|
+
loginUrl: string | null;
|
266
276
|
};
|
267
277
|
node: {
|
268
278
|
uuid: string;
|
@@ -288,6 +298,8 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
288
298
|
provider: {
|
289
299
|
uuid: string;
|
290
300
|
name: string;
|
301
|
+
faviconLink: string | null;
|
302
|
+
loginUrl: string | null;
|
291
303
|
};
|
292
304
|
node: {
|
293
305
|
uuid: string;
|
@@ -315,6 +327,8 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
315
327
|
provider: {
|
316
328
|
uuid: string;
|
317
329
|
name: string;
|
330
|
+
faviconLink: string | null;
|
331
|
+
loginUrl: string | null;
|
318
332
|
};
|
319
333
|
node: {
|
320
334
|
uuid: string;
|
@@ -342,6 +356,8 @@ export declare namespace CreateInfraBillingNodeCommand {
|
|
342
356
|
provider: {
|
343
357
|
uuid: string;
|
344
358
|
name: string;
|
359
|
+
faviconLink: string | null;
|
360
|
+
loginUrl: string | null;
|
345
361
|
};
|
346
362
|
node: {
|
347
363
|
uuid: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAWxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
1
|
+
{"version":3,"file":"create-billing-node.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/create-billing-node.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,4BAA6C,CAAC;IACvD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAWxB,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"}
|
@@ -13,23 +13,28 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
13
13
|
type Request = z.infer<typeof RequestSchema>;
|
14
14
|
const ResponseSchema: z.ZodObject<{
|
15
15
|
response: z.ZodObject<{
|
16
|
-
|
16
|
+
totalBillingNodes: z.ZodNumber;
|
17
|
+
billingNodes: z.ZodArray<z.ZodObject<{
|
17
18
|
uuid: z.ZodString;
|
18
19
|
nodeUuid: z.ZodString;
|
19
20
|
providerUuid: z.ZodString;
|
20
|
-
provider: z.ZodObject<
|
21
|
+
provider: z.ZodObject<Pick<{
|
21
22
|
uuid: z.ZodString;
|
22
23
|
name: z.ZodString;
|
23
24
|
faviconLink: z.ZodNullable<z.ZodString>;
|
24
25
|
loginUrl: z.ZodNullable<z.ZodString>;
|
25
26
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
26
27
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
27
|
-
}, "
|
28
|
+
}, "uuid" | "name" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
|
28
29
|
uuid: string;
|
29
30
|
name: string;
|
31
|
+
faviconLink: string | null;
|
32
|
+
loginUrl: string | null;
|
30
33
|
}, {
|
31
34
|
uuid: string;
|
32
35
|
name: string;
|
36
|
+
faviconLink: string | null;
|
37
|
+
loginUrl: string | null;
|
33
38
|
}>;
|
34
39
|
node: z.ZodObject<Pick<{
|
35
40
|
uuid: z.ZodString;
|
@@ -132,6 +137,8 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
132
137
|
provider: {
|
133
138
|
uuid: string;
|
134
139
|
name: string;
|
140
|
+
faviconLink: string | null;
|
141
|
+
loginUrl: string | null;
|
135
142
|
};
|
136
143
|
node: {
|
137
144
|
uuid: string;
|
@@ -148,6 +155,8 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
148
155
|
provider: {
|
149
156
|
uuid: string;
|
150
157
|
name: string;
|
158
|
+
faviconLink: string | null;
|
159
|
+
loginUrl: string | null;
|
151
160
|
};
|
152
161
|
node: {
|
153
162
|
uuid: string;
|
@@ -156,7 +165,7 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
156
165
|
};
|
157
166
|
nextBillingAt: string;
|
158
167
|
}>, "many">;
|
159
|
-
|
168
|
+
availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
|
160
169
|
uuid: z.ZodString;
|
161
170
|
name: z.ZodString;
|
162
171
|
address: z.ZodString;
|
@@ -245,9 +254,9 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
245
254
|
name: string;
|
246
255
|
countryCode: string;
|
247
256
|
}>, "many">;
|
248
|
-
|
257
|
+
totalAvailableBillingNodes: z.ZodNumber;
|
249
258
|
}, "strip", z.ZodTypeAny, {
|
250
|
-
|
259
|
+
billingNodes: {
|
251
260
|
uuid: string;
|
252
261
|
createdAt: Date;
|
253
262
|
updatedAt: Date;
|
@@ -256,6 +265,8 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
256
265
|
provider: {
|
257
266
|
uuid: string;
|
258
267
|
name: string;
|
268
|
+
faviconLink: string | null;
|
269
|
+
loginUrl: string | null;
|
259
270
|
};
|
260
271
|
node: {
|
261
272
|
uuid: string;
|
@@ -264,14 +275,15 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
264
275
|
};
|
265
276
|
nextBillingAt: Date;
|
266
277
|
}[];
|
267
|
-
|
268
|
-
|
278
|
+
totalBillingNodes: number;
|
279
|
+
availableBillingNodes: {
|
269
280
|
uuid: string;
|
270
281
|
name: string;
|
271
282
|
countryCode: string;
|
272
283
|
}[];
|
284
|
+
totalAvailableBillingNodes: number;
|
273
285
|
}, {
|
274
|
-
|
286
|
+
billingNodes: {
|
275
287
|
uuid: string;
|
276
288
|
createdAt: string;
|
277
289
|
updatedAt: string;
|
@@ -280,6 +292,8 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
280
292
|
provider: {
|
281
293
|
uuid: string;
|
282
294
|
name: string;
|
295
|
+
faviconLink: string | null;
|
296
|
+
loginUrl: string | null;
|
283
297
|
};
|
284
298
|
node: {
|
285
299
|
uuid: string;
|
@@ -288,16 +302,17 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
288
302
|
};
|
289
303
|
nextBillingAt: string;
|
290
304
|
}[];
|
291
|
-
|
292
|
-
|
305
|
+
totalBillingNodes: number;
|
306
|
+
availableBillingNodes: {
|
293
307
|
uuid: string;
|
294
308
|
name: string;
|
295
309
|
countryCode: string;
|
296
310
|
}[];
|
311
|
+
totalAvailableBillingNodes: number;
|
297
312
|
}>;
|
298
313
|
}, "strip", z.ZodTypeAny, {
|
299
314
|
response: {
|
300
|
-
|
315
|
+
billingNodes: {
|
301
316
|
uuid: string;
|
302
317
|
createdAt: Date;
|
303
318
|
updatedAt: Date;
|
@@ -306,6 +321,8 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
306
321
|
provider: {
|
307
322
|
uuid: string;
|
308
323
|
name: string;
|
324
|
+
faviconLink: string | null;
|
325
|
+
loginUrl: string | null;
|
309
326
|
};
|
310
327
|
node: {
|
311
328
|
uuid: string;
|
@@ -314,16 +331,17 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
314
331
|
};
|
315
332
|
nextBillingAt: Date;
|
316
333
|
}[];
|
317
|
-
|
318
|
-
|
334
|
+
totalBillingNodes: number;
|
335
|
+
availableBillingNodes: {
|
319
336
|
uuid: string;
|
320
337
|
name: string;
|
321
338
|
countryCode: string;
|
322
339
|
}[];
|
340
|
+
totalAvailableBillingNodes: number;
|
323
341
|
};
|
324
342
|
}, {
|
325
343
|
response: {
|
326
|
-
|
344
|
+
billingNodes: {
|
327
345
|
uuid: string;
|
328
346
|
createdAt: string;
|
329
347
|
updatedAt: string;
|
@@ -332,6 +350,8 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
332
350
|
provider: {
|
333
351
|
uuid: string;
|
334
352
|
name: string;
|
353
|
+
faviconLink: string | null;
|
354
|
+
loginUrl: string | null;
|
335
355
|
};
|
336
356
|
node: {
|
337
357
|
uuid: string;
|
@@ -340,12 +360,13 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
340
360
|
};
|
341
361
|
nextBillingAt: string;
|
342
362
|
}[];
|
343
|
-
|
344
|
-
|
363
|
+
totalBillingNodes: number;
|
364
|
+
availableBillingNodes: {
|
345
365
|
uuid: string;
|
346
366
|
name: string;
|
347
367
|
countryCode: string;
|
348
368
|
}[];
|
369
|
+
totalAvailableBillingNodes: number;
|
349
370
|
};
|
350
371
|
}>;
|
351
372
|
type Response = z.infer<typeof ResponseSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,CAAC;IAEpB,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":"delete-billing-node-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/delete-billing-node-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,mCAAmC,CAAC;IAC1C,MAAM,GAAG,QAAsD,CAAC;IAChE,MAAM,OAAO,QAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
|
@@ -15,9 +15,10 @@ var DeleteInfraBillingNodeByUuidCommand;
|
|
15
15
|
});
|
16
16
|
DeleteInfraBillingNodeByUuidCommand.ResponseSchema = zod_1.z.object({
|
17
17
|
response: zod_1.z.object({
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
totalBillingNodes: zod_1.z.number(),
|
19
|
+
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
20
|
+
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
21
|
+
totalAvailableBillingNodes: zod_1.z.number(),
|
21
22
|
}),
|
22
23
|
});
|
23
24
|
})(DeleteInfraBillingNodeByUuidCommand || (exports.DeleteInfraBillingNodeByUuidCommand = DeleteInfraBillingNodeByUuidCommand = {}));
|
@@ -10,19 +10,23 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
10
10
|
uuid: z.ZodString;
|
11
11
|
nodeUuid: z.ZodString;
|
12
12
|
providerUuid: z.ZodString;
|
13
|
-
provider: z.ZodObject<
|
13
|
+
provider: z.ZodObject<Pick<{
|
14
14
|
uuid: z.ZodString;
|
15
15
|
name: z.ZodString;
|
16
16
|
faviconLink: z.ZodNullable<z.ZodString>;
|
17
17
|
loginUrl: z.ZodNullable<z.ZodString>;
|
18
18
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
19
19
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
20
|
-
}, "
|
20
|
+
}, "uuid" | "name" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
|
21
21
|
uuid: string;
|
22
22
|
name: string;
|
23
|
+
faviconLink: string | null;
|
24
|
+
loginUrl: string | null;
|
23
25
|
}, {
|
24
26
|
uuid: string;
|
25
27
|
name: string;
|
28
|
+
faviconLink: string | null;
|
29
|
+
loginUrl: string | null;
|
26
30
|
}>;
|
27
31
|
node: z.ZodObject<Pick<{
|
28
32
|
uuid: z.ZodString;
|
@@ -125,6 +129,8 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
125
129
|
provider: {
|
126
130
|
uuid: string;
|
127
131
|
name: string;
|
132
|
+
faviconLink: string | null;
|
133
|
+
loginUrl: string | null;
|
128
134
|
};
|
129
135
|
node: {
|
130
136
|
uuid: string;
|
@@ -141,6 +147,8 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
141
147
|
provider: {
|
142
148
|
uuid: string;
|
143
149
|
name: string;
|
150
|
+
faviconLink: string | null;
|
151
|
+
loginUrl: string | null;
|
144
152
|
};
|
145
153
|
node: {
|
146
154
|
uuid: string;
|
@@ -249,6 +257,8 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
249
257
|
provider: {
|
250
258
|
uuid: string;
|
251
259
|
name: string;
|
260
|
+
faviconLink: string | null;
|
261
|
+
loginUrl: string | null;
|
252
262
|
};
|
253
263
|
node: {
|
254
264
|
uuid: string;
|
@@ -274,6 +284,8 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
274
284
|
provider: {
|
275
285
|
uuid: string;
|
276
286
|
name: string;
|
287
|
+
faviconLink: string | null;
|
288
|
+
loginUrl: string | null;
|
277
289
|
};
|
278
290
|
node: {
|
279
291
|
uuid: string;
|
@@ -301,6 +313,8 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
301
313
|
provider: {
|
302
314
|
uuid: string;
|
303
315
|
name: string;
|
316
|
+
faviconLink: string | null;
|
317
|
+
loginUrl: string | null;
|
304
318
|
};
|
305
319
|
node: {
|
306
320
|
uuid: string;
|
@@ -328,6 +342,8 @@ export declare namespace GetInfraBillingNodesCommand {
|
|
328
342
|
provider: {
|
329
343
|
uuid: string;
|
330
344
|
name: string;
|
345
|
+
faviconLink: string | null;
|
346
|
+
loginUrl: string | null;
|
331
347
|
};
|
332
348
|
node: {
|
333
349
|
uuid: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-blling-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-blling-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
1
|
+
{"version":3,"file":"get-blling-nodes.command.d.ts","sourceRoot":"","sources":["../../../../commands/infra-billing/get-blling-nodes.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAA2C,CAAC;IACrD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -21,19 +21,23 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
21
21
|
uuid: z.ZodString;
|
22
22
|
nodeUuid: z.ZodString;
|
23
23
|
providerUuid: z.ZodString;
|
24
|
-
provider: z.ZodObject<
|
24
|
+
provider: z.ZodObject<Pick<{
|
25
25
|
uuid: z.ZodString;
|
26
26
|
name: z.ZodString;
|
27
27
|
faviconLink: z.ZodNullable<z.ZodString>;
|
28
28
|
loginUrl: z.ZodNullable<z.ZodString>;
|
29
29
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
30
30
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
31
|
-
}, "
|
31
|
+
}, "uuid" | "name" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
|
32
32
|
uuid: string;
|
33
33
|
name: string;
|
34
|
+
faviconLink: string | null;
|
35
|
+
loginUrl: string | null;
|
34
36
|
}, {
|
35
37
|
uuid: string;
|
36
38
|
name: string;
|
39
|
+
faviconLink: string | null;
|
40
|
+
loginUrl: string | null;
|
37
41
|
}>;
|
38
42
|
node: z.ZodObject<Pick<{
|
39
43
|
uuid: z.ZodString;
|
@@ -136,6 +140,8 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
136
140
|
provider: {
|
137
141
|
uuid: string;
|
138
142
|
name: string;
|
143
|
+
faviconLink: string | null;
|
144
|
+
loginUrl: string | null;
|
139
145
|
};
|
140
146
|
node: {
|
141
147
|
uuid: string;
|
@@ -152,6 +158,8 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
152
158
|
provider: {
|
153
159
|
uuid: string;
|
154
160
|
name: string;
|
161
|
+
faviconLink: string | null;
|
162
|
+
loginUrl: string | null;
|
155
163
|
};
|
156
164
|
node: {
|
157
165
|
uuid: string;
|
@@ -260,6 +268,8 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
260
268
|
provider: {
|
261
269
|
uuid: string;
|
262
270
|
name: string;
|
271
|
+
faviconLink: string | null;
|
272
|
+
loginUrl: string | null;
|
263
273
|
};
|
264
274
|
node: {
|
265
275
|
uuid: string;
|
@@ -285,6 +295,8 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
285
295
|
provider: {
|
286
296
|
uuid: string;
|
287
297
|
name: string;
|
298
|
+
faviconLink: string | null;
|
299
|
+
loginUrl: string | null;
|
288
300
|
};
|
289
301
|
node: {
|
290
302
|
uuid: string;
|
@@ -312,6 +324,8 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
312
324
|
provider: {
|
313
325
|
uuid: string;
|
314
326
|
name: string;
|
327
|
+
faviconLink: string | null;
|
328
|
+
loginUrl: string | null;
|
315
329
|
};
|
316
330
|
node: {
|
317
331
|
uuid: string;
|
@@ -339,6 +353,8 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
339
353
|
provider: {
|
340
354
|
uuid: string;
|
341
355
|
name: string;
|
356
|
+
faviconLink: string | null;
|
357
|
+
loginUrl: string | null;
|
342
358
|
};
|
343
359
|
node: {
|
344
360
|
uuid: string;
|
@@ -1 +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
|
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"}
|
@@ -714,5 +714,10 @@ export declare const ERRORS: {
|
|
714
714
|
readonly message: "Create infra billing node error";
|
715
715
|
readonly httpCode: 500;
|
716
716
|
};
|
717
|
+
readonly DELETE_INFRA_BILLING_NODE_BY_UUID_ERROR: {
|
718
|
+
readonly code: "A138";
|
719
|
+
readonly message: "Delete infra billing node by UUID error";
|
720
|
+
readonly httpCode: 500;
|
721
|
+
};
|
717
722
|
};
|
718
723
|
//# sourceMappingURL=errors.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqY3B,CAAC"}
|
@@ -3,19 +3,23 @@ export declare const InfraBillingNodeSchema: z.ZodObject<{
|
|
3
3
|
uuid: z.ZodString;
|
4
4
|
nodeUuid: z.ZodString;
|
5
5
|
providerUuid: z.ZodString;
|
6
|
-
provider: z.ZodObject<
|
6
|
+
provider: z.ZodObject<Pick<{
|
7
7
|
uuid: z.ZodString;
|
8
8
|
name: z.ZodString;
|
9
9
|
faviconLink: z.ZodNullable<z.ZodString>;
|
10
10
|
loginUrl: z.ZodNullable<z.ZodString>;
|
11
11
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
12
12
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
13
|
-
}, "
|
13
|
+
}, "uuid" | "name" | "faviconLink" | "loginUrl">, "strip", z.ZodTypeAny, {
|
14
14
|
uuid: string;
|
15
15
|
name: string;
|
16
|
+
faviconLink: string | null;
|
17
|
+
loginUrl: string | null;
|
16
18
|
}, {
|
17
19
|
uuid: string;
|
18
20
|
name: string;
|
21
|
+
faviconLink: string | null;
|
22
|
+
loginUrl: string | null;
|
19
23
|
}>;
|
20
24
|
node: z.ZodObject<Pick<{
|
21
25
|
uuid: z.ZodString;
|
@@ -118,6 +122,8 @@ export declare const InfraBillingNodeSchema: z.ZodObject<{
|
|
118
122
|
provider: {
|
119
123
|
uuid: string;
|
120
124
|
name: string;
|
125
|
+
faviconLink: string | null;
|
126
|
+
loginUrl: string | null;
|
121
127
|
};
|
122
128
|
node: {
|
123
129
|
uuid: string;
|
@@ -134,6 +140,8 @@ export declare const InfraBillingNodeSchema: z.ZodObject<{
|
|
134
140
|
provider: {
|
135
141
|
uuid: string;
|
136
142
|
name: string;
|
143
|
+
faviconLink: string | null;
|
144
|
+
loginUrl: string | null;
|
137
145
|
};
|
138
146
|
node: {
|
139
147
|
uuid: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB
|
1
|
+
{"version":3,"file":"infra-billing-node.schema.d.ts","sourceRoot":"","sources":["../../../models/infra-billing-node.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BjC,CAAC"}
|
@@ -8,9 +8,9 @@ exports.InfraBillingNodeSchema = zod_1.z.object({
|
|
8
8
|
uuid: zod_1.z.string().uuid(),
|
9
9
|
nodeUuid: zod_1.z.string().uuid(),
|
10
10
|
providerUuid: zod_1.z.string().uuid(),
|
11
|
-
provider: infra_provider_schema_1.PartialInfraProviderSchema.
|
12
|
-
|
13
|
-
|
11
|
+
provider: infra_provider_schema_1.PartialInfraProviderSchema.pick({
|
12
|
+
uuid: true,
|
13
|
+
name: true,
|
14
14
|
loginUrl: true,
|
15
15
|
faviconLink: true,
|
16
16
|
}),
|
@@ -15,9 +15,10 @@ var DeleteInfraBillingNodeByUuidCommand;
|
|
15
15
|
});
|
16
16
|
DeleteInfraBillingNodeByUuidCommand.ResponseSchema = zod_1.z.object({
|
17
17
|
response: zod_1.z.object({
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
totalBillingNodes: zod_1.z.number(),
|
19
|
+
billingNodes: zod_1.z.array(models_1.InfraBillingNodeSchema),
|
20
|
+
availableBillingNodes: zod_1.z.array(models_1.InfraBillingAvailableNodeSchema),
|
21
|
+
totalAvailableBillingNodes: zod_1.z.number(),
|
21
22
|
}),
|
22
23
|
});
|
23
24
|
})(DeleteInfraBillingNodeByUuidCommand || (exports.DeleteInfraBillingNodeByUuidCommand = DeleteInfraBillingNodeByUuidCommand = {}));
|
@@ -8,9 +8,9 @@ exports.InfraBillingNodeSchema = zod_1.z.object({
|
|
8
8
|
uuid: zod_1.z.string().uuid(),
|
9
9
|
nodeUuid: zod_1.z.string().uuid(),
|
10
10
|
providerUuid: zod_1.z.string().uuid(),
|
11
|
-
provider: infra_provider_schema_1.PartialInfraProviderSchema.
|
12
|
-
|
13
|
-
|
11
|
+
provider: infra_provider_schema_1.PartialInfraProviderSchema.pick({
|
12
|
+
uuid: true,
|
13
|
+
name: true,
|
14
14
|
loginUrl: true,
|
15
15
|
faviconLink: true,
|
16
16
|
}),
|
package/package.json
CHANGED