@remnawave/backend-contract 0.4.5 → 0.5.0

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 (116) hide show
  1. package/build/backend/api/controllers/users.d.ts +19 -14
  2. package/build/backend/api/controllers/users.d.ts.map +1 -1
  3. package/build/backend/api/controllers/users.js +20 -15
  4. package/build/backend/api/routes.d.ts +17 -13
  5. package/build/backend/api/routes.d.ts.map +1 -1
  6. package/build/backend/api/routes.js +17 -13
  7. package/build/backend/commands/api-tokens/create.command.d.ts +4 -4
  8. package/build/backend/commands/api-tokens/find.command.d.ts +6 -6
  9. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +4 -4
  10. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +4 -4
  11. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +4 -4
  12. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +4 -4
  13. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +4 -4
  14. package/build/backend/commands/hosts/create.command.d.ts +4 -4
  15. package/build/backend/commands/hosts/get-all.command.d.ts +4 -4
  16. package/build/backend/commands/hosts/get-one.command.d.ts +4 -4
  17. package/build/backend/commands/hosts/update.command.d.ts +7 -7
  18. package/build/backend/commands/inbounds/get-full-inbounds.command.d.ts +4 -4
  19. package/build/backend/commands/inbounds/get-inbounds.command.d.ts +4 -4
  20. package/build/backend/commands/nodes/create.command.d.ts +6 -6
  21. package/build/backend/commands/nodes/disable.command.d.ts +6 -6
  22. package/build/backend/commands/nodes/enable.command.d.ts +6 -6
  23. package/build/backend/commands/nodes/get-all.command.d.ts +6 -6
  24. package/build/backend/commands/nodes/get-node-user-usage-by-range.command.d.ts +4 -4
  25. package/build/backend/commands/nodes/get-one.command.d.ts +6 -6
  26. package/build/backend/commands/nodes/reorder.command.d.ts +8 -8
  27. package/build/backend/commands/nodes/update.command.d.ts +11 -11
  28. package/build/backend/commands/users/activate-all-inbounds.command.d.ts +18 -17
  29. package/build/backend/commands/users/activate-all-inbounds.command.d.ts.map +1 -1
  30. package/build/backend/commands/users/activate-all-inbounds.command.js +3 -1
  31. package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +4 -4
  32. package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +2 -2
  33. package/build/backend/commands/users/create-user.command.d.ts +20 -19
  34. package/build/backend/commands/users/create-user.command.d.ts.map +1 -1
  35. package/build/backend/commands/users/create-user.command.js +2 -1
  36. package/build/backend/commands/users/delete-user.command.d.ts +1 -0
  37. package/build/backend/commands/users/delete-user.command.d.ts.map +1 -1
  38. package/build/backend/commands/users/delete-user.command.js +3 -1
  39. package/build/backend/commands/users/disable-user.command.d.ts +18 -17
  40. package/build/backend/commands/users/disable-user.command.d.ts.map +1 -1
  41. package/build/backend/commands/users/disable-user.command.js +3 -1
  42. package/build/backend/commands/users/enable-user.command.d.ts +18 -17
  43. package/build/backend/commands/users/enable-user.command.d.ts.map +1 -1
  44. package/build/backend/commands/users/enable-user.command.js +3 -1
  45. package/build/backend/commands/users/{get-all-users-v2.command.d.ts → get-all-users.command.d.ts} +28 -27
  46. package/build/backend/commands/users/get-all-users.command.d.ts.map +1 -0
  47. package/build/backend/commands/users/{get-all-users-v2.command.js → get-all-users.command.js} +10 -8
  48. package/build/backend/commands/users/get-user-by-email.command.d.ts +18 -17
  49. package/build/backend/commands/users/get-user-by-email.command.d.ts.map +1 -1
  50. package/build/backend/commands/users/get-user-by-email.command.js +3 -1
  51. package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts +18 -17
  52. package/build/backend/commands/users/get-user-by-short-uuid.command.d.ts.map +1 -1
  53. package/build/backend/commands/users/get-user-by-short-uuid.command.js +3 -1
  54. package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts +18 -17
  55. package/build/backend/commands/users/get-user-by-subscription-uuid.command.d.ts.map +1 -1
  56. package/build/backend/commands/users/get-user-by-subscription-uuid.command.js +3 -1
  57. package/build/backend/commands/users/get-user-by-telegram-id.command.d.ts +18 -17
  58. package/build/backend/commands/users/get-user-by-telegram-id.command.d.ts.map +1 -1
  59. package/build/backend/commands/users/get-user-by-telegram-id.command.js +3 -1
  60. package/build/backend/commands/users/get-user-by-username.command.d.ts +18 -17
  61. package/build/backend/commands/users/get-user-by-username.command.d.ts.map +1 -1
  62. package/build/backend/commands/users/get-user-by-username.command.js +3 -1
  63. package/build/backend/commands/users/get-user-by-uuid.command.d.ts +18 -17
  64. package/build/backend/commands/users/get-user-by-uuid.command.d.ts.map +1 -1
  65. package/build/backend/commands/users/get-user-by-uuid.command.js +2 -0
  66. package/build/backend/commands/users/index.d.ts +1 -1
  67. package/build/backend/commands/users/index.d.ts.map +1 -1
  68. package/build/backend/commands/users/index.js +1 -1
  69. package/build/backend/commands/users/reset-user-traffic.command.d.ts +18 -17
  70. package/build/backend/commands/users/reset-user-traffic.command.d.ts.map +1 -1
  71. package/build/backend/commands/users/reset-user-traffic.command.js +3 -1
  72. package/build/backend/commands/users/revoke-user-subscription.command.d.ts +18 -17
  73. package/build/backend/commands/users/revoke-user-subscription.command.d.ts.map +1 -1
  74. package/build/backend/commands/users/revoke-user-subscription.command.js +3 -1
  75. package/build/backend/commands/users/update-user.command.d.ts +27 -26
  76. package/build/backend/commands/users/update-user.command.d.ts.map +1 -1
  77. package/build/backend/commands/users/update-user.command.js +2 -1
  78. package/build/backend/constants/base-api/base-api-endpoint.d.ts +7 -0
  79. package/build/backend/constants/base-api/base-api-endpoint.d.ts.map +1 -0
  80. package/build/backend/constants/base-api/base-api-endpoint.js +10 -0
  81. package/build/backend/constants/base-api/index.d.ts +2 -0
  82. package/build/backend/constants/base-api/index.d.ts.map +1 -0
  83. package/build/backend/constants/base-api/index.js +17 -0
  84. package/build/backend/constants/index.d.ts +1 -0
  85. package/build/backend/constants/index.d.ts.map +1 -1
  86. package/build/backend/constants/index.js +1 -0
  87. package/build/backend/models/api-tokens.schema.d.ts +2 -2
  88. package/build/backend/models/extented-users.schema.d.ts +11 -11
  89. package/build/backend/models/full-inbounds.schema.d.ts +2 -2
  90. package/build/backend/models/hosts.schema.d.ts +2 -2
  91. package/build/backend/models/inbounds.schema.d.ts +2 -2
  92. package/build/backend/models/nodes.schema.d.ts +4 -4
  93. package/build/backend/models/users.schema.d.ts +8 -8
  94. package/build/frontend/api/controllers/users.js +20 -15
  95. package/build/frontend/api/routes.js +17 -13
  96. package/build/frontend/commands/users/activate-all-inbounds.command.js +3 -1
  97. package/build/frontend/commands/users/create-user.command.js +2 -1
  98. package/build/frontend/commands/users/delete-user.command.js +3 -1
  99. package/build/frontend/commands/users/disable-user.command.js +3 -1
  100. package/build/frontend/commands/users/enable-user.command.js +3 -1
  101. package/build/frontend/commands/users/{get-all-users-v2.command.js → get-all-users.command.js} +10 -8
  102. package/build/frontend/commands/users/get-user-by-email.command.js +3 -1
  103. package/build/frontend/commands/users/get-user-by-short-uuid.command.js +3 -1
  104. package/build/frontend/commands/users/get-user-by-subscription-uuid.command.js +3 -1
  105. package/build/frontend/commands/users/get-user-by-telegram-id.command.js +3 -1
  106. package/build/frontend/commands/users/get-user-by-username.command.js +3 -1
  107. package/build/frontend/commands/users/get-user-by-uuid.command.js +2 -0
  108. package/build/frontend/commands/users/index.js +1 -1
  109. package/build/frontend/commands/users/reset-user-traffic.command.js +3 -1
  110. package/build/frontend/commands/users/revoke-user-subscription.command.js +3 -1
  111. package/build/frontend/commands/users/update-user.command.js +2 -1
  112. package/build/frontend/constants/base-api/base-api-endpoint.js +10 -0
  113. package/build/frontend/constants/base-api/index.js +17 -0
  114. package/build/frontend/constants/index.js +1 -0
  115. package/package.json +1 -1
  116. package/build/backend/commands/users/get-all-users-v2.command.d.ts.map +0 -1
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare namespace UpdateHostCommand {
3
3
  const url: "/api/hosts/update";
4
4
  const TSQ_url: "/api/hosts/update";
5
- const RequestSchema: z.ZodObject<Pick<{
5
+ const RequestSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
6
6
  uuid: z.ZodString;
7
7
  inboundUuid: z.ZodString;
8
8
  viewPosition: z.ZodNumber;
@@ -22,7 +22,7 @@ export declare namespace UpdateHostCommand {
22
22
  readonly NONE: "NONE";
23
23
  }>>;
24
24
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
25
- }, "uuid"> & {
25
+ }, "uuid">, {
26
26
  inboundUuid: z.ZodOptional<z.ZodString>;
27
27
  remark: z.ZodOptional<z.ZodString>;
28
28
  address: z.ZodOptional<z.ZodString>;
@@ -57,7 +57,7 @@ export declare namespace UpdateHostCommand {
57
57
  readonly NONE: "NONE";
58
58
  }>>;
59
59
  xHttpExtraParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
60
- }, "strip", z.ZodTypeAny, {
60
+ }>, "strip", z.ZodTypeAny, {
61
61
  uuid: string;
62
62
  path?: string | undefined;
63
63
  port?: number | undefined;
@@ -111,8 +111,8 @@ export declare namespace UpdateHostCommand {
111
111
  }>>;
112
112
  xHttpExtraParams: z.ZodNullable<z.ZodUnknown>;
113
113
  }, "strip", z.ZodTypeAny, {
114
- uuid: string;
115
114
  path: string | null;
115
+ uuid: string;
116
116
  port: number;
117
117
  inboundUuid: string;
118
118
  viewPosition: number;
@@ -127,8 +127,8 @@ export declare namespace UpdateHostCommand {
127
127
  securityLayer: "DEFAULT" | "TLS" | "NONE";
128
128
  xHttpExtraParams?: unknown;
129
129
  }, {
130
- uuid: string;
131
130
  path: string | null;
131
+ uuid: string;
132
132
  port: number;
133
133
  inboundUuid: string;
134
134
  viewPosition: number;
@@ -145,8 +145,8 @@ export declare namespace UpdateHostCommand {
145
145
  }>;
146
146
  }, "strip", z.ZodTypeAny, {
147
147
  response: {
148
- uuid: string;
149
148
  path: string | null;
149
+ uuid: string;
150
150
  port: number;
151
151
  inboundUuid: string;
152
152
  viewPosition: number;
@@ -163,8 +163,8 @@ export declare namespace UpdateHostCommand {
163
163
  };
164
164
  }, {
165
165
  response: {
166
- uuid: string;
167
166
  path: string | null;
167
+ uuid: string;
168
168
  port: number;
169
169
  inboundUuid: string;
170
170
  viewPosition: number;
@@ -40,8 +40,8 @@ export declare namespace GetFullInboundsCommand {
40
40
  enabled: number;
41
41
  disabled: number;
42
42
  };
43
- uuid: string;
44
43
  type: string;
44
+ uuid: string;
45
45
  tag: string;
46
46
  network: string | null;
47
47
  security: string | null;
@@ -58,8 +58,8 @@ export declare namespace GetFullInboundsCommand {
58
58
  enabled: number;
59
59
  disabled: number;
60
60
  };
61
- uuid: string;
62
61
  type: string;
62
+ uuid: string;
63
63
  tag: string;
64
64
  network: string | null;
65
65
  security: string | null;
@@ -78,8 +78,8 @@ export declare namespace GetFullInboundsCommand {
78
78
  enabled: number;
79
79
  disabled: number;
80
80
  };
81
- uuid: string;
82
81
  type: string;
82
+ uuid: string;
83
83
  tag: string;
84
84
  network: string | null;
85
85
  security: string | null;
@@ -98,8 +98,8 @@ export declare namespace GetFullInboundsCommand {
98
98
  enabled: number;
99
99
  disabled: number;
100
100
  };
101
- uuid: string;
102
101
  type: string;
102
+ uuid: string;
103
103
  tag: string;
104
104
  network: string | null;
105
105
  security: string | null;
@@ -11,15 +11,15 @@ export declare namespace GetInboundsCommand {
11
11
  network: z.ZodNullable<z.ZodString>;
12
12
  security: z.ZodNullable<z.ZodString>;
13
13
  }, "strip", z.ZodTypeAny, {
14
- uuid: string;
15
14
  type: string;
15
+ uuid: string;
16
16
  tag: string;
17
17
  network: string | null;
18
18
  security: string | null;
19
19
  port: number;
20
20
  }, {
21
- uuid: string;
22
21
  type: string;
22
+ uuid: string;
23
23
  tag: string;
24
24
  network: string | null;
25
25
  security: string | null;
@@ -27,8 +27,8 @@ export declare namespace GetInboundsCommand {
27
27
  }>, "many">;
28
28
  }, "strip", z.ZodTypeAny, {
29
29
  response: {
30
- uuid: string;
31
30
  type: string;
31
+ uuid: string;
32
32
  tag: string;
33
33
  network: string | null;
34
34
  security: string | null;
@@ -36,8 +36,8 @@ export declare namespace GetInboundsCommand {
36
36
  }[];
37
37
  }, {
38
38
  response: {
39
- uuid: string;
40
39
  type: string;
40
+ uuid: string;
41
41
  tag: string;
42
42
  network: string | null;
43
43
  security: string | null;
@@ -73,14 +73,14 @@ export declare namespace CreateNodeCommand {
73
73
  network: z.ZodNullable<z.ZodString>;
74
74
  security: z.ZodNullable<z.ZodString>;
75
75
  }, "strip", z.ZodTypeAny, {
76
- uuid: string;
77
76
  type: string;
77
+ uuid: string;
78
78
  tag: string;
79
79
  network: string | null;
80
80
  security: string | null;
81
81
  }, {
82
- uuid: string;
83
82
  type: string;
83
+ uuid: string;
84
84
  tag: string;
85
85
  network: string | null;
86
86
  security: string | null;
@@ -114,8 +114,8 @@ export declare namespace CreateNodeCommand {
114
114
  cpuModel: string | null;
115
115
  totalRam: string | null;
116
116
  excludedInbounds: {
117
- uuid: string;
118
117
  type: string;
118
+ uuid: string;
119
119
  tag: string;
120
120
  network: string | null;
121
121
  security: string | null;
@@ -149,8 +149,8 @@ export declare namespace CreateNodeCommand {
149
149
  cpuModel: string | null;
150
150
  totalRam: string | null;
151
151
  excludedInbounds: {
152
- uuid: string;
153
152
  type: string;
153
+ uuid: string;
154
154
  tag: string;
155
155
  network: string | null;
156
156
  security: string | null;
@@ -186,8 +186,8 @@ export declare namespace CreateNodeCommand {
186
186
  cpuModel: string | null;
187
187
  totalRam: string | null;
188
188
  excludedInbounds: {
189
- uuid: string;
190
189
  type: string;
190
+ uuid: string;
191
191
  tag: string;
192
192
  network: string | null;
193
193
  security: string | null;
@@ -223,8 +223,8 @@ export declare namespace CreateNodeCommand {
223
223
  cpuModel: string | null;
224
224
  totalRam: string | null;
225
225
  excludedInbounds: {
226
- uuid: string;
227
226
  type: string;
227
+ uuid: string;
228
228
  tag: string;
229
229
  network: string | null;
230
230
  security: string | null;
@@ -46,14 +46,14 @@ export declare namespace DisableNodeCommand {
46
46
  network: z.ZodNullable<z.ZodString>;
47
47
  security: z.ZodNullable<z.ZodString>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- uuid: string;
50
49
  type: string;
50
+ uuid: string;
51
51
  tag: string;
52
52
  network: string | null;
53
53
  security: string | null;
54
54
  }, {
55
- uuid: string;
56
55
  type: string;
56
+ uuid: string;
57
57
  tag: string;
58
58
  network: string | null;
59
59
  security: string | null;
@@ -87,8 +87,8 @@ export declare namespace DisableNodeCommand {
87
87
  cpuModel: string | null;
88
88
  totalRam: string | null;
89
89
  excludedInbounds: {
90
- uuid: string;
91
90
  type: string;
91
+ uuid: string;
92
92
  tag: string;
93
93
  network: string | null;
94
94
  security: string | null;
@@ -122,8 +122,8 @@ export declare namespace DisableNodeCommand {
122
122
  cpuModel: string | null;
123
123
  totalRam: string | null;
124
124
  excludedInbounds: {
125
- uuid: string;
126
125
  type: string;
126
+ uuid: string;
127
127
  tag: string;
128
128
  network: string | null;
129
129
  security: string | null;
@@ -159,8 +159,8 @@ export declare namespace DisableNodeCommand {
159
159
  cpuModel: string | null;
160
160
  totalRam: string | null;
161
161
  excludedInbounds: {
162
- uuid: string;
163
162
  type: string;
163
+ uuid: string;
164
164
  tag: string;
165
165
  network: string | null;
166
166
  security: string | null;
@@ -196,8 +196,8 @@ export declare namespace DisableNodeCommand {
196
196
  cpuModel: string | null;
197
197
  totalRam: string | null;
198
198
  excludedInbounds: {
199
- uuid: string;
200
199
  type: string;
200
+ uuid: string;
201
201
  tag: string;
202
202
  network: string | null;
203
203
  security: string | null;
@@ -46,14 +46,14 @@ export declare namespace EnableNodeCommand {
46
46
  network: z.ZodNullable<z.ZodString>;
47
47
  security: z.ZodNullable<z.ZodString>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- uuid: string;
50
49
  type: string;
50
+ uuid: string;
51
51
  tag: string;
52
52
  network: string | null;
53
53
  security: string | null;
54
54
  }, {
55
- uuid: string;
56
55
  type: string;
56
+ uuid: string;
57
57
  tag: string;
58
58
  network: string | null;
59
59
  security: string | null;
@@ -87,8 +87,8 @@ export declare namespace EnableNodeCommand {
87
87
  cpuModel: string | null;
88
88
  totalRam: string | null;
89
89
  excludedInbounds: {
90
- uuid: string;
91
90
  type: string;
91
+ uuid: string;
92
92
  tag: string;
93
93
  network: string | null;
94
94
  security: string | null;
@@ -122,8 +122,8 @@ export declare namespace EnableNodeCommand {
122
122
  cpuModel: string | null;
123
123
  totalRam: string | null;
124
124
  excludedInbounds: {
125
- uuid: string;
126
125
  type: string;
126
+ uuid: string;
127
127
  tag: string;
128
128
  network: string | null;
129
129
  security: string | null;
@@ -159,8 +159,8 @@ export declare namespace EnableNodeCommand {
159
159
  cpuModel: string | null;
160
160
  totalRam: string | null;
161
161
  excludedInbounds: {
162
- uuid: string;
163
162
  type: string;
163
+ uuid: string;
164
164
  tag: string;
165
165
  network: string | null;
166
166
  security: string | null;
@@ -196,8 +196,8 @@ export declare namespace EnableNodeCommand {
196
196
  cpuModel: string | null;
197
197
  totalRam: string | null;
198
198
  excludedInbounds: {
199
- uuid: string;
200
199
  type: string;
200
+ uuid: string;
201
201
  tag: string;
202
202
  network: string | null;
203
203
  security: string | null;
@@ -38,14 +38,14 @@ export declare namespace GetAllNodesCommand {
38
38
  network: z.ZodNullable<z.ZodString>;
39
39
  security: z.ZodNullable<z.ZodString>;
40
40
  }, "strip", z.ZodTypeAny, {
41
- uuid: string;
42
41
  type: string;
42
+ uuid: string;
43
43
  tag: string;
44
44
  network: string | null;
45
45
  security: string | null;
46
46
  }, {
47
- uuid: string;
48
47
  type: string;
48
+ uuid: string;
49
49
  tag: string;
50
50
  network: string | null;
51
51
  security: string | null;
@@ -79,8 +79,8 @@ export declare namespace GetAllNodesCommand {
79
79
  cpuModel: string | null;
80
80
  totalRam: string | null;
81
81
  excludedInbounds: {
82
- uuid: string;
83
82
  type: string;
83
+ uuid: string;
84
84
  tag: string;
85
85
  network: string | null;
86
86
  security: string | null;
@@ -114,8 +114,8 @@ export declare namespace GetAllNodesCommand {
114
114
  cpuModel: string | null;
115
115
  totalRam: string | null;
116
116
  excludedInbounds: {
117
- uuid: string;
118
117
  type: string;
118
+ uuid: string;
119
119
  tag: string;
120
120
  network: string | null;
121
121
  security: string | null;
@@ -151,8 +151,8 @@ export declare namespace GetAllNodesCommand {
151
151
  cpuModel: string | null;
152
152
  totalRam: string | null;
153
153
  excludedInbounds: {
154
- uuid: string;
155
154
  type: string;
155
+ uuid: string;
156
156
  tag: string;
157
157
  network: string | null;
158
158
  security: string | null;
@@ -188,8 +188,8 @@ export declare namespace GetAllNodesCommand {
188
188
  cpuModel: string | null;
189
189
  totalRam: string | null;
190
190
  excludedInbounds: {
191
- uuid: string;
192
191
  type: string;
192
+ uuid: string;
193
193
  tag: string;
194
194
  network: string | null;
195
195
  security: string | null;
@@ -29,30 +29,30 @@ export declare namespace GetNodeUserUsageByRangeCommand {
29
29
  total: z.ZodNumber;
30
30
  date: z.ZodEffects<z.ZodString, Date, string>;
31
31
  }, "strip", z.ZodTypeAny, {
32
- username: string;
33
32
  date: Date;
33
+ username: string;
34
34
  userUuid: string;
35
35
  nodeUuid: string;
36
36
  total: number;
37
37
  }, {
38
- username: string;
39
38
  date: string;
39
+ username: string;
40
40
  userUuid: string;
41
41
  nodeUuid: string;
42
42
  total: number;
43
43
  }>, "many">;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  response: {
46
- username: string;
47
46
  date: Date;
47
+ username: string;
48
48
  userUuid: string;
49
49
  nodeUuid: string;
50
50
  total: number;
51
51
  }[];
52
52
  }, {
53
53
  response: {
54
- username: string;
55
54
  date: string;
55
+ username: string;
56
56
  userUuid: string;
57
57
  nodeUuid: string;
58
58
  total: number;
@@ -46,14 +46,14 @@ export declare namespace GetOneNodeCommand {
46
46
  network: z.ZodNullable<z.ZodString>;
47
47
  security: z.ZodNullable<z.ZodString>;
48
48
  }, "strip", z.ZodTypeAny, {
49
- uuid: string;
50
49
  type: string;
50
+ uuid: string;
51
51
  tag: string;
52
52
  network: string | null;
53
53
  security: string | null;
54
54
  }, {
55
- uuid: string;
56
55
  type: string;
56
+ uuid: string;
57
57
  tag: string;
58
58
  network: string | null;
59
59
  security: string | null;
@@ -87,8 +87,8 @@ export declare namespace GetOneNodeCommand {
87
87
  cpuModel: string | null;
88
88
  totalRam: string | null;
89
89
  excludedInbounds: {
90
- uuid: string;
91
90
  type: string;
91
+ uuid: string;
92
92
  tag: string;
93
93
  network: string | null;
94
94
  security: string | null;
@@ -122,8 +122,8 @@ export declare namespace GetOneNodeCommand {
122
122
  cpuModel: string | null;
123
123
  totalRam: string | null;
124
124
  excludedInbounds: {
125
- uuid: string;
126
125
  type: string;
126
+ uuid: string;
127
127
  tag: string;
128
128
  network: string | null;
129
129
  security: string | null;
@@ -159,8 +159,8 @@ export declare namespace GetOneNodeCommand {
159
159
  cpuModel: string | null;
160
160
  totalRam: string | null;
161
161
  excludedInbounds: {
162
- uuid: string;
163
162
  type: string;
163
+ uuid: string;
164
164
  tag: string;
165
165
  network: string | null;
166
166
  security: string | null;
@@ -196,8 +196,8 @@ export declare namespace GetOneNodeCommand {
196
196
  cpuModel: string | null;
197
197
  totalRam: string | null;
198
198
  excludedInbounds: {
199
- uuid: string;
200
199
  type: string;
200
+ uuid: string;
201
201
  tag: string;
202
202
  network: string | null;
203
203
  security: string | null;
@@ -38,14 +38,14 @@ export declare namespace ReorderNodeCommand {
38
38
  network: z.ZodNullable<z.ZodString>;
39
39
  security: z.ZodNullable<z.ZodString>;
40
40
  }, "strip", z.ZodTypeAny, {
41
- uuid: string;
42
41
  type: string;
42
+ uuid: string;
43
43
  tag: string;
44
44
  network: string | null;
45
45
  security: string | null;
46
46
  }, {
47
- uuid: string;
48
47
  type: string;
48
+ uuid: string;
49
49
  tag: string;
50
50
  network: string | null;
51
51
  security: string | null;
@@ -105,14 +105,14 @@ export declare namespace ReorderNodeCommand {
105
105
  network: z.ZodNullable<z.ZodString>;
106
106
  security: z.ZodNullable<z.ZodString>;
107
107
  }, "strip", z.ZodTypeAny, {
108
- uuid: string;
109
108
  type: string;
109
+ uuid: string;
110
110
  tag: string;
111
111
  network: string | null;
112
112
  security: string | null;
113
113
  }, {
114
- uuid: string;
115
114
  type: string;
115
+ uuid: string;
116
116
  tag: string;
117
117
  network: string | null;
118
118
  security: string | null;
@@ -146,8 +146,8 @@ export declare namespace ReorderNodeCommand {
146
146
  cpuModel: string | null;
147
147
  totalRam: string | null;
148
148
  excludedInbounds: {
149
- uuid: string;
150
149
  type: string;
150
+ uuid: string;
151
151
  tag: string;
152
152
  network: string | null;
153
153
  security: string | null;
@@ -181,8 +181,8 @@ export declare namespace ReorderNodeCommand {
181
181
  cpuModel: string | null;
182
182
  totalRam: string | null;
183
183
  excludedInbounds: {
184
- uuid: string;
185
184
  type: string;
185
+ uuid: string;
186
186
  tag: string;
187
187
  network: string | null;
188
188
  security: string | null;
@@ -218,8 +218,8 @@ export declare namespace ReorderNodeCommand {
218
218
  cpuModel: string | null;
219
219
  totalRam: string | null;
220
220
  excludedInbounds: {
221
- uuid: string;
222
221
  type: string;
222
+ uuid: string;
223
223
  tag: string;
224
224
  network: string | null;
225
225
  security: string | null;
@@ -255,8 +255,8 @@ export declare namespace ReorderNodeCommand {
255
255
  cpuModel: string | null;
256
256
  totalRam: string | null;
257
257
  excludedInbounds: {
258
- uuid: string;
259
258
  type: string;
259
+ uuid: string;
260
260
  tag: string;
261
261
  network: string | null;
262
262
  security: string | null;
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare namespace UpdateNodeCommand {
3
3
  const url: "/api/nodes/update";
4
4
  const TSQ_url: "/api/nodes/update";
5
- const RequestSchema: z.ZodObject<Pick<{
5
+ const RequestSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
6
6
  uuid: z.ZodString;
7
7
  name: z.ZodString;
8
8
  address: z.ZodString;
@@ -37,19 +37,19 @@ export declare namespace UpdateNodeCommand {
37
37
  network: z.ZodNullable<z.ZodString>;
38
38
  security: z.ZodNullable<z.ZodString>;
39
39
  }, "strip", z.ZodTypeAny, {
40
- uuid: string;
41
40
  type: string;
41
+ uuid: string;
42
42
  tag: string;
43
43
  network: string | null;
44
44
  security: string | null;
45
45
  }, {
46
- uuid: string;
47
46
  type: string;
47
+ uuid: string;
48
48
  tag: string;
49
49
  network: string | null;
50
50
  security: string | null;
51
51
  }>, "many">;
52
- }, "uuid"> & {
52
+ }, "uuid">, {
53
53
  name: z.ZodOptional<z.ZodString>;
54
54
  address: z.ZodOptional<z.ZodString>;
55
55
  port: z.ZodOptional<z.ZodNumber>;
@@ -60,7 +60,7 @@ export declare namespace UpdateNodeCommand {
60
60
  excludedInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
61
61
  countryCode: z.ZodOptional<z.ZodString>;
62
62
  consumptionMultiplier: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
63
- }, "strip", z.ZodTypeAny, {
63
+ }>, "strip", z.ZodTypeAny, {
64
64
  uuid: string;
65
65
  trafficLimitBytes?: number | undefined;
66
66
  port?: number | undefined;
@@ -122,14 +122,14 @@ export declare namespace UpdateNodeCommand {
122
122
  network: z.ZodNullable<z.ZodString>;
123
123
  security: z.ZodNullable<z.ZodString>;
124
124
  }, "strip", z.ZodTypeAny, {
125
- uuid: string;
126
125
  type: string;
126
+ uuid: string;
127
127
  tag: string;
128
128
  network: string | null;
129
129
  security: string | null;
130
130
  }, {
131
- uuid: string;
132
131
  type: string;
132
+ uuid: string;
133
133
  tag: string;
134
134
  network: string | null;
135
135
  security: string | null;
@@ -163,8 +163,8 @@ export declare namespace UpdateNodeCommand {
163
163
  cpuModel: string | null;
164
164
  totalRam: string | null;
165
165
  excludedInbounds: {
166
- uuid: string;
167
166
  type: string;
167
+ uuid: string;
168
168
  tag: string;
169
169
  network: string | null;
170
170
  security: string | null;
@@ -198,8 +198,8 @@ export declare namespace UpdateNodeCommand {
198
198
  cpuModel: string | null;
199
199
  totalRam: string | null;
200
200
  excludedInbounds: {
201
- uuid: string;
202
201
  type: string;
202
+ uuid: string;
203
203
  tag: string;
204
204
  network: string | null;
205
205
  security: string | null;
@@ -235,8 +235,8 @@ export declare namespace UpdateNodeCommand {
235
235
  cpuModel: string | null;
236
236
  totalRam: string | null;
237
237
  excludedInbounds: {
238
- uuid: string;
239
238
  type: string;
239
+ uuid: string;
240
240
  tag: string;
241
241
  network: string | null;
242
242
  security: string | null;
@@ -272,8 +272,8 @@ export declare namespace UpdateNodeCommand {
272
272
  cpuModel: string | null;
273
273
  totalRam: string | null;
274
274
  excludedInbounds: {
275
- uuid: string;
276
275
  type: string;
276
+ uuid: string;
277
277
  tag: string;
278
278
  network: string | null;
279
279
  security: string | null;