Variable deviceListResponseSchemaConst
deviceListResponseSchema: ZodObject<
{
code: ZodLiteral<"0">;
data: ZodArray<
ZodObject<
{
deviceName: ZodOptional<ZodString>;
online: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>;
productName: ZodString;
sn: ZodString;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
deviceName: ZodOptional<ZodString>;
online: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>;
productName: ZodString;
sn: ZodString;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
deviceName: ZodOptional<ZodString>;
online: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>;
productName: ZodString;
sn: ZodString;
},
ZodTypeAny,
"passthrough",
>,
>,
"many",
>;
message: ZodLiteral<"Success">;
},
"strip",
ZodTypeAny,
{
code: "0";
data: objectOutputType<
{
deviceName: ZodOptional<ZodString>;
online: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>;
productName: ZodString;
sn: ZodString;
},
ZodTypeAny,
"passthrough",
>[];
message: "Success";
},
{
code: "0";
data: objectInputType<
{
deviceName: ZodOptional<ZodString>;
online: ZodUnion<[ZodLiteral<0>, ZodLiteral<1>]>;
productName: ZodString;
sn: ZodString;
},
ZodTypeAny,
"passthrough",
>[];
message: "Success";
},
> = ...
Describes response from device list endpoint https://${host}/iot-open/sign/device/list