@remnawave/backend-contract 2.1.28 → 2.1.30
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/users/bulk/bulk-update-users.command.d.ts +5 -0
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts.map +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.js +1 -0
- package/build/frontend/commands/users/bulk/bulk-update-users.command.js +1 -0
- package/package.json +1 -1
@@ -24,6 +24,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
24
24
|
telegramId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
25
25
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
26
26
|
tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
27
|
+
hwidDeviceLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
27
28
|
}, "strip", z.ZodTypeAny, {
|
28
29
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
29
30
|
tag?: string | null | undefined;
|
@@ -33,6 +34,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
33
34
|
expireAt?: Date | undefined;
|
34
35
|
telegramId?: number | null | undefined;
|
35
36
|
email?: string | null | undefined;
|
37
|
+
hwidDeviceLimit?: number | null | undefined;
|
36
38
|
}, {
|
37
39
|
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
|
38
40
|
tag?: string | null | undefined;
|
@@ -42,6 +44,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
42
44
|
expireAt?: string | undefined;
|
43
45
|
telegramId?: number | null | undefined;
|
44
46
|
email?: string | null | undefined;
|
47
|
+
hwidDeviceLimit?: number | null | undefined;
|
45
48
|
}>;
|
46
49
|
}, "strip", z.ZodTypeAny, {
|
47
50
|
uuids: string[];
|
@@ -54,6 +57,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
54
57
|
expireAt?: Date | undefined;
|
55
58
|
telegramId?: number | null | undefined;
|
56
59
|
email?: string | null | undefined;
|
60
|
+
hwidDeviceLimit?: number | null | undefined;
|
57
61
|
};
|
58
62
|
}, {
|
59
63
|
uuids: string[];
|
@@ -66,6 +70,7 @@ export declare namespace BulkUpdateUsersCommand {
|
|
66
70
|
expireAt?: string | undefined;
|
67
71
|
telegramId?: number | null | undefined;
|
68
72
|
email?: string | null | undefined;
|
73
|
+
hwidDeviceLimit?: number | null | undefined;
|
69
74
|
};
|
70
75
|
}>;
|
71
76
|
type Request = z.infer<typeof RequestSchema>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bulk-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk/bulk-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa
|
1
|
+
{"version":3,"file":"bulk-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk/bulk-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+CxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
@@ -43,6 +43,7 @@ var BulkUpdateUsersCommand;
|
|
43
43
|
.regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
|
44
44
|
.max(16, 'Tag must be less than 16 characters')
|
45
45
|
.nullable()),
|
46
|
+
hwidDeviceLimit: zod_1.z.optional(zod_1.z.number().int().min(0, 'Device limit must be non-negative').nullable()),
|
46
47
|
}),
|
47
48
|
});
|
48
49
|
BulkUpdateUsersCommand.ResponseSchema = zod_1.z.object({
|
@@ -43,6 +43,7 @@ var BulkUpdateUsersCommand;
|
|
43
43
|
.regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
|
44
44
|
.max(16, 'Tag must be less than 16 characters')
|
45
45
|
.nullable()),
|
46
|
+
hwidDeviceLimit: zod_1.z.optional(zod_1.z.number().int().min(0, 'Device limit must be non-negative').nullable()),
|
46
47
|
}),
|
47
48
|
});
|
48
49
|
BulkUpdateUsersCommand.ResponseSchema = zod_1.z.object({
|