@remnawave/backend-contract 0.3.52 → 0.3.54

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.
Files changed (49) hide show
  1. package/build/backend/commands/nodes/create.command.d.ts +14 -0
  2. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  3. package/build/backend/commands/nodes/disable.command.d.ts +14 -0
  4. package/build/backend/commands/nodes/disable.command.d.ts.map +1 -1
  5. package/build/backend/commands/nodes/enable.command.d.ts +14 -0
  6. package/build/backend/commands/nodes/enable.command.d.ts.map +1 -1
  7. package/build/backend/commands/nodes/get-all.command.d.ts +14 -0
  8. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  9. package/build/backend/commands/nodes/get-one.command.d.ts +14 -0
  10. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  11. package/build/backend/commands/nodes/reorder.command.d.ts +20 -0
  12. package/build/backend/commands/nodes/reorder.command.d.ts.map +1 -1
  13. package/build/backend/commands/nodes/update.command.d.ts +20 -0
  14. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  15. package/build/backend/commands/users/create-user.command.d.ts +14 -0
  16. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  17. package/build/backend/commands/users/disable-user.command.d.ts +14 -0
  18. package/build/backend/commands/users/disable-user.command.d.ts.map +1 -1
  19. package/build/backend/commands/users/enable-user.command.d.ts +14 -0
  20. package/build/backend/commands/users/enable-user.command.d.ts.map +1 -1
  21. package/build/backend/commands/users/get-all-users-v2.command.d.ts +18 -0
  22. package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +1 -1
  23. package/build/backend/commands/users/get-user-by-email.command.d.ts +14 -0
  24. package/build/backend/commands/users/get-user-by-email.command.d.ts.map +1 -1
  25. package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts +14 -0
  26. package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts.map +1 -1
  27. package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts +14 -0
  28. package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -1
  29. package/build/backend/commands/users/get-user-by-telegram-id.command.d.ts +14 -0
  30. package/build/backend/commands/users/get-user-by-telegram-id.command.d.ts.map +1 -1
  31. package/build/backend/commands/users/get-user-by-username.command.d.ts +14 -0
  32. package/build/backend/commands/users/get-user-by-username.command.d.ts.map +1 -1
  33. package/build/backend/commands/users/get-user-by-uuid.command.d.ts +14 -0
  34. package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
  35. package/build/backend/commands/users/reset-user-traffic.command.d.ts +14 -0
  36. package/build/backend/commands/users/reset-user-traffic.command.d.ts.map +1 -1
  37. package/build/backend/commands/users/revoke-user-subscription.command.d.ts +14 -0
  38. package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
  39. package/build/backend/commands/users/update-user.command.d.ts +20 -0
  40. package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
  41. package/build/backend/models/inbounds.schema.d.ts +6 -0
  42. package/build/backend/models/inbounds.schema.d.ts.map +1 -1
  43. package/build/backend/models/inbounds.schema.js +2 -0
  44. package/build/backend/models/nodes.schema.d.ts +10 -0
  45. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  46. package/build/backend/models/users.schema.d.ts +10 -0
  47. package/build/backend/models/users.schema.d.ts.map +1 -1
  48. package/build/frontend/models/inbounds.schema.js +2 -0
  49. package/package.json +1 -1
@@ -3,13 +3,19 @@ export declare const InboundsSchema: z.ZodObject<{
3
3
  uuid: z.ZodString;
4
4
  tag: z.ZodString;
5
5
  type: z.ZodString;
6
+ network: z.ZodNullable<z.ZodString>;
7
+ security: z.ZodNullable<z.ZodString>;
6
8
  }, "strip", z.ZodTypeAny, {
7
9
  uuid: string;
8
10
  type: string;
9
11
  tag: string;
12
+ network: string | null;
13
+ security: string | null;
10
14
  }, {
11
15
  uuid: string;
12
16
  type: string;
13
17
  tag: string;
18
+ network: string | null;
19
+ security: string | null;
14
20
  }>;
15
21
  //# sourceMappingURL=inbounds.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inbounds.schema.d.ts","sourceRoot":"","sources":["../../../models/inbounds.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;EAIzB,CAAC"}
