@remnawave/node-contract 2.7.0 → 2.9.1

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 (100) hide show
  1. package/build/api/controllers/index.d.ts +0 -1
  2. package/build/api/controllers/index.d.ts.map +1 -1
  3. package/build/api/controllers/index.js +0 -1
  4. package/build/api/routes.d.ts +0 -4
  5. package/build/api/routes.d.ts.map +1 -1
  6. package/build/api/routes.js +0 -4
  7. package/build/commands/handler/add-user.command.d.ts +17 -160
  8. package/build/commands/handler/add-user.command.d.ts.map +1 -1
  9. package/build/commands/handler/add-user.command.js +3 -3
  10. package/build/commands/handler/add-users.command.d.ts +18 -181
  11. package/build/commands/handler/add-users.command.d.ts.map +1 -1
  12. package/build/commands/handler/add-users.command.js +2 -2
  13. package/build/commands/handler/drop-ips.command.d.ts +4 -20
  14. package/build/commands/handler/drop-ips.command.d.ts.map +1 -1
  15. package/build/commands/handler/drop-users-connections.command.d.ts +4 -20
  16. package/build/commands/handler/drop-users-connections.command.d.ts.map +1 -1
  17. package/build/commands/handler/get-inbound-users-count.command.d.ts +3 -19
  18. package/build/commands/handler/get-inbound-users-count.command.d.ts.map +1 -1
  19. package/build/commands/handler/get-inbound-users.command.d.ts +4 -44
  20. package/build/commands/handler/get-inbound-users.command.d.ts.map +1 -1
  21. package/build/commands/handler/remove-user.command.d.ts +5 -35
  22. package/build/commands/handler/remove-user.command.d.ts.map +1 -1
  23. package/build/commands/handler/remove-user.command.js +1 -1
  24. package/build/commands/handler/remove-users.command.d.ts +5 -37
  25. package/build/commands/handler/remove-users.command.d.ts.map +1 -1
  26. package/build/commands/handler/remove-users.command.js +1 -1
  27. package/build/commands/index.d.ts +0 -1
  28. package/build/commands/index.d.ts.map +1 -1
  29. package/build/commands/index.js +0 -1
  30. package/build/commands/plugin/nftables/block-ips.schema.d.ts +5 -33
  31. package/build/commands/plugin/nftables/block-ips.schema.d.ts.map +1 -1
  32. package/build/commands/plugin/nftables/block-ips.schema.js +1 -1
  33. package/build/commands/plugin/nftables/recreate-tables.schema.d.ts +2 -14
  34. package/build/commands/plugin/nftables/recreate-tables.schema.d.ts.map +1 -1
  35. package/build/commands/plugin/nftables/unblock-ips.schema.d.ts +4 -20
  36. package/build/commands/plugin/nftables/unblock-ips.schema.d.ts.map +1 -1
  37. package/build/commands/plugin/nftables/unblock-ips.schema.js +1 -1
  38. package/build/commands/plugin/sync.command.d.ts +5 -37
  39. package/build/commands/plugin/sync.command.d.ts.map +1 -1
  40. package/build/commands/plugin/sync.command.js +2 -2
  41. package/build/commands/plugin/torrent-blocker/collect-reports.schema.d.ts +7 -205
  42. package/build/commands/plugin/torrent-blocker/collect-reports.schema.d.ts.map +1 -1
  43. package/build/commands/stats/get-all-inbounds-stats.command.d.ts +4 -44
  44. package/build/commands/stats/get-all-inbounds-stats.command.d.ts.map +1 -1
  45. package/build/commands/stats/get-all-outbounds-stats.command.d.ts +4 -44
  46. package/build/commands/stats/get-all-outbounds-stats.command.d.ts.map +1 -1
  47. package/build/commands/stats/get-combined-stats.command.d.ts +5 -73
  48. package/build/commands/stats/get-combined-stats.command.d.ts.map +1 -1
  49. package/build/commands/stats/get-inbound-stats.command.d.ts +3 -29
  50. package/build/commands/stats/get-inbound-stats.command.d.ts.map +1 -1
  51. package/build/commands/stats/get-outbound-stats.command.d.ts +3 -29
  52. package/build/commands/stats/get-outbound-stats.command.d.ts.map +1 -1
  53. package/build/commands/stats/get-system-stats.command.d.ts +9 -243
  54. package/build/commands/stats/get-system-stats.command.d.ts.map +1 -1
  55. package/build/commands/stats/get-user-ip-list.command.d.ts +5 -39
  56. package/build/commands/stats/get-user-ip-list.command.d.ts.map +1 -1
  57. package/build/commands/stats/get-user-ip-list.command.js +2 -3
  58. package/build/commands/stats/get-user-online-status.command.d.ts +3 -19
  59. package/build/commands/stats/get-user-online-status.command.d.ts.map +1 -1
  60. package/build/commands/stats/get-users-ip-list.command.d.ts +5 -59
  61. package/build/commands/stats/get-users-ip-list.command.d.ts.map +1 -1
  62. package/build/commands/stats/get-users-ip-list.command.js +1 -2
  63. package/build/commands/stats/get-users-stats.command.d.ts +4 -44
  64. package/build/commands/stats/get-users-stats.command.d.ts.map +1 -1
  65. package/build/commands/xray/get-node-health-check.command.d.ts +2 -26
  66. package/build/commands/xray/get-node-health-check.command.d.ts.map +1 -1
  67. package/build/commands/xray/start.command.d.ts +21 -336
  68. package/build/commands/xray/start.command.d.ts.map +1 -1
  69. package/build/commands/xray/start.command.js +3 -2
  70. package/build/commands/xray/stop.command.d.ts +2 -14
  71. package/build/commands/xray/stop.command.d.ts.map +1 -1
  72. package/build/constants/xray/stats.d.ts +4 -27
  73. package/build/constants/xray/stats.d.ts.map +1 -1
  74. package/build/constants/xray/stats.js +3 -35
  75. package/build/models/index.d.ts +1 -0
  76. package/build/models/index.d.ts.map +1 -1
  77. package/build/models/index.js +1 -0
  78. package/build/models/node-metadata.schema.d.ts +10 -0
  79. package/build/models/node-metadata.schema.d.ts.map +1 -0
  80. package/build/models/node-metadata.schema.js +11 -0
  81. package/build/models/node-system.schema.d.ts +14 -194
  82. package/build/models/node-system.schema.d.ts.map +1 -1
  83. package/build/models/node-system.schema.js +1 -1
  84. package/build/models/torrent-blocker.report.schema.d.ts +5 -95
  85. package/build/models/torrent-blocker.report.schema.d.ts.map +1 -1
  86. package/build/models/xray-webhook.schema.d.ts +1 -29
  87. package/build/models/xray-webhook.schema.d.ts.map +1 -1
  88. package/package.json +17 -17
  89. package/build/api/controllers/vision.d.ts +0 -6
  90. package/build/api/controllers/vision.d.ts.map +0 -1
  91. package/build/api/controllers/vision.js +0 -8
  92. package/build/commands/vision/block-ip.command.d.ts +0 -39
  93. package/build/commands/vision/block-ip.command.d.ts.map +0 -1
  94. package/build/commands/vision/block-ip.command.js +0 -19
  95. package/build/commands/vision/index.d.ts +0 -3
  96. package/build/commands/vision/index.d.ts.map +0 -1
  97. package/build/commands/vision/index.js +0 -18
  98. package/build/commands/vision/unblock-ip.command.d.ts +0 -39
  99. package/build/commands/vision/unblock-ip.command.d.ts.map +0 -1
  100. package/build/commands/vision/unblock-ip.command.js +0 -19
