@remnawave/backend-contract 0.0.64 → 0.0.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. package/build/backend/commands/nodes/create.command.d.ts +36 -0
  2. package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
  3. package/build/backend/commands/nodes/create.command.js +3 -0
  4. package/build/backend/commands/nodes/disable.command.d.ts +33 -0
  5. package/build/backend/commands/nodes/disable.command.d.ts.map +1 -1
  6. package/build/backend/commands/nodes/enable.command.d.ts +33 -0
  7. package/build/backend/commands/nodes/enable.command.d.ts.map +1 -1
  8. package/build/backend/commands/nodes/get-all.command.d.ts +33 -0
  9. package/build/backend/commands/nodes/get-all.command.d.ts.map +1 -1
  10. package/build/backend/commands/nodes/get-one.command.d.ts +33 -0
  11. package/build/backend/commands/nodes/get-one.command.d.ts.map +1 -1
  12. package/build/backend/commands/nodes/update.command.d.ts +49 -0
  13. package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
  14. package/build/backend/commands/nodes/update.command.js +3 -0
  15. package/build/backend/commands/system/get-stats.command.d.ts +40 -7
  16. package/build/backend/commands/system/get-stats.command.d.ts.map +1 -1
  17. package/build/backend/commands/system/get-stats.command.js +6 -1
  18. package/build/backend/models/nodes.schema.d.ts +23 -0
  19. package/build/backend/models/nodes.schema.d.ts.map +1 -1
  20. package/build/backend/models/nodes.schema.js +2 -0
  21. package/build/frontend/commands/nodes/create.command.js +3 -0
  22. package/build/frontend/commands/nodes/update.command.js +3 -0
  23. package/build/frontend/commands/system/get-stats.command.js +6 -1
  24. package/build/frontend/models/nodes.schema.js +2 -0
  25. package/package.json +1 -1
@@ -10,6 +10,7 @@ export declare namespace CreateNodeCommand {
10
10
  trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
11
11
  notifyPercent: z.ZodOptional<z.ZodNumber>;
12
12
  trafficResetDay: z.ZodOptional<z.ZodNumber>;
13
+ excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
14
  }, "strip", z.ZodTypeAny, {
14
15
  address: string;
15
16
  name: string;
@@ -18,6 +19,7 @@ export declare namespace CreateNodeCommand {
18
19
  trafficResetDay?: number | undefined;
19
20
  trafficLimitBytes?: number | undefined;
20
21
  notifyPercent?: number | undefined;
22
+ excludedInbounds?: string[] | undefined;
21
23
  }, {
22
24
  address: string;
23
25
  name: string;
@@ -26,6 +28,7 @@ export declare namespace CreateNodeCommand {
26
28
  trafficResetDay?: number | undefined;
27
29
  trafficLimitBytes?: number | undefined;
28
30
  notifyPercent?: number | undefined;
31
+ excludedInbounds?: string[] | undefined;
29
32
  }>;
30
33
  type Request = z.infer<typeof RequestSchema>;
31
34
  const ResponseSchema: z.ZodObject<{
@@ -53,6 +56,19 @@ export declare namespace CreateNodeCommand {
53
56
  totalRam: z.ZodNullable<z.ZodString>;
54
57
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
55
58
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
59
+ excludedInbounds: z.ZodArray<z.ZodObject<{
60
+ uuid: z.ZodString;
61
+ tag: z.ZodString;
62
+ type: z.ZodString;
63
+ }, "strip", z.ZodTypeAny, {
64
+ uuid: string;
65
+ type: string;
66
+ tag: string;
67
+ }, {
68
+ uuid: string;
69
+ type: string;
70
+ tag: string;
71
+ }>, "many">;
56
72
  }, "strip", z.ZodTypeAny, {
57
73
  uuid: string;
58
74
  createdAt: Date;
@@ -77,6 +93,11 @@ export declare namespace CreateNodeCommand {
77
93
  cpuCount: number | null;
78
94
  cpuModel: string | null;
79
95
  totalRam: string | null;
96
+ excludedInbounds: {
97
+ uuid: string;
98
+ type: string;
99
+ tag: string;
100
+ }[];
80
101
  }, {
81
102
  uuid: string;
82
103
  createdAt: string;
@@ -101,6 +122,11 @@ export declare namespace CreateNodeCommand {
101
122
  cpuCount: number | null;
102
123
  cpuModel: string | null;
103
124
  totalRam: string | null;
125
+ excludedInbounds: {
126
+ uuid: string;
127
+ type: string;
128
+ tag: string;
129
+ }[];
104
130
  }>;
105
131
  }, "strip", z.ZodTypeAny, {
106
132
  response: {
@@ -127,6 +153,11 @@ export declare namespace CreateNodeCommand {
127
153
  cpuCount: number | null;
128
154
  cpuModel: string | null;
129
155
  totalRam: string | null;
156
+ excludedInbounds: {
157
+ uuid: string;
158
+ type: string;
159
+ tag: string;
160
+ }[];
130
161
  };
131
162
  }, {
132
163
  response: {
@@ -153,6 +184,11 @@ export declare namespace CreateNodeCommand {
153
184
  cpuCount: number | null;
154
185
  cpuModel: string | null;
155
186
  totalRam: string | null;
187
+ excludedInbounds: {
188
+ uuid: string;
189
+ type: string;
190
+ tag: string;
191
+ }[];
156
192
  };
157
193
  }>;
158
194
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;MAsBxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;MA2BxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -24,6 +24,9 @@ var CreateNodeCommand;
24
24
  .int()
25
25
  .min(1, 'Traffic reset day must be greater than 0')
26
26
  .max(31, 'Traffic reset day must be less than 31')),
27
+ excludedInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
28
+ invalid_type_error: 'Excluded inbounds must be an array of UUIDs',
29
+ })),
27
30
  });
28
31
  CreateNodeCommand.ResponseSchema = zod_1.z.object({
29
32
  response: models_1.NodesSchema,
@@ -35,6 +35,19 @@ export declare namespace DisableNodeCommand {
35
35
  totalRam: z.ZodNullable<z.ZodString>;
36
36
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
37
37
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
38
+ excludedInbounds: z.ZodArray<z.ZodObject<{
39
+ uuid: z.ZodString;
40
+ tag: z.ZodString;
41
+ type: z.ZodString;
42
+ }, "strip", z.ZodTypeAny, {
43
+ uuid: string;
44
+ type: string;
45
+ tag: string;
46
+ }, {
47
+ uuid: string;
48
+ type: string;
49
+ tag: string;
50
+ }>, "many">;
38
51
  }, "strip", z.ZodTypeAny, {
39
52
  uuid: string;
40
53
  createdAt: Date;
@@ -59,6 +72,11 @@ export declare namespace DisableNodeCommand {
59
72
  cpuCount: number | null;
60
73
  cpuModel: string | null;
61
74
  totalRam: string | null;
75
+ excludedInbounds: {
76
+ uuid: string;
77
+ type: string;
78
+ tag: string;
79
+ }[];
62
80
  }, {
63
81
  uuid: string;
64
82
  createdAt: string;
@@ -83,6 +101,11 @@ export declare namespace DisableNodeCommand {
83
101
  cpuCount: number | null;
84
102
  cpuModel: string | null;
85
103
  totalRam: string | null;
104
+ excludedInbounds: {
105
+ uuid: string;
106
+ type: string;
107
+ tag: string;
108
+ }[];
86
109
  }>;
87
110
  }, "strip", z.ZodTypeAny, {
88
111
  response: {
@@ -109,6 +132,11 @@ export declare namespace DisableNodeCommand {
109
132
  cpuCount: number | null;
110
133
  cpuModel: string | null;
111
134
  totalRam: string | null;
135
+ excludedInbounds: {
136
+ uuid: string;
137
+ type: string;
138
+ tag: string;
139
+ }[];
112
140
  };
113
141
  }, {
114
142
  response: {
@@ -135,6 +163,11 @@ export declare namespace DisableNodeCommand {
135
163
  cpuCount: number | null;
136
164
  cpuModel: string | null;
137
165
  totalRam: string | null;
166
+ excludedInbounds: {
167
+ uuid: string;
168
+ type: string;
169
+ tag: string;
170
+ }[];
138
171
  };
139
172
  }>;
140
173
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAyB,CAAC;IACnC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"disable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/disable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,0BAAyB,CAAC;IACnC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -35,6 +35,19 @@ export declare namespace EnableNodeCommand {
35
35
  totalRam: z.ZodNullable<z.ZodString>;
36
36
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
37
37
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
38
+ excludedInbounds: z.ZodArray<z.ZodObject<{
39
+ uuid: z.ZodString;
40
+ tag: z.ZodString;
41
+ type: z.ZodString;
42
+ }, "strip", z.ZodTypeAny, {
43
+ uuid: string;
44
+ type: string;
45
+ tag: string;
46
+ }, {
47
+ uuid: string;
48
+ type: string;
49
+ tag: string;
50
+ }>, "many">;
38
51
  }, "strip", z.ZodTypeAny, {
39
52
  uuid: string;
40
53
  createdAt: Date;
@@ -59,6 +72,11 @@ export declare namespace EnableNodeCommand {
59
72
  cpuCount: number | null;
60
73
  cpuModel: string | null;
61
74
  totalRam: string | null;
75
+ excludedInbounds: {
76
+ uuid: string;
77
+ type: string;
78
+ tag: string;
79
+ }[];
62
80
  }, {
63
81
  uuid: string;
64
82
  createdAt: string;
@@ -83,6 +101,11 @@ export declare namespace EnableNodeCommand {
83
101
  cpuCount: number | null;
84
102
  cpuModel: string | null;
85
103
  totalRam: string | null;
104
+ excludedInbounds: {
105
+ uuid: string;
106
+ type: string;
107
+ tag: string;
108
+ }[];
86
109
  }>;
87
110
  }, "strip", z.ZodTypeAny, {
88
111
  response: {
@@ -109,6 +132,11 @@ export declare namespace EnableNodeCommand {
109
132
  cpuCount: number | null;
110
133
  cpuModel: string | null;
111
134
  totalRam: string | null;
135
+ excludedInbounds: {
136
+ uuid: string;
137
+ type: string;
138
+ tag: string;
139
+ }[];
112
140
  };
113
141
  }, {
114
142
  response: {
@@ -135,6 +163,11 @@ export declare namespace EnableNodeCommand {
135
163
  cpuCount: number | null;
136
164
  cpuModel: string | null;
137
165
  totalRam: string | null;
166
+ excludedInbounds: {
167
+ uuid: string;
168
+ type: string;
169
+ tag: string;
170
+ }[];
138
171
  };
139
172
  }>;
140
173
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"enable.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/enable.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAwB,CAAC;IAClC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -27,6 +27,19 @@ export declare namespace GetAllNodesCommand {
27
27
  totalRam: z.ZodNullable<z.ZodString>;
28
28
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
29
29
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
30
+ excludedInbounds: z.ZodArray<z.ZodObject<{
31
+ uuid: z.ZodString;
32
+ tag: z.ZodString;
33
+ type: z.ZodString;
34
+ }, "strip", z.ZodTypeAny, {
35
+ uuid: string;
36
+ type: string;
37
+ tag: string;
38
+ }, {
39
+ uuid: string;
40
+ type: string;
41
+ tag: string;
42
+ }>, "many">;
30
43
  }, "strip", z.ZodTypeAny, {
31
44
  uuid: string;
32
45
  createdAt: Date;
@@ -51,6 +64,11 @@ export declare namespace GetAllNodesCommand {
51
64
  cpuCount: number | null;
52
65
  cpuModel: string | null;
53
66
  totalRam: string | null;
67
+ excludedInbounds: {
68
+ uuid: string;
69
+ type: string;
70
+ tag: string;
71
+ }[];
54
72
  }, {
55
73
  uuid: string;
56
74
  createdAt: string;
@@ -75,6 +93,11 @@ export declare namespace GetAllNodesCommand {
75
93
  cpuCount: number | null;
76
94
  cpuModel: string | null;
77
95
  totalRam: string | null;
96
+ excludedInbounds: {
97
+ uuid: string;
98
+ type: string;
99
+ tag: string;
100
+ }[];
78
101
  }>, "many">;
79
102
  }, "strip", z.ZodTypeAny, {
80
103
  response: {
@@ -101,6 +124,11 @@ export declare namespace GetAllNodesCommand {
101
124
  cpuCount: number | null;
102
125
  cpuModel: string | null;
103
126
  totalRam: string | null;
127
+ excludedInbounds: {
128
+ uuid: string;
129
+ type: string;
130
+ tag: string;
131
+ }[];
104
132
  }[];
105
133
  }, {
106
134
  response: {
@@ -127,6 +155,11 @@ export declare namespace GetAllNodesCommand {
127
155
  cpuCount: number | null;
128
156
  cpuModel: string | null;
129
157
  totalRam: string | null;
158
+ excludedInbounds: {
159
+ uuid: string;
160
+ type: string;
161
+ tag: string;
162
+ }[];
130
163
  }[];
131
164
  }>;
132
165
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,sBAAyB,CAAC;IACnC,MAAM,OAAO,sBAAM,CAAC;IAEpB,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -35,6 +35,19 @@ export declare namespace GetOneNodeCommand {
35
35
  totalRam: z.ZodNullable<z.ZodString>;
36
36
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
37
37
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
38
+ excludedInbounds: z.ZodArray<z.ZodObject<{
39
+ uuid: z.ZodString;
40
+ tag: z.ZodString;
41
+ type: z.ZodString;
42
+ }, "strip", z.ZodTypeAny, {
43
+ uuid: string;
44
+ type: string;
45
+ tag: string;
46
+ }, {
47
+ uuid: string;
48
+ type: string;
49
+ tag: string;
50
+ }>, "many">;
38
51
  }, "strip", z.ZodTypeAny, {
39
52
  uuid: string;
40
53
  createdAt: Date;
@@ -59,6 +72,11 @@ export declare namespace GetOneNodeCommand {
59
72
  cpuCount: number | null;
60
73
  cpuModel: string | null;
61
74
  totalRam: string | null;
75
+ excludedInbounds: {
76
+ uuid: string;
77
+ type: string;
78
+ tag: string;
79
+ }[];
62
80
  }, {
63
81
  uuid: string;
64
82
  createdAt: string;
@@ -83,6 +101,11 @@ export declare namespace GetOneNodeCommand {
83
101
  cpuCount: number | null;
84
102
  cpuModel: string | null;
85
103
  totalRam: string | null;
104
+ excludedInbounds: {
105
+ uuid: string;
106
+ type: string;
107
+ tag: string;
108
+ }[];
86
109
  }>;
87
110
  }, "strip", z.ZodTypeAny, {
88
111
  response: {
@@ -109,6 +132,11 @@ export declare namespace GetOneNodeCommand {
109
132
  cpuCount: number | null;
110
133
  cpuModel: string | null;
111
134
  totalRam: string | null;
135
+ excludedInbounds: {
136
+ uuid: string;
137
+ type: string;
138
+ tag: string;
139
+ }[];
112
140
  };
113
141
  }, {
114
142
  response: {
@@ -135,6 +163,11 @@ export declare namespace GetOneNodeCommand {
135
163
  cpuCount: number | null;
136
164
  cpuModel: string | null;
137
165
  totalRam: string | null;
166
+ excludedInbounds: {
167
+ uuid: string;
168
+ type: string;
169
+ tag: string;
170
+ }[];
138
171
  };
139
172
  }>;
140
173
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAyB,CAAC;IACnC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAAyB,CAAC;IACnC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -26,6 +26,19 @@ export declare namespace UpdateNodeCommand {
26
26
  totalRam: z.ZodNullable<z.ZodString>;
27
27
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
28
28
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
29
+ excludedInbounds: z.ZodArray<z.ZodObject<{
30
+ uuid: z.ZodString;
31
+ tag: z.ZodString;
32
+ type: z.ZodString;
33
+ }, "strip", z.ZodTypeAny, {
34
+ uuid: string;
35
+ type: string;
36
+ tag: string;
37
+ }, {
38
+ uuid: string;
39
+ type: string;
40
+ tag: string;
41
+ }>, "many">;
29
42
  }, "uuid">, {
30
43
  name: z.ZodOptional<z.ZodString>;
31
44
  address: z.ZodOptional<z.ZodString>;
@@ -34,6 +47,7 @@ export declare namespace UpdateNodeCommand {
34
47
  trafficLimitBytes: z.ZodOptional<z.ZodNumber>;
35
48
  notifyPercent: z.ZodOptional<z.ZodNumber>;
36
49
  trafficResetDay: z.ZodOptional<z.ZodNumber>;
50
+ excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37
51
  }>, "strip", z.ZodTypeAny, {
38
52
  uuid: string;
39
53
  address?: string | undefined;
@@ -43,6 +57,7 @@ export declare namespace UpdateNodeCommand {
43
57
  trafficResetDay?: number | undefined;
44
58
  trafficLimitBytes?: number | undefined;
45
59
  notifyPercent?: number | undefined;
60
+ excludedInbounds?: string[] | undefined;
46
61
  }, {
47
62
  uuid: string;
48
63
  address?: string | undefined;
@@ -52,6 +67,7 @@ export declare namespace UpdateNodeCommand {
52
67
  trafficResetDay?: number | undefined;
53
68
  trafficLimitBytes?: number | undefined;
54
69
  notifyPercent?: number | undefined;
70
+ excludedInbounds?: string[] | undefined;
55
71
  }>;
56
72
  type Request = z.infer<typeof RequestSchema>;
57
73
  const ResponseSchema: z.ZodObject<{
@@ -79,6 +95,19 @@ export declare namespace UpdateNodeCommand {
79
95
  totalRam: z.ZodNullable<z.ZodString>;
80
96
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
81
97
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
98
+ excludedInbounds: z.ZodArray<z.ZodObject<{
99
+ uuid: z.ZodString;
100
+ tag: z.ZodString;
101
+ type: z.ZodString;
102
+ }, "strip", z.ZodTypeAny, {
103
+ uuid: string;
104
+ type: string;
105
+ tag: string;
106
+ }, {
107
+ uuid: string;
108
+ type: string;
109
+ tag: string;
110
+ }>, "many">;
82
111
  }, "strip", z.ZodTypeAny, {
83
112
  uuid: string;
84
113
  createdAt: Date;
@@ -103,6 +132,11 @@ export declare namespace UpdateNodeCommand {
103
132
  cpuCount: number | null;
104
133
  cpuModel: string | null;
105
134
  totalRam: string | null;
135
+ excludedInbounds: {
136
+ uuid: string;
137
+ type: string;
138
+ tag: string;
139
+ }[];
106
140
  }, {
107
141
  uuid: string;
108
142
  createdAt: string;
@@ -127,6 +161,11 @@ export declare namespace UpdateNodeCommand {
127
161
  cpuCount: number | null;
128
162
  cpuModel: string | null;
129
163
  totalRam: string | null;
164
+ excludedInbounds: {
165
+ uuid: string;
166
+ type: string;
167
+ tag: string;
168
+ }[];
130
169
  }>;
131
170
  }, "strip", z.ZodTypeAny, {
132
171
  response: {
@@ -153,6 +192,11 @@ export declare namespace UpdateNodeCommand {
153
192
  cpuCount: number | null;
154
193
  cpuModel: string | null;
155
194
  totalRam: string | null;
195
+ excludedInbounds: {
196
+ uuid: string;
197
+ type: string;
198
+ tag: string;
199
+ }[];
156
200
  };
157
201
  }, {
158
202
  response: {
@@ -179,6 +223,11 @@ export declare namespace UpdateNodeCommand {
179
223
  cpuCount: number | null;
180
224
  cpuModel: string | null;
181
225
  totalRam: string | null;
226
+ excludedInbounds: {
227
+ uuid: string;
228
+ type: string;
229
+ tag: string;
230
+ }[];
182
231
  };
183
232
  }>;
184
233
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoBxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/nodes/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -24,6 +24,9 @@ var UpdateNodeCommand;
24
24
  .number()
25
25
  .min(1, 'Traffic reset day must be greater than 0')
26
26
  .max(31, 'Traffic reset day must be less than 31')),
27
+ excludedInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
28
+ invalid_type_error: 'Excluded inbounds must be an array of UUIDs',
29
+ })),
27
30
  });
28
31
  UpdateNodeCommand.ResponseSchema = zod_1.z.object({
29
32
  response: models_1.NodesSchema,
@@ -44,24 +44,36 @@ export declare namespace GetStatsCommand {
44
44
  uptime: z.ZodNumber;
45
45
  timestamp: z.ZodNumber;
46
46
  users: z.ZodObject<{
47
- onlineLastMinute: z.ZodNumber;
48
47
  statusCounts: z.ZodRecord<z.ZodEnum<[string, ...string[]]>, z.ZodNumber>;
49
48
  totalUsers: z.ZodNumber;
50
49
  totalTrafficBytes: z.ZodString;
51
50
  }, "strip", z.ZodTypeAny, {
52
- onlineLastMinute: number;
53
51
  statusCounts: Record<string, number>;
54
52
  totalUsers: number;
55
53
  totalTrafficBytes: string;
56
54
  }, {
57
- onlineLastMinute: number;
58
55
  statusCounts: Record<string, number>;
59
56
  totalUsers: number;
60
57
  totalTrafficBytes: string;
61
58
  }>;
59
+ onlineStats: z.ZodObject<{
60
+ lastDay: z.ZodNumber;
61
+ lastWeek: z.ZodNumber;
62
+ neverOnline: z.ZodNumber;
63
+ onlineNow: z.ZodNumber;
64
+ }, "strip", z.ZodTypeAny, {
65
+ lastDay: number;
66
+ lastWeek: number;
67
+ neverOnline: number;
68
+ onlineNow: number;
69
+ }, {
70
+ lastDay: number;
71
+ lastWeek: number;
72
+ neverOnline: number;
73
+ onlineNow: number;
74
+ }>;
62
75
  }, "strip", z.ZodTypeAny, {
63
76
  users: {
64
- onlineLastMinute: number;
65
77
  statusCounts: Record<string, number>;
66
78
  totalUsers: number;
67
79
  totalTrafficBytes: string;
@@ -79,9 +91,14 @@ export declare namespace GetStatsCommand {
79
91
  };
80
92
  uptime: number;
81
93
  timestamp: number;
94
+ onlineStats: {
95
+ lastDay: number;
96
+ lastWeek: number;
97
+ neverOnline: number;
98
+ onlineNow: number;
99
+ };
82
100
  }, {
83
101
  users: {
84
- onlineLastMinute: number;
85
102
  statusCounts: Record<string, number>;
86
103
  totalUsers: number;
87
104
  totalTrafficBytes: string;
@@ -99,11 +116,16 @@ export declare namespace GetStatsCommand {
99
116
  };
100
117
  uptime: number;
101
118
  timestamp: number;
119
+ onlineStats: {
120
+ lastDay: number;
121
+ lastWeek: number;
122
+ neverOnline: number;
123
+ onlineNow: number;
124
+ };
102
125
  }>;
103
126
  }, "strip", z.ZodTypeAny, {
104
127
  response: {
105
128
  users: {
106
- onlineLastMinute: number;
107
129
  statusCounts: Record<string, number>;
108
130
  totalUsers: number;
109
131
  totalTrafficBytes: string;
@@ -121,11 +143,16 @@ export declare namespace GetStatsCommand {
121
143
  };
122
144
  uptime: number;
123
145
  timestamp: number;
146
+ onlineStats: {
147
+ lastDay: number;
148
+ lastWeek: number;
149
+ neverOnline: number;
150
+ onlineNow: number;
151
+ };
124
152
  };
125
153
  }, {
126
154
  response: {
127
155
  users: {
128
- onlineLastMinute: number;
129
156
  statusCounts: Record<string, number>;
130
157
  totalUsers: number;
131
158
  totalTrafficBytes: string;
@@ -143,6 +170,12 @@ export declare namespace GetStatsCommand {
143
170
  };
144
171
  uptime: number;
145
172
  timestamp: number;
173
+ onlineStats: {
174
+ lastDay: number;
175
+ lastWeek: number;
176
+ neverOnline: number;
177
+ onlineNow: number;
178
+ };
146
179
  };
147
180
  }>;
148
181
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,eAAe,CAAC;IACtB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-stats.command.d.ts","sourceRoot":"","sources":["../../../../commands/system/get-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,eAAe,CAAC;IACtB,MAAM,GAAG,qBAAwB,CAAC;IAClC,MAAM,OAAO,qBAAM,CAAC;IAEpB,MAAM,kBAAkB;;;;;;MAE7B,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAElD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8BzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -27,11 +27,16 @@ var GetStatsCommand;
27
27
  uptime: zod_1.z.number(),
28
28
  timestamp: zod_1.z.number(),
29
29
  users: zod_1.z.object({
30
- onlineLastMinute: zod_1.z.number(),
31
30
  statusCounts: zod_1.z.record(zod_1.z.enum(Object.values(constants_1.USERS_STATUS)), zod_1.z.number()),
32
31
  totalUsers: zod_1.z.number(),
33
32
  totalTrafficBytes: zod_1.z.string(),
34
33
  }),
34
+ onlineStats: zod_1.z.object({
35
+ lastDay: zod_1.z.number(),
36
+ lastWeek: zod_1.z.number(),
37
+ neverOnline: zod_1.z.number(),
38
+ onlineNow: zod_1.z.number(),
39
+ }),
35
40
  }),
36
41
  });
37
42
  })(GetStatsCommand || (exports.GetStatsCommand = GetStatsCommand = {}));
@@ -23,6 +23,19 @@ export declare const NodesSchema: z.ZodObject<{
23
23
  totalRam: z.ZodNullable<z.ZodString>;
24
24
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
25
25
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
26
+ excludedInbounds: z.ZodArray<z.ZodObject<{
27
+ uuid: z.ZodString;
28
+ tag: z.ZodString;
29
+ type: z.ZodString;
30
+ }, "strip", z.ZodTypeAny, {
31
+ uuid: string;
32
+ type: string;
33
+ tag: string;
34
+ }, {
35
+ uuid: string;
36
+ type: string;
37
+ tag: string;
38
+ }>, "many">;
26
39
  }, "strip", z.ZodTypeAny, {
27
40
  uuid: string;
28
41
  createdAt: Date;
@@ -47,6 +60,11 @@ export declare const NodesSchema: z.ZodObject<{
47
60
  cpuCount: number | null;
48
61
  cpuModel: string | null;
49
62
  totalRam: string | null;
63
+ excludedInbounds: {
64
+ uuid: string;
65
+ type: string;
66
+ tag: string;
67
+ }[];
50
68
  }, {
51
69
  uuid: string;
52
70
  createdAt: string;
@@ -71,5 +89,10 @@ export declare const NodesSchema: z.ZodObject<{
71
89
  cpuCount: number | null;
72
90
  cpuModel: string | null;
73
91
  totalRam: string | null;
92
+ excludedInbounds: {
93
+ uuid: string;
94
+ type: string;
95
+ tag: string;
96
+ }[];
74
97
  }>;
75
98
  //# 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;AAExB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BtB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BtB,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NodesSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const inbounds_schema_1 = require("./inbounds.schema");
5
6
  exports.NodesSchema = zod_1.z.object({
6
7
  uuid: zod_1.z.string().uuid(),
7
8
  name: zod_1.z.string(),
@@ -26,4 +27,5 @@ exports.NodesSchema = zod_1.z.object({
26
27
  totalRam: zod_1.z.nullable(zod_1.z.string()),
27
28
  createdAt: zod_1.z.string().transform((str) => new Date(str)),
28
29
  updatedAt: zod_1.z.string().transform((str) => new Date(str)),
30
+ excludedInbounds: zod_1.z.array(inbounds_schema_1.InboundsSchema),
29
31
  });
@@ -24,6 +24,9 @@ var CreateNodeCommand;
24
24
  .int()
25
25
  .min(1, 'Traffic reset day must be greater than 0')
26
26
  .max(31, 'Traffic reset day must be less than 31')),
27
+ excludedInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
28
+ invalid_type_error: 'Excluded inbounds must be an array of UUIDs',
29
+ })),
27
30
  });
28
31
  CreateNodeCommand.ResponseSchema = zod_1.z.object({
29
32
  response: models_1.NodesSchema,
@@ -24,6 +24,9 @@ var UpdateNodeCommand;
24
24
  .number()
25
25
  .min(1, 'Traffic reset day must be greater than 0')
26
26
  .max(31, 'Traffic reset day must be less than 31')),
27
+ excludedInbounds: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid(), {
28
+ invalid_type_error: 'Excluded inbounds must be an array of UUIDs',
29
+ })),
27
30
  });
28
31
  UpdateNodeCommand.ResponseSchema = zod_1.z.object({
29
32
  response: models_1.NodesSchema,
@@ -27,11 +27,16 @@ var GetStatsCommand;
27
27
  uptime: zod_1.z.number(),
28
28
  timestamp: zod_1.z.number(),
29
29
  users: zod_1.z.object({
30
- onlineLastMinute: zod_1.z.number(),
31
30
  statusCounts: zod_1.z.record(zod_1.z.enum(Object.values(constants_1.USERS_STATUS)), zod_1.z.number()),
32
31
  totalUsers: zod_1.z.number(),
33
32
  totalTrafficBytes: zod_1.z.string(),
34
33
  }),
34
+ onlineStats: zod_1.z.object({
35
+ lastDay: zod_1.z.number(),
36
+ lastWeek: zod_1.z.number(),
37
+ neverOnline: zod_1.z.number(),
38
+ onlineNow: zod_1.z.number(),
39
+ }),
35
40
  }),
36
41
  });
37
42
  })(GetStatsCommand || (exports.GetStatsCommand = GetStatsCommand = {}));
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NodesSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const inbounds_schema_1 = require("./inbounds.schema");
5
6
  exports.NodesSchema = zod_1.z.object({
6
7
  uuid: zod_1.z.string().uuid(),
7
8
  name: zod_1.z.string(),
@@ -26,4 +27,5 @@ exports.NodesSchema = zod_1.z.object({
26
27
  totalRam: zod_1.z.nullable(zod_1.z.string()),
27
28
  createdAt: zod_1.z.string().transform((str) => new Date(str)),
28
29
  updatedAt: zod_1.z.string().transform((str) => new Date(str)),
30
+ excludedInbounds: zod_1.z.array(inbounds_schema_1.InboundsSchema),
29
31
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.0.64",
3
+ "version": "0.0.66",
4
4
  "description": "A contract library for Remnawave",
5
5
  "main": "build/backend/index.js",
6
6
  "browser": "build/frontend/index.js",