@remnawave/backend-contract 0.3.61 → 0.3.62

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.
@@ -34,7 +34,7 @@ var BulkUpdateUsersCommand;
34
34
  })
35
35
  .describe('Expiration date: 2025-01-17T15:38:45.065Z')),
36
36
  description: zod_1.z.optional(zod_1.z.string().nullable()),
37
- telegramId: zod_1.z.optional(zod_1.z.number().nullable()),
37
+ telegramId: zod_1.z.optional(zod_1.z.number().int().nullable()),
38
38
  email: zod_1.z.optional(zod_1.z.string().email('Invalid email format').nullable()),
39
39
  }),
40
40
  });
@@ -32,7 +32,7 @@ var BulkAllUpdateUsersCommand;
32
32
  })
33
33
  .describe('Expiration date: 2025-01-17T15:38:45.065Z')),
34
34
  description: zod_1.z.optional(zod_1.z.string().nullable()),
35
- telegramId: zod_1.z.optional(zod_1.z.number().nullable()),
35
+ telegramId: zod_1.z.optional(zod_1.z.number().int().nullable()),
36
36
  email: zod_1.z.optional(zod_1.z.string().email('Invalid email format').nullable()),
37
37
  });
38
38
  BulkAllUpdateUsersCommand.ResponseSchema = zod_1.z.object({
@@ -103,7 +103,7 @@ var CreateUserCommand;
103
103
  .describe('Date format: 2025-01-17T15:38:45.065Z')
104
104
  .optional(),
105
105
  description: zod_1.z.string().optional(),
106
- telegramId: zod_1.z.number().optional(),
106
+ telegramId: zod_1.z.optional(zod_1.z.number().int()),
107
107
  email: zod_1.z.string().email('Invalid email format').optional(),
108
108
  activateAllInbounds: zod_1.z.boolean().optional(),
109
109
  });
@@ -50,7 +50,7 @@ var UpdateUserCommand;
50
50
  .describe('Expiration date: 2025-01-17T15:38:45.065Z')
51
51
  .optional(),
52
52
  description: zod_1.z.optional(zod_1.z.string().nullable()),
53
- telegramId: zod_1.z.optional(zod_1.z.number().nullable()),
53
+ telegramId: zod_1.z.optional(zod_1.z.number().int().nullable()),
54
54
  email: zod_1.z.optional(zod_1.z.string().email('Invalid email format').nullable()),
55
55
  });
56
56
  UpdateUserCommand.ResponseSchema = zod_1.z.object({
@@ -43,7 +43,7 @@ exports.UsersSchema = zod_1.z.object({
43
43
  vlessUuid: zod_1.z.string().uuid(),
44
44
  ssPassword: zod_1.z.string(),
45
45
  description: zod_1.z.nullable(zod_1.z.string()),
46
- telegramId: zod_1.z.nullable(zod_1.z.number()),
46
+ telegramId: zod_1.z.nullable(zod_1.z.number().int()),
47
47
  email: zod_1.z.nullable(zod_1.z.string().email()),
48
48
  createdAt: zod_1.z
49
49
  .string()
@@ -34,7 +34,7 @@ var BulkUpdateUsersCommand;
34
34
  })
35
35
  .describe('Expiration date: 2025-01-17T15:38:45.065Z')),
36
36
  description: zod_1.z.optional(zod_1.z.string().nullable()),
37
- telegramId: zod_1.z.optional(zod_1.z.number().nullable()),
37
+ telegramId: zod_1.z.optional(zod_1.z.number().int().nullable()),
38
38
  email: zod_1.z.optional(zod_1.z.string().email('Invalid email format').nullable()),
39
39
  }),
40
40
  });
@@ -32,7 +32,7 @@ var BulkAllUpdateUsersCommand;
32
32
  })
33
33
  .describe('Expiration date: 2025-01-17T15:38:45.065Z')),
34
34
  description: zod_1.z.optional(zod_1.z.string().nullable()),
35
- telegramId: zod_1.z.optional(zod_1.z.number().nullable()),
35
+ telegramId: zod_1.z.optional(zod_1.z.number().int().nullable()),
36
36
  email: zod_1.z.optional(zod_1.z.string().email('Invalid email format').nullable()),
37
37
  });
38
38
  BulkAllUpdateUsersCommand.ResponseSchema = zod_1.z.object({
@@ -103,7 +103,7 @@ var CreateUserCommand;
103
103
  .describe('Date format: 2025-01-17T15:38:45.065Z')
104
104
  .optional(),
105
105
  description: zod_1.z.string().optional(),
106
- telegramId: zod_1.z.number().optional(),
106
+ telegramId: zod_1.z.optional(zod_1.z.number().int()),
107
107
  email: zod_1.z.string().email('Invalid email format').optional(),
108
108
  activateAllInbounds: zod_1.z.boolean().optional(),
109
109
  });
@@ -50,7 +50,7 @@ var UpdateUserCommand;
50
50
  .describe('Expiration date: 2025-01-17T15:38:45.065Z')
51
51
  .optional(),
52
52
  description: zod_1.z.optional(zod_1.z.string().nullable()),
53
- telegramId: zod_1.z.optional(zod_1.z.number().nullable()),
53
+ telegramId: zod_1.z.optional(zod_1.z.number().int().nullable()),
54
54
  email: zod_1.z.optional(zod_1.z.string().email('Invalid email format').nullable()),
55
55
  });
56
56
  UpdateUserCommand.ResponseSchema = zod_1.z.object({
@@ -43,7 +43,7 @@ exports.UsersSchema = zod_1.z.object({
43
43
  vlessUuid: zod_1.z.string().uuid(),
44
44
  ssPassword: zod_1.z.string(),
45
45
  description: zod_1.z.nullable(zod_1.z.string()),
46
- telegramId: zod_1.z.nullable(zod_1.z.number()),
46
+ telegramId: zod_1.z.nullable(zod_1.z.number().int()),
47
47
  email: zod_1.z.nullable(zod_1.z.string().email()),
48
48
  createdAt: zod_1.z
49
49
  .string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.3.61",
3
+ "version": "0.3.62",
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.",