@remnawave/backend-contract 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ const models_1 = require("../../models");
|
|
9
9
|
var CreateHostCommand;
|
10
10
|
(function (CreateHostCommand) {
|
11
11
|
CreateHostCommand.url = api_1.REST_API.HOSTS.CREATE;
|
12
|
-
CreateHostCommand.RequestSchema =
|
12
|
+
CreateHostCommand.RequestSchema = zod_1.z.object({
|
13
13
|
inboundUuid: zod_1.z
|
14
14
|
.string({
|
15
15
|
invalid_type_error: 'Inbound UUID must be a string',
|
@@ -7,7 +7,7 @@ import { HostsSchema } from '../../models';
|
|
7
7
|
export namespace CreateHostCommand {
|
8
8
|
export const url = REST_API.HOSTS.CREATE;
|
9
9
|
|
10
|
-
export const RequestSchema =
|
10
|
+
export const RequestSchema = z.object({
|
11
11
|
inboundUuid: z
|
12
12
|
.string({
|
13
13
|
invalid_type_error: 'Inbound UUID must be a string',
|