@remnawave/backend-contract 2.1.68 → 2.1.69
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.
@@ -4,14 +4,14 @@ export declare namespace UpdateInfraBillingNodeCommand {
|
|
4
4
|
const TSQ_url: "/api/infra-billing/nodes";
|
5
5
|
const endpointDetails: import("../../constants").EndpointDetails;
|
6
6
|
const RequestSchema: z.ZodObject<{
|
7
|
-
|
7
|
+
uuids: z.ZodArray<z.ZodString, "many">;
|
8
8
|
nextBillingAt: z.ZodEffects<z.ZodString, Date, string>;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
|
-
uuid: string;
|
11
10
|
nextBillingAt: Date;
|
11
|
+
uuids: string[];
|
12
12
|
}, {
|
13
|
-
uuid: string;
|
14
13
|
nextBillingAt: string;
|
14
|
+
uuids: string[];
|
15
15
|
}>;
|
16
16
|
type Request = z.infer<typeof RequestSchema>;
|
17
17
|
const ResponseSchema: z.ZodObject<{
|
@@ -9,9 +9,9 @@ var UpdateInfraBillingNodeCommand;
|
|
9
9
|
(function (UpdateInfraBillingNodeCommand) {
|
10
10
|
UpdateInfraBillingNodeCommand.url = api_1.REST_API.INFRA_BILLING.UPDATE_BILLING_NODE;
|
11
11
|
UpdateInfraBillingNodeCommand.TSQ_url = UpdateInfraBillingNodeCommand.url;
|
12
|
-
UpdateInfraBillingNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE, 'patch', 'Update infra billing node');
|
12
|
+
UpdateInfraBillingNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE, 'patch', 'Update infra billing node(s)');
|
13
13
|
UpdateInfraBillingNodeCommand.RequestSchema = zod_1.z.object({
|
14
|
-
|
14
|
+
uuids: zod_1.z.array(zod_1.z.string().uuid()),
|
15
15
|
nextBillingAt: zod_1.z
|
16
16
|
.string({
|
17
17
|
invalid_type_error: 'Invalid date format',
|
@@ -9,9 +9,9 @@ var UpdateInfraBillingNodeCommand;
|
|
9
9
|
(function (UpdateInfraBillingNodeCommand) {
|
10
10
|
UpdateInfraBillingNodeCommand.url = api_1.REST_API.INFRA_BILLING.UPDATE_BILLING_NODE;
|
11
11
|
UpdateInfraBillingNodeCommand.TSQ_url = UpdateInfraBillingNodeCommand.url;
|
12
|
-
UpdateInfraBillingNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE, 'patch', 'Update infra billing node');
|
12
|
+
UpdateInfraBillingNodeCommand.endpointDetails = (0, constants_1.getEndpointDetails)(api_1.INFRA_BILLING_ROUTES.UPDATE_BILLING_NODE, 'patch', 'Update infra billing node(s)');
|
13
13
|
UpdateInfraBillingNodeCommand.RequestSchema = zod_1.z.object({
|
14
|
-
|
14
|
+
uuids: zod_1.z.array(zod_1.z.string().uuid()),
|
15
15
|
nextBillingAt: zod_1.z
|
16
16
|
.string({
|
17
17
|
invalid_type_error: 'Invalid date format',
|