@remnawave/backend-contract 2.1.56 → 2.1.57
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.
@@ -31,10 +31,12 @@ export declare namespace CreateUserCommand {
|
|
31
31
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
32
32
|
hwidDeviceLimit: z.ZodOptional<z.ZodNumber>;
|
33
33
|
activeInternalSquads: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
34
|
+
uuid: z.ZodOptional<z.ZodString>;
|
34
35
|
}, "strip", z.ZodTypeAny, {
|
35
36
|
status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
|
36
37
|
username: string;
|
37
38
|
expireAt: Date;
|
39
|
+
uuid?: string | undefined;
|
38
40
|
createdAt?: Date | undefined;
|
39
41
|
tag?: string | null | undefined;
|
40
42
|
shortUuid?: string | undefined;
|
@@ -53,6 +55,7 @@ export declare namespace CreateUserCommand {
|
|
53
55
|
username: string;
|
54
56
|
expireAt: string;
|
55
57
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
58
|
+
uuid?: string | undefined;
|
56
59
|
createdAt?: string | undefined;
|
57
60
|
tag?: string | null | undefined;
|
58
61
|
shortUuid?: string | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
1
|
+
{"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../../commands/users/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgJxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -126,6 +126,10 @@ var CreateUserCommand;
|
|
126
126
|
})
|
127
127
|
.optional()
|
128
128
|
.describe('Optional. Array of UUIDs representing enabled internal squads.'),
|
129
|
+
uuid: zod_1.z.optional(zod_1.z
|
130
|
+
.string()
|
131
|
+
.uuid()
|
132
|
+
.describe('Optional. Pass UUID to create user with specific UUID, otherwise it will be generated automatically.')),
|
129
133
|
});
|
130
134
|
CreateUserCommand.ResponseSchema = zod_1.z.object({
|
131
135
|
response: models_1.ExtendedUsersSchema,
|
@@ -126,6 +126,10 @@ var CreateUserCommand;
|
|
126
126
|
})
|
127
127
|
.optional()
|
128
128
|
.describe('Optional. Array of UUIDs representing enabled internal squads.'),
|
129
|
+
uuid: zod_1.z.optional(zod_1.z
|
130
|
+
.string()
|
131
|
+
.uuid()
|
132
|
+
.describe('Optional. Pass UUID to create user with specific UUID, otherwise it will be generated automatically.')),
|
129
133
|
});
|
130
134
|
CreateUserCommand.ResponseSchema = zod_1.z.object({
|
131
135
|
response: models_1.ExtendedUsersSchema,
|