@@ -8,24 +8,10 @@ export declare namespace CollectReportsCommand {
8
8
  blocked: z.ZodBoolean;
9
9
  ip: z.ZodString;
10
10
  blockDuration: z.ZodNumber;
11
- willUnblockAt: z.ZodEffects<z.ZodString, Date, string>;
11
+ willUnblockAt: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
12
12
  userId: z.ZodString;
13
- processedAt: z.ZodEffects<z.ZodString, Date, string>;
14
- }, "strip", z.ZodTypeAny, {
15
- userId: string;
16
- ip: string;
17
- blocked: boolean;
18
- blockDuration: number;
19
- willUnblockAt: Date;
20
- processedAt: Date;
21
- }, {
22
- userId: string;
23
- ip: string;
24
- blocked: boolean;
25
- blockDuration: number;
26
- willUnblockAt: string;
27
- processedAt: string;
28
- }>;
13
+ processedAt: z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>;
14
+ }, z.core.$strip>;
29
15
  xrayReport: z.ZodObject<{
30
16
  email: z.ZodNullable<z.ZodString>;
31
17
  level: z.ZodNullable<z.ZodNumber>;
@@ -40,194 +26,10 @@ export declare namespace CollectReportsCommand {
40
26
  inboundLocal: z.ZodNullable<z.ZodString>;
41
27
  outboundTag: z.ZodNullable<z.ZodString>;
42
28
  ts: z.ZodNumber;
43
- }, "strip", z.ZodTypeAny, {
44
- email: string | null;
45
- level: number | null;
46
- protocol: string | null;
47
- network: string;
48
- source: string | null;
49
- destination: string;
50
- routeTarget: string | null;
51
- originalTarget: string | null;
52
- inboundTag: string | null;
53
- inboundName: string | null;
54
- inboundLocal: string | null;
55
- outboundTag: string | null;
56
- ts: number;
57
- }, {
58
- email: string | null;
59
- level: number | null;
60
- protocol: string | null;
61
- network: string;
62
- source: string | null;
63
- destination: string;
64
- routeTarget: string | null;
65
- originalTarget: string | null;
66
- inboundTag: string | null;
67
- inboundName: string | null;
68
- inboundLocal: string | null;
69
- outboundTag: string | null;
70
- ts: number;
71
- }>;
72
- }, "strip", z.ZodTypeAny, {
73
- actionReport: {
74
- userId: string;
75
- ip: string;
76
- blocked: boolean;
77
- blockDuration: number;
78
- willUnblockAt: Date;
79
- processedAt: Date;
80
- };
81
- xrayReport: {
82
- email: string | null;
83
- level: number | null;
84
- protocol: string | null;
85
- network: string;
86
- source: string | null;
87
- destination: string;
88
- routeTarget: string | null;
89
- originalTarget: string | null;
90
- inboundTag: string | null;
91
- inboundName: string | null;
92
- inboundLocal: string | null;
93
- outboundTag: string | null;
94
- ts: number;
95
- };
96
- }, {
97
- actionReport: {
98
- userId: string;
99
- ip: string;
100
- blocked: boolean;
101
- blockDuration: number;
102
- willUnblockAt: string;
103
- processedAt: string;
104
- };
105
- xrayReport: {
106
- email: string | null;
107
- level: number | null;
108
- protocol: string | null;
109
- network: string;
110
- source: string | null;
111
- destination: string;
112
- routeTarget: string | null;
113
- originalTarget: string | null;
114
- inboundTag: string | null;
115
- inboundName: string | null;
116
- inboundLocal: string | null;
117
- outboundTag: string | null;
118
- ts: number;
119
- };
120
- }>, "many">;
121
- }, "strip", z.ZodTypeAny, {
122
- reports: {
123
- actionReport: {
124
- userId: string;
125
- ip: string;
126
- blocked: boolean;
127
- blockDuration: number;
128
- willUnblockAt: Date;
129
- processedAt: Date;
130
- };
131
- xrayReport: {
132
- email: string | null;
133
- level: number | null;
134
- protocol: string | null;
135
- network: string;
136
- source: string | null;
137
- destination: string;
138
- routeTarget: string | null;
139
- originalTarget: string | null;
140
- inboundTag: string | null;
141
- inboundName: string | null;
142
- inboundLocal: string | null;
143
- outboundTag: string | null;
144
- ts: number;
145
- };
146
- }[];
147
- }, {
148
- reports: {
149
- actionReport: {
150
- userId: string;
151
- ip: string;
152
- blocked: boolean;
153
- blockDuration: number;
154
- willUnblockAt: string;
155
- processedAt: string;
156
- };
157
- xrayReport: {
158
- email: string | null;
159
- level: number | null;
160
- protocol: string | null;
161
- network: string;
162
- source: string | null;
163
- destination: string;
164
- routeTarget: string | null;
165
- originalTarget: string | null;
166
- inboundTag: string | null;
167
- inboundName: string | null;
168
- inboundLocal: string | null;
169
- outboundTag: string | null;
170
- ts: number;
171
- };
172
- }[];
173
- }>;
174
- }, "strip", z.ZodTypeAny, {
175
- response: {
176
- reports: {
177
- actionReport: {
178
- userId: string;
179
- ip: string;
180
- blocked: boolean;
181
- blockDuration: number;
182
- willUnblockAt: Date;
183
- processedAt: Date;
184
- };
185
- xrayReport: {
186
- email: string | null;
187
- level: number | null;
188
- protocol: string | null;
189
- network: string;
190
- source: string | null;
191
- destination: string;
192
- routeTarget: string | null;
193
- originalTarget: string | null;
194
- inboundTag: string | null;
195
- inboundName: string | null;
196
- inboundLocal: string | null;
197
- outboundTag: string | null;
198
- ts: number;
199
- };
200
- }[];
201
- };
202
- }, {
203
- response: {
204
- reports: {
205
- actionReport: {
206
- userId: string;
207
- ip: string;
208
- blocked: boolean;
209
- blockDuration: number;
210
- willUnblockAt: string;
211
- processedAt: string;
212
- };
213
- xrayReport: {
214
- email: string | null;
215
- level: number | null;
216
- protocol: string | null;
217
- network: string;
218
- source: string | null;
219
- destination: string;
220
- routeTarget: string | null;
221
- originalTarget: string | null;
222
- inboundTag: string | null;
223
- inboundName: string | null;
224
- inboundLocal: string | null;
225
- outboundTag: string | null;
226
- ts: number;
227
- };
228
- }[];
229
- };
230
- }>;
29
+ }, z.core.$strip>;
30
+ }, z.core.$strip>>;
31
+ }, z.core.$strip>;
32
+ }, z.core.$strip>;
231
33
  type Response = z.infer<typeof ResponseSchema>;