1
+ {"version":3,"file":"inbounds.schema.d.ts","sourceRoot":"","sources":["../../../models/inbounds.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;EAMzB,CAAC"}
@@ -6,4 +6,6 @@ exports.InboundsSchema = zod_1.z.object({
6
6
  uuid: zod_1.z.string().uuid(),
7
7
  tag: zod_1.z.string(),
8
8
  type: zod_1.z.string(),
9
+ network: zod_1.z.nullable(zod_1.z.string()),
10
+ security: zod_1.z.nullable(zod_1.z.string()),
9
11
  });
@@ -31,14 +31,20 @@ export declare const NodesSchema: z.ZodObject<{
31
31
  uuid: z.ZodString;
32
32
  tag: z.ZodString;
33
33
  type: z.ZodString;
34
+ network: z.ZodNullable<z.ZodString>;
35
+ security: z.ZodNullable<z.ZodString>;
34
36
  }, "strip", z.ZodTypeAny, {
35
37
  uuid: string;
36
38
  type: string;
37
39
  tag: string;
40
+ network: string | null;
41
+ security: string | null;
38
42
  }, {
39
43
  uuid: string;
40
44
  type: string;
41
45
  tag: string;
46
+ network: string | null;
47
+ security: string | null;
42
48
  }>, "many">;
43
49
  }, "strip", z.ZodTypeAny, {
44
50
  uuid: string;
@@ -72,6 +78,8 @@ export declare const NodesSchema: z.ZodObject<{
72
78
  uuid: string;
73
79
  type: string;
74
80
  tag: string;
81
+ network: string | null;
82
+ security: string | null;
75
83
  }[];
76
84
  }, {
77
85
  uuid: string;
@@ -105,6 +113,8 @@ export declare const NodesSchema: z.ZodObject<{
105
113
  uuid: string;
106
114
  type: string;
107
115
  tag: string;
116
+ network: string | null;
117
+ security: string | null;
108
118
  }[];
109
119
  }>;
110
120
  //# sourceMappingURL=nodes.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CtB,CAAC"}
1
+ {"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4CtB,CAAC"}
@@ -37,14 +37,20 @@ export declare const UsersSchema: z.ZodObject<{
37
37
  uuid: z.ZodString;
38
38
  tag: z.ZodString;
39
39
  type: z.ZodString;
40
+ network: z.ZodNullable<z.ZodString>;
41
+ security: z.ZodNullable<z.ZodString>;
40
42
  }, "strip", z.ZodTypeAny, {
41
43
  uuid: string;
42
44
  type: string;
43
45
  tag: string;
46
+ network: string | null;
47
+ security: string | null;
44
48
  }, {
45
49
  uuid: string;
46
50
  type: string;
47
51
  tag: string;
52
+ network: string | null;
53
+ security: string | null;
48
54
  }>, "many">;
49
55
  }, "strip", z.ZodTypeAny, {
50
56
  status: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE";
@@ -74,6 +80,8 @@ export declare const UsersSchema: z.ZodObject<{
74
80
  uuid: string;
75
81
  type: string;
76
82
  tag: string;
83
+ network: string | null;
84
+ security: string | null;
77
85
  }[];
78
86
  }, {
79
87
  uuid: string;
@@ -100,6 +108,8 @@ export declare const UsersSchema: z.ZodObject<{
100
108
  uuid: string;
101
109
  type: string;
102
110
  tag: string;
111
+ network: string | null;
112
+ security: string | null;
103
113
  }[];
104
114
  status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;
105
115
  trafficLimitBytes?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"users.schema.d.ts","sourceRoot":"","sources":["../../../models/users.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoEtB,CAAC"}
1
+ {"version":3,"file":"users.schema.d.ts","sourceRoot":"","sources":["../../../models/users.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoEtB,CAAC"}
@@ -6,4 +6,6 @@ exports.InboundsSchema = zod_1.z.object({
6
6
  uuid: zod_1.z.string().uuid(),
7
7
  tag: zod_1.z.string(),
8
8
  type: zod_1.z.string(),
9
+ network: zod_1.z.nullable(zod_1.z.string()),
10
+ security: zod_1.z.nullable(zod_1.z.string()),
9
11
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.3.52",
3
+ "version": "0.3.54",
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.",