@remnawave/backend-contract 2.1.27 → 2.1.28

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.
@@ -22,6 +22,7 @@ export declare namespace BulkAllUpdateUsersCommand {
22
22
  telegramId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  tag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ hwidDeviceLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
26
  }, "strip", z.ZodTypeAny, {
26
27
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
27
28
  tag?: string | null | undefined;
@@ -31,6 +32,7 @@ export declare namespace BulkAllUpdateUsersCommand {
31
32
  expireAt?: Date | undefined;
32
33
  telegramId?: number | null | undefined;
33
34
  email?: string | null | undefined;
35
+ hwidDeviceLimit?: number | null | undefined;
34
36
  }, {
35
37
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
36
38
  tag?: string | null | undefined;
@@ -40,6 +42,7 @@ export declare namespace BulkAllUpdateUsersCommand {
40
42
  expireAt?: string | undefined;
41
43
  telegramId?: number | null | undefined;
42
44
  email?: string | null | undefined;
45
+ hwidDeviceLimit?: number | null | undefined;
43
46
  }>;
44
47
  type Request = z.infer<typeof RequestSchema>;
45
48
  const ResponseSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"bulk-all-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk-all/bulk-all-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyCxB,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"}
1
+ {"version":3,"file":"bulk-all-update-users.command.d.ts","sourceRoot":"","sources":["../../../../../commands/users/bulk-all/bulk-all-update-users.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4CxB,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"}
@@ -41,6 +41,7 @@ var BulkAllUpdateUsersCommand;
41
41
  .regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
42
42
  .max(16, 'Tag must be less than 16 characters')
43
43
  .nullable()),
44
+ hwidDeviceLimit: zod_1.z.optional(zod_1.z.number().int().min(0, 'Device limit must be non-negative').nullable()),
44
45
  });
45
46
  BulkAllUpdateUsersCommand.ResponseSchema = zod_1.z.object({
46
47
  response: zod_1.z.object({
@@ -41,6 +41,7 @@ var BulkAllUpdateUsersCommand;
41
41
  .regex(/^[A-Z0-9_]+$/, 'Tag can only contain uppercase letters, numbers, underscores')
42
42
  .max(16, 'Tag must be less than 16 characters')
43
43
  .nullable()),
44
+ hwidDeviceLimit: zod_1.z.optional(zod_1.z.number().int().min(0, 'Device limit must be non-negative').nullable()),
44
45
  });
45
46
  BulkAllUpdateUsersCommand.ResponseSchema = zod_1.z.object({
46
47
  response: zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.1.27",
3
+ "version": "2.1.28",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",