232
34
  }
233
35
  //# sourceMappingURL=collect-reports.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collect-reports.schema.d.ts","sourceRoot":"","sources":["../../../../commands/plugin/torrent-blocker/collect-reports.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,wCAA0C,CAAC;IAEpD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"collect-reports.schema.d.ts","sourceRoot":"","sources":["../../../../commands/plugin/torrent-blocker/collect-reports.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,wCAA0C,CAAC;IAEpD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -3,11 +3,7 @@ export declare namespace GetAllInboundsStatsCommand {
3
3
  const url: "/node/stats/get-all-inbounds-stats";
4
4
  const RequestSchema: z.ZodObject<{
5
5
  reset: z.ZodBoolean;
6
- }, "strip", z.ZodTypeAny, {
7
- reset: boolean;
8
- }, {
9
- reset: boolean;
10
- }>;
6
+ }, z.core.$strip>;
11
7
  type Request = z.infer<typeof RequestSchema>;
12
8
  const ResponseSchema: z.ZodObject<{
13
9
  response: z.ZodObject<{
@@ -15,45 +11,9 @@ export declare namespace GetAllInboundsStatsCommand {
15
11
  inbound: z.ZodString;
16
12
  downlink: z.ZodNumber;
17
13
  uplink: z.ZodNumber;
18
- }, "strip", z.ZodTypeAny, {
19
- inbound: string;
20
- downlink: number;
21
- uplink: number;
22
- }, {
23
- inbound: string;
24
- downlink: number;
25
- uplink: number;
26
- }>, "many">;
27
- }, "strip", z.ZodTypeAny, {
28
- inbounds: {
29
- inbound: string;
30
- downlink: number;
31
- uplink: number;
32
- }[];
33
- }, {
34
- inbounds: {
35
- inbound: string;
36
- downlink: number;
37
- uplink: number;
38
- }[];
39
- }>;
40
- }, "strip", z.ZodTypeAny, {
41
- response: {
42
- inbounds: {
43
- inbound: string;
44
- downlink: number;
45
- uplink: number;
46
- }[];
47
- };
48
- }, {
49
- response: {
50
- inbounds: {
51
- inbound: string;
52
- downlink: number;
53
- uplink: number;
54
- }[];
55
- };
56
- }>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
57
17
  type Response = z.infer<typeof ResponseSchema>;
58
18
  }
59
19
  //# sourceMappingURL=get-all-inbounds-stats.command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-inbounds-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-all-inbounds-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,sCAAwC,CAAC;IAElD,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all-inbounds-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-all-inbounds-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,sCAAwC,CAAC;IAElD,MAAM,aAAa;;qBAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;qBAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -3,11 +3,7 @@ export declare namespace GetAllOutboundsStatsCommand {
3
3
  const url: "/node/stats/get-all-outbounds-stats";
4
4
  const RequestSchema: z.ZodObject<{
5
5
  reset: z.ZodBoolean;
6
- }, "strip", z.ZodTypeAny, {
7
- reset: boolean;
8
- }, {
9
- reset: boolean;
10
- }>;
6
+ }, z.core.$strip>;
11
7
  type Request = z.infer<typeof RequestSchema>;
12
8
  const ResponseSchema: z.ZodObject<{
13
9
  response: z.ZodObject<{
@@ -15,45 +11,9 @@ export declare namespace GetAllOutboundsStatsCommand {
15
11
  outbound: z.ZodString;
16
12
  downlink: z.ZodNumber;
17
13
  uplink: z.ZodNumber;
18
- }, "strip", z.ZodTypeAny, {
19
- downlink: number;
20
- uplink: number;
21
- outbound: string;
22
- }, {
23
- downlink: number;
24
- uplink: number;
25
- outbound: string;
26
- }>, "many">;
27
- }, "strip", z.ZodTypeAny, {
28
- outbounds: {
29
- downlink: number;
30
- uplink: number;
31
- outbound: string;
32
- }[];
33
- }, {
34
- outbounds: {
35
- downlink: number;
36
- uplink: number;
37
- outbound: string;
38
- }[];
39
- }>;
40
- }, "strip", z.ZodTypeAny, {
41
- response: {
42
- outbounds: {
43
- downlink: number;
44
- uplink: number;
45
- outbound: string;
46
- }[];
47
- };
48
- }, {
49
- response: {
50
- outbounds: {
51
- downlink: number;
52
- uplink: number;
53
- outbound: string;
54
- }[];
55
- };
56
- }>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ }, z.core.$strip>;
57
17
  type Response = z.infer<typeof ResponseSchema>;
58
18
  }
59
19
  //# sourceMappingURL=get-all-outbounds-stats.command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-outbounds-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-all-outbounds-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,uCAAyC,CAAC;IAEnD,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all-outbounds-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-all-outbounds-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,uCAAyC,CAAC;IAEnD,MAAM,aAAa;;qBAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;qBAUzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -3,11 +3,7 @@ export declare namespace GetCombinedStatsCommand {
3
3
  const url: "/node/stats/get-combined-stats";
4
4
  const RequestSchema: z.ZodObject<{
5
5
  reset: z.ZodBoolean;
6
- }, "strip", z.ZodTypeAny, {
7
- reset: boolean;
8
- }, {
9
- reset: boolean;
10
- }>;
6
+ }, z.core.$strip>;
11
7
  type Request = z.infer<typeof RequestSchema>;
12
8
  const ResponseSchema: z.ZodObject<{
13
9
  response: z.ZodObject<{
@@ -15,78 +11,14 @@ export declare namespace GetCombinedStatsCommand {
15
11
  inbound: z.ZodString;
16
12
  downlink: z.ZodNumber;
17
13
  uplink: z.ZodNumber;
18
- }, "strip", z.ZodTypeAny, {
19
- inbound: string;
20
- downlink: number;
21
- uplink: number;
22
- }, {
23
- inbound: string;
24
- downlink: number;
25
- uplink: number;
26
- }>, "many">;
14
+ }, z.core.$strip>>;
27
15
  outbounds: z.ZodArray<z.ZodObject<{
28
16
  outbound: z.ZodString;
29
17
  downlink: z.ZodNumber;
30
18
  uplink: z.ZodNumber;
31
- }, "strip", z.ZodTypeAny, {
32
- downlink: number;
33
- uplink: number;
34
- outbound: string;
35
- }, {
36
- downlink: number;
37
- uplink: number;
38
- outbound: string;
39
- }>, "many">;
40
- }, "strip", z.ZodTypeAny, {
41
- inbounds: {
42
- inbound: string;
43
- downlink: number;
44
- uplink: number;
45
- }[];
46
- outbounds: {
47
- downlink: number;
48
- uplink: number;
49
- outbound: string;
50
- }[];
51
- }, {
52
- inbounds: {
53
- inbound: string;
54
- downlink: number;
55
- uplink: number;
56
- }[];
57
- outbounds: {
58
- downlink: number;
59
- uplink: number;
60
- outbound: string;
61
- }[];
62
- }>;
63
- }, "strip", z.ZodTypeAny, {
64
- response: {
65
- inbounds: {
66
- inbound: string;
67
- downlink: number;
68
- uplink: number;
69
- }[];
70
- outbounds: {
71
- downlink: number;
72
- uplink: number;
73
- outbound: string;
74
- }[];
75
- };
76
- }, {
77
- response: {
78
- inbounds: {
79
- inbound: string;
80
- downlink: number;
81
- uplink: number;
82
- }[];
83
- outbounds: {
84
- downlink: number;
85
- uplink: number;
86
- outbound: string;
87
- }[];
88
- };
89
- }>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ }, z.core.$strip>;
90
22
  type Response = z.infer<typeof ResponseSchema>;
91
23
  }
92
24
  //# sourceMappingURL=get-combined-stats.command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-combined-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-combined-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,kCAAoC,CAAC;IAE9C,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-combined-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-combined-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,kCAAoC,CAAC;IAE9C,MAAM,aAAa;;qBAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;qBAiBzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -4,41 +4,15 @@ export declare namespace GetInboundStatsCommand {
4
4
  const RequestSchema: z.ZodObject<{
5
5
  tag: z.ZodString;
6
6
  reset: z.ZodBoolean;
7
- }, "strip", z.ZodTypeAny, {
8
- tag: string;
9
- reset: boolean;
10
- }, {
11
- tag: string;
12
- reset: boolean;
13
- }>;
7
+ }, z.core.$strip>;
14
8
  type Request = z.infer<typeof RequestSchema>;
15
9
  const ResponseSchema: z.ZodObject<{
16
10
  response: z.ZodObject<{
17
11
  inbound: z.ZodString;
18
12
  downlink: z.ZodNumber;
19
13
  uplink: z.ZodNumber;
20
- }, "strip", z.ZodTypeAny, {
21
- inbound: string;
22
- downlink: number;
23
- uplink: number;
24
- }, {
25
- inbound: string;
26
- downlink: number;
27
- uplink: number;
28
- }>;
29
- }, "strip", z.ZodTypeAny, {
30
- response: {
31
- inbound: string;
32
- downlink: number;
33
- uplink: number;
34
- };
35
- }, {
36
- response: {
37
- inbound: string;
38
- downlink: number;
39
- uplink: number;
40
- };
41
- }>;
14
+ }, z.core.$strip>;
15
+ }, z.core.$strip>;
42
16
  type Response = z.infer<typeof ResponseSchema>;
43
17
  }
44
18
  //# sourceMappingURL=get-inbound-stats.command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-inbound-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-inbound-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,iCAAmC,CAAC;IAE7C,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;MAMzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-inbound-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-inbound-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,iCAAmC,CAAC;IAE7C,MAAM,aAAa;;;qBAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;qBAMzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -4,41 +4,15 @@ export declare namespace GetOutboundStatsCommand {
4
4
  const RequestSchema: z.ZodObject<{
5
5
  tag: z.ZodString;
6
6
  reset: z.ZodBoolean;
7
- }, "strip", z.ZodTypeAny, {
8
- tag: string;
9
- reset: boolean;
10
- }, {
11
- tag: string;
12
- reset: boolean;
13
- }>;
7
+ }, z.core.$strip>;
14
8
  type Request = z.infer<typeof RequestSchema>;
15
9
  const ResponseSchema: z.ZodObject<{
16
10
  response: z.ZodObject<{
17
11
  outbound: z.ZodString;
18
12
  downlink: z.ZodNumber;
19
13
  uplink: z.ZodNumber;
20
- }, "strip", z.ZodTypeAny, {
21
- downlink: number;
22
- uplink: number;
23
- outbound: string;
24
- }, {
25
- downlink: number;
26
- uplink: number;
27
- outbound: string;
28
- }>;
29
- }, "strip", z.ZodTypeAny, {
30
- response: {
31
- downlink: number;
32
- uplink: number;
33
- outbound: string;
34
- };
35
- }, {
36
- response: {
37
- downlink: number;
38
- uplink: number;
39
- outbound: string;
40
- };
41
- }>;
14
+ }, z.core.$strip>;
15
+ }, z.core.$strip>;
42
16
  type Response = z.infer<typeof ResponseSchema>;
43
17
  }
44
18
  //# sourceMappingURL=get-outbound-stats.command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-outbound-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-outbound-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,kCAAoC,CAAC;IAE9C,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;MAMzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-outbound-stats.command.d.ts","sourceRoot":"","sources":["../../../commands/stats/get-outbound-stats.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,kCAAoC,CAAC;IAE9C,MAAM,aAAa;;;qBAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;qBAMzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}