@remnawave/backend-contract 0.3.40 → 0.3.41

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.
@@ -19,47 +19,47 @@ export declare namespace BulkUpdateUsersCommand {
19
19
  readonly MONTH: "MONTH";
20
20
  }>>;
21
21
  expireAt: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, Date, string>, Date, string>>;
22
- description: z.ZodOptional<z.ZodString>;
23
- telegramId: z.ZodOptional<z.ZodNumber>;
24
- email: z.ZodOptional<z.ZodString>;
22
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ telegramId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
27
- email?: string | undefined;
27
+ email?: string | null | undefined;
28
28
  trafficLimitBytes?: number | undefined;
29
- description?: string | undefined;
29
+ description?: string | null | undefined;
30
30
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
31
31
  expireAt?: Date | undefined;
32
- telegramId?: number | undefined;
32
+ telegramId?: number | null | undefined;
33
33
  }, {
34
34
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
35
- email?: string | undefined;
35
+ email?: string | null | undefined;
36
36
  trafficLimitBytes?: number | undefined;
37
- description?: string | undefined;
37
+ description?: string | null | undefined;
38
38
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
39
39
  expireAt?: string | undefined;
40
- telegramId?: number | undefined;
40
+ telegramId?: number | null | undefined;
41
41
  }>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  uuids: string[];
44
44
  fields: {
45
45
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
46
- email?: string | undefined;
46
+ email?: string | null | undefined;
47
47
  trafficLimitBytes?: number | undefined;
48
- description?: string | undefined;
48
+ description?: string | null | undefined;
49
49
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
50
50
  expireAt?: Date | undefined;
51
- telegramId?: number | undefined;
51
+ telegramId?: number | null | undefined;
52
52
  };
53
53
  }, {
54
54
  uuids: string[];
55
55
  fields: {
56
56
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
57
- email?: string | undefined;
57
+ email?: string | null | undefined;
58
58
  trafficLimitBytes?: number | undefined;
59
- description?: string | undefined;
59
+ description?: string | null | undefined;
60
60
  trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
61
61
  expireAt?: string | undefined;
62
- telegramId?: number | undefined;
62
+ telegramId?: number | null | undefined;
63
63
  };
64
64
  }>;
65
65
  type Request = z.infer<typeof RequestSchema>;
@@ -33,9 +33,9 @@ var BulkUpdateUsersCommand;
33
33
  message: 'Expiration date cannot be in the past',
34
34
  })
35
35
  .describe('Expiration date: 2025-01-17T15:38:45.065Z')),
36
- description: zod_1.z.optional(zod_1.z.string()),
37
- telegramId: zod_1.z.optional(zod_1.z.number()),
38
- email: zod_1.z.optional(zod_1.z.string().email('Invalid email format')),
36
+ description: zod_1.z.optional(zod_1.z.string().nullable()),
37
+ telegramId: zod_1.z.optional(zod_1.z.number().nullable()),
38
+ email: zod_1.z.optional(zod_1.z.string().email('Invalid email format').nullable()),
39
39
  }),
40
40
  });
41
41
  BulkUpdateUsersCommand.ResponseSchema = zod_1.z.object({
@@ -33,9 +33,9 @@ var BulkUpdateUsersCommand;
33
33
  message: 'Expiration date cannot be in the past',
34
34
  })
35
35
  .describe('Expiration date: 2025-01-17T15:38:45.065Z')),
36
- description: zod_1.z.optional(zod_1.z.string()),
37
- telegramId: zod_1.z.optional(zod_1.z.number()),
38
- email: zod_1.z.optional(zod_1.z.string().email('Invalid email format')),
36
+ description: zod_1.z.optional(zod_1.z.string().nullable()),
37
+ telegramId: zod_1.z.optional(zod_1.z.number().nullable()),
38
+ email: zod_1.z.optional(zod_1.z.string().email('Invalid email format').nullable()),
39
39
  }),
40
40
  });
41
41
  BulkUpdateUsersCommand.ResponseSchema = zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.3.40",
3
+ "version": "0.3.41",
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.",