@remnawave/backend-contract 2.0.0-alpha.14 → 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/delete-billing-node-by-uuid.command.d.ts +20 -15
- 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/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/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +4 -3
- package/build/frontend/constants/errors/errors.js +5 -0
- package/package.json +1 -1
@@ -13,7 +13,8 @@ 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;
|
@@ -156,7 +157,7 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
156
157
|
};
|
157
158
|
nextBillingAt: string;
|
158
159
|
}>, "many">;
|
159
|
-
|
160
|
+
availableBillingNodes: z.ZodArray<z.ZodObject<Pick<{
|
160
161
|
uuid: z.ZodString;
|
161
162
|
name: z.ZodString;
|
162
163
|
address: z.ZodString;
|
@@ -245,9 +246,9 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
245
246
|
name: string;
|
246
247
|
countryCode: string;
|
247
248
|
}>, "many">;
|
248
|
-
|
249
|
+
totalAvailableBillingNodes: z.ZodNumber;
|
249
250
|
}, "strip", z.ZodTypeAny, {
|
250
|
-
|
251
|
+
billingNodes: {
|
251
252
|
uuid: string;
|
252
253
|
createdAt: Date;
|
253
254
|
updatedAt: Date;
|
@@ -264,14 +265,15 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
264
265
|
};
|
265
266
|
nextBillingAt: Date;
|
266
267
|
}[];
|
267
|
-
|
268
|
-
|
268
|
+
totalBillingNodes: number;
|
269
|
+
availableBillingNodes: {
|
269
270
|
uuid: string;
|
270
271
|
name: string;
|
271
272
|
countryCode: string;
|
272
273
|
}[];
|
274
|
+
totalAvailableBillingNodes: number;
|
273
275
|
}, {
|
274
|
-
|
276
|
+
billingNodes: {
|
275
277
|
uuid: string;
|
276
278
|
createdAt: string;
|
277
279
|
updatedAt: string;
|
@@ -288,16 +290,17 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
288
290
|
};
|
289
291
|
nextBillingAt: string;
|
290
292
|
}[];
|
291
|
-
|
292
|
-
|
293
|
+
totalBillingNodes: number;
|
294
|
+
availableBillingNodes: {
|
293
295
|
uuid: string;
|
294
296
|
name: string;
|
295
297
|
countryCode: string;
|
296
298
|
}[];
|
299
|
+
totalAvailableBillingNodes: number;
|
297
300
|
}>;
|
298
301
|
}, "strip", z.ZodTypeAny, {
|
299
302
|
response: {
|
300
|
-
|
303
|
+
billingNodes: {
|
301
304
|
uuid: string;
|
302
305
|
createdAt: Date;
|
303
306
|
updatedAt: Date;
|
@@ -314,16 +317,17 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
314
317
|
};
|
315
318
|
nextBillingAt: Date;
|
316
319
|
}[];
|
317
|
-
|
318
|
-
|
320
|
+
totalBillingNodes: number;
|
321
|
+
availableBillingNodes: {
|
319
322
|
uuid: string;
|
320
323
|
name: string;
|
321
324
|
countryCode: string;
|
322
325
|
}[];
|
326
|
+
totalAvailableBillingNodes: number;
|
323
327
|
};
|
324
328
|
}, {
|
325
329
|
response: {
|
326
|
-
|
330
|
+
billingNodes: {
|
327
331
|
uuid: string;
|
328
332
|
createdAt: string;
|
329
333
|
updatedAt: string;
|
@@ -340,12 +344,13 @@ export declare namespace DeleteInfraBillingNodeByUuidCommand {
|
|
340
344
|
};
|
341
345
|
nextBillingAt: string;
|
342
346
|
}[];
|
343
|
-
|
344
|
-
|
347
|
+
totalBillingNodes: number;
|
348
|
+
availableBillingNodes: {
|
345
349
|
uuid: string;
|
346
350
|
name: string;
|
347
351
|
countryCode: string;
|
348
352
|
}[];
|
353
|
+
totalAvailableBillingNodes: number;
|
349
354
|
};
|
350
355
|
}>;
|
351
356
|
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 = {}));
|
@@ -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"}
|
@@ -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 = {}));
|
package/package.json
CHANGED