@remnawave/backend-contract 3.3.1 → 3.3.3
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.
- package/build/backend/api/controllers/index.d.ts +1 -0
- package/build/backend/api/controllers/index.d.ts.map +1 -1
- package/build/backend/api/controllers/index.js +1 -0
- package/build/backend/api/controllers/node-integrations.d.ts +9 -0
- package/build/backend/api/controllers/node-integrations.d.ts.map +1 -0
- package/build/backend/api/controllers/node-integrations.js +11 -0
- package/build/backend/api/controllers-info.d.ts +5 -0
- package/build/backend/api/controllers-info.d.ts.map +1 -1
- package/build/backend/api/controllers-info.js +5 -0
- package/build/backend/api/routes.d.ts +7 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +7 -0
- package/build/backend/commands/index.d.ts +1 -0
- package/build/backend/commands/index.d.ts.map +1 -1
- package/build/backend/commands/index.js +1 -0
- package/build/backend/commands/node-integrations/create-node-integration.command.d.ts +22 -0
- package/build/backend/commands/node-integrations/create-node-integration.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/create-node-integration.command.js +24 -0
- package/build/backend/commands/node-integrations/delete-node-integration.command.d.ts +11 -0
- package/build/backend/commands/node-integrations/delete-node-integration.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/delete-node-integration.command.js +15 -0
- package/build/backend/commands/node-integrations/get-node-integration.command.d.ts +20 -0
- package/build/backend/commands/node-integrations/get-node-integration.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/get-node-integration.command.js +19 -0
- package/build/backend/commands/node-integrations/get-node-integrations.command.d.ts +19 -0
- package/build/backend/commands/node-integrations/get-node-integrations.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/get-node-integrations.command.js +19 -0
- package/build/backend/commands/node-integrations/index.d.ts +6 -0
- package/build/backend/commands/node-integrations/index.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/index.js +21 -0
- package/build/backend/commands/node-integrations/update-node-integration.command.d.ts +24 -0
- package/build/backend/commands/node-integrations/update-node-integration.command.d.ts.map +1 -0
- package/build/backend/commands/node-integrations/update-node-integration.command.js +27 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts +1 -0
- package/build/backend/commands/nodes/actions/disable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +1 -0
- package/build/backend/commands/nodes/actions/enable.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +1 -0
- package/build/backend/commands/nodes/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts +1 -0
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +1 -0
- package/build/backend/commands/nodes/create.command.d.ts +2 -0
- package/build/backend/commands/nodes/create.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/create.command.js +1 -0
- package/build/backend/commands/nodes/get-node.command.d.ts +1 -0
- package/build/backend/commands/nodes/get-node.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/get-nodes.command.d.ts +1 -0
- package/build/backend/commands/nodes/get-nodes.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/node.response.d.ts +1 -0
- package/build/backend/commands/nodes/node.response.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +2 -0
- package/build/backend/commands/nodes/update.command.d.ts.map +1 -1
- package/build/backend/commands/nodes/update.command.js +1 -0
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +126 -108
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.d.ts +35 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +35 -0
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/node-integration.schema.d.ts +8 -0
- package/build/backend/models/node-integration.schema.d.ts.map +1 -0
- package/build/backend/models/node-integration.schema.js +13 -0
- package/build/backend/models/nodes.schema.d.ts +1 -0
- package/build/backend/models/nodes.schema.d.ts.map +1 -1
- package/build/backend/models/nodes.schema.js +1 -0
- package/build/backend/models/resolved-proxy-config.schema.d.ts +207 -107
- package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
- package/build/backend/models/resolved-proxy-config.schema.js +19 -35
- package/build/backend/models/webhook/webhook.schema.d.ts +4 -0
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/frontend/api/controllers/index.js +1 -0
- package/build/frontend/api/controllers/node-integrations.js +11 -0
- package/build/frontend/api/controllers-info.js +5 -0
- package/build/frontend/api/routes.js +7 -0
- package/build/frontend/commands/index.js +1 -0
- package/build/frontend/commands/node-integrations/create-node-integration.command.js +24 -0
- package/build/frontend/commands/node-integrations/delete-node-integration.command.js +15 -0
- package/build/frontend/commands/node-integrations/get-node-integration.command.js +19 -0
- package/build/frontend/commands/node-integrations/get-node-integrations.command.js +19 -0
- package/build/frontend/commands/node-integrations/index.js +21 -0
- package/build/frontend/commands/node-integrations/update-node-integration.command.js +27 -0
- package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +1 -0
- package/build/frontend/commands/nodes/create.command.js +1 -0
- package/build/frontend/commands/nodes/update.command.js +1 -0
- package/build/frontend/constants/errors/errors.js +35 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/node-integration.schema.js +13 -0
- package/build/frontend/models/nodes.schema.js +1 -0
- package/build/frontend/models/resolved-proxy-config.schema.js +19 -35
- package/package.json +1 -1
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -70,116 +70,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
70
70
|
}, z.core.$strip>>;
|
|
71
71
|
}, z.core.$strip>;
|
|
72
72
|
headers: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
|
|
73
|
-
resolvedProxyConfigs: z.ZodArray<z.ZodObject<{
|
|
73
|
+
resolvedProxyConfigs: z.ZodArray<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
74
74
|
finalRemark: z.ZodString;
|
|
75
75
|
address: z.ZodString;
|
|
76
76
|
port: z.ZodInt;
|
|
77
|
-
protocol: z.ZodEnum<{
|
|
78
|
-
vless: "vless";
|
|
79
|
-
trojan: "trojan";
|
|
80
|
-
shadowsocks: "shadowsocks";
|
|
81
|
-
hysteria: "hysteria";
|
|
82
|
-
}>;
|
|
83
|
-
protocolOptions: z.ZodUnion<readonly [z.ZodObject<{
|
|
84
|
-
encryption: z.ZodString;
|
|
85
|
-
id: z.ZodString;
|
|
86
|
-
flow: z.ZodEnum<{
|
|
87
|
-
"": "";
|
|
88
|
-
"xtls-rprx-vision": "xtls-rprx-vision";
|
|
89
|
-
"xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
|
|
90
|
-
}>;
|
|
91
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
-
password: z.ZodString;
|
|
93
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
94
|
-
method: z.ZodString;
|
|
95
|
-
password: z.ZodString;
|
|
96
|
-
uot: z.ZodBoolean;
|
|
97
|
-
uotVersion: z.ZodInt;
|
|
98
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
99
|
-
version: z.ZodInt;
|
|
100
|
-
}, z.core.$strip>]>;
|
|
101
|
-
transport: z.ZodEnum<{
|
|
102
|
-
hysteria: "hysteria";
|
|
103
|
-
tcp: "tcp";
|
|
104
|
-
xhttp: "xhttp";
|
|
105
|
-
ws: "ws";
|
|
106
|
-
httpupgrade: "httpupgrade";
|
|
107
|
-
grpc: "grpc";
|
|
108
|
-
kcp: "kcp";
|
|
109
|
-
}>;
|
|
110
|
-
transportOptions: z.ZodUnion<readonly [z.ZodObject<{
|
|
111
|
-
header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
112
|
-
type: z.ZodLiteral<"none">;
|
|
113
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
-
type: z.ZodLiteral<"http">;
|
|
115
|
-
request: z.ZodOptional<z.ZodObject<{
|
|
116
|
-
version: z.ZodOptional<z.ZodString>;
|
|
117
|
-
method: z.ZodOptional<z.ZodString>;
|
|
118
|
-
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
120
|
-
}, z.core.$strip>>;
|
|
121
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
122
|
-
version: z.ZodOptional<z.ZodString>;
|
|
123
|
-
status: z.ZodOptional<z.ZodString>;
|
|
124
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
125
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
126
|
-
}, z.core.$strip>>;
|
|
127
|
-
}, z.core.$strip>], "type">>;
|
|
128
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
-
path: z.ZodNullable<z.ZodString>;
|
|
130
|
-
host: z.ZodNullable<z.ZodString>;
|
|
131
|
-
mode: z.ZodEnum<{
|
|
132
|
-
auto: "auto";
|
|
133
|
-
"packet-up": "packet-up";
|
|
134
|
-
"stream-up": "stream-up";
|
|
135
|
-
"stream-one": "stream-one";
|
|
136
|
-
}>;
|
|
137
|
-
extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
138
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
-
path: z.ZodNullable<z.ZodString>;
|
|
140
|
-
host: z.ZodNullable<z.ZodString>;
|
|
141
|
-
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
142
|
-
heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
|
|
143
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
144
|
-
path: z.ZodNullable<z.ZodString>;
|
|
145
|
-
host: z.ZodNullable<z.ZodString>;
|
|
146
|
-
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
147
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
-
authority: z.ZodNullable<z.ZodString>;
|
|
149
|
-
serviceName: z.ZodNullable<z.ZodString>;
|
|
150
|
-
multiMode: z.ZodBoolean;
|
|
151
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
152
|
-
clientMtu: z.ZodInt;
|
|
153
|
-
clientTti: z.ZodInt;
|
|
154
|
-
congestion: z.ZodBoolean;
|
|
155
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
156
|
-
version: z.ZodInt;
|
|
157
|
-
auth: z.ZodString;
|
|
158
|
-
}, z.core.$strip>]>;
|
|
159
|
-
security: z.ZodEnum<{
|
|
160
|
-
none: "none";
|
|
161
|
-
tls: "tls";
|
|
162
|
-
reality: "reality";
|
|
163
|
-
}>;
|
|
164
|
-
securityOptions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
165
|
-
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
166
|
-
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
167
|
-
alpn: z.ZodNullable<z.ZodString>;
|
|
168
|
-
enableSessionResumption: z.ZodBoolean;
|
|
169
|
-
fingerprint: z.ZodNullable<z.ZodString>;
|
|
170
|
-
serverName: z.ZodNullable<z.ZodString>;
|
|
171
|
-
echConfigList: z.ZodNullable<z.ZodString>;
|
|
172
|
-
echForceQuery: z.ZodNullable<z.ZodString>;
|
|
173
|
-
echSockopt: z.ZodNullable<z.ZodUnknown>;
|
|
174
|
-
cipherSuites: z.ZodNullable<z.ZodString>;
|
|
175
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
176
|
-
fingerprint: z.ZodString;
|
|
177
|
-
publicKey: z.ZodString;
|
|
178
|
-
shortId: z.ZodNullable<z.ZodString>;
|
|
179
|
-
serverName: z.ZodString;
|
|
180
|
-
spiderX: z.ZodNullable<z.ZodString>;
|
|
181
|
-
mldsa65Verify: z.ZodNullable<z.ZodString>;
|
|
182
|
-
}, z.core.$strip>]>>;
|
|
183
77
|
streamOverrides: z.ZodObject<{
|
|
184
78
|
finalMask: z.ZodNullable<z.ZodUnknown>;
|
|
185
79
|
sockopt: z.ZodNullable<z.ZodUnknown>;
|
|
@@ -257,7 +151,131 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
257
151
|
vlessRouteId: z.ZodNullable<z.ZodInt>;
|
|
258
152
|
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
259
153
|
}, z.core.$strip>;
|
|
260
|
-
}, z.core.$strip
|
|
154
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
155
|
+
protocol: z.ZodLiteral<"vless">;
|
|
156
|
+
protocolOptions: z.ZodObject<{
|
|
157
|
+
encryption: z.ZodString;
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
flow: z.ZodEnum<{
|
|
160
|
+
"": "";
|
|
161
|
+
"xtls-rprx-vision": "xtls-rprx-vision";
|
|
162
|
+
"xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
|
|
163
|
+
}>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
+
protocol: z.ZodLiteral<"trojan">;
|
|
167
|
+
protocolOptions: z.ZodObject<{
|
|
168
|
+
password: z.ZodString;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
171
|
+
protocol: z.ZodLiteral<"shadowsocks">;
|
|
172
|
+
protocolOptions: z.ZodObject<{
|
|
173
|
+
method: z.ZodString;
|
|
174
|
+
password: z.ZodString;
|
|
175
|
+
uot: z.ZodBoolean;
|
|
176
|
+
uotVersion: z.ZodInt;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
179
|
+
protocol: z.ZodLiteral<"hysteria">;
|
|
180
|
+
protocolOptions: z.ZodObject<{
|
|
181
|
+
version: z.ZodInt;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
}, z.core.$strip>], "protocol">>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
184
|
+
transport: z.ZodLiteral<"tcp">;
|
|
185
|
+
transportOptions: z.ZodObject<{
|
|
186
|
+
header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
187
|
+
type: z.ZodLiteral<"none">;
|
|
188
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
189
|
+
type: z.ZodLiteral<"http">;
|
|
190
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
191
|
+
version: z.ZodOptional<z.ZodString>;
|
|
192
|
+
method: z.ZodOptional<z.ZodString>;
|
|
193
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
194
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
response: z.ZodOptional<z.ZodObject<{
|
|
197
|
+
version: z.ZodOptional<z.ZodString>;
|
|
198
|
+
status: z.ZodOptional<z.ZodString>;
|
|
199
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
200
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
}, z.core.$strip>], "type">>;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
+
transport: z.ZodLiteral<"xhttp">;
|
|
206
|
+
transportOptions: z.ZodObject<{
|
|
207
|
+
path: z.ZodNullable<z.ZodString>;
|
|
208
|
+
host: z.ZodNullable<z.ZodString>;
|
|
209
|
+
mode: z.ZodEnum<{
|
|
210
|
+
auto: "auto";
|
|
211
|
+
"packet-up": "packet-up";
|
|
212
|
+
"stream-up": "stream-up";
|
|
213
|
+
"stream-one": "stream-one";
|
|
214
|
+
}>;
|
|
215
|
+
extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
+
transport: z.ZodLiteral<"ws">;
|
|
219
|
+
transportOptions: z.ZodObject<{
|
|
220
|
+
path: z.ZodNullable<z.ZodString>;
|
|
221
|
+
host: z.ZodNullable<z.ZodString>;
|
|
222
|
+
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
223
|
+
heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
226
|
+
transport: z.ZodLiteral<"httpupgrade">;
|
|
227
|
+
transportOptions: z.ZodObject<{
|
|
228
|
+
path: z.ZodNullable<z.ZodString>;
|
|
229
|
+
host: z.ZodNullable<z.ZodString>;
|
|
230
|
+
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
transport: z.ZodLiteral<"grpc">;
|
|
234
|
+
transportOptions: z.ZodObject<{
|
|
235
|
+
authority: z.ZodNullable<z.ZodString>;
|
|
236
|
+
serviceName: z.ZodNullable<z.ZodString>;
|
|
237
|
+
multiMode: z.ZodBoolean;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
transport: z.ZodLiteral<"kcp">;
|
|
241
|
+
transportOptions: z.ZodObject<{
|
|
242
|
+
clientMtu: z.ZodInt;
|
|
243
|
+
clientTti: z.ZodInt;
|
|
244
|
+
congestion: z.ZodBoolean;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
247
|
+
transport: z.ZodLiteral<"hysteria">;
|
|
248
|
+
transportOptions: z.ZodObject<{
|
|
249
|
+
version: z.ZodInt;
|
|
250
|
+
auth: z.ZodString;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
}, z.core.$strip>], "transport">>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
|
+
security: z.ZodLiteral<"tls">;
|
|
254
|
+
securityOptions: z.ZodObject<{
|
|
255
|
+
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
256
|
+
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
257
|
+
alpn: z.ZodNullable<z.ZodString>;
|
|
258
|
+
enableSessionResumption: z.ZodBoolean;
|
|
259
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
260
|
+
serverName: z.ZodNullable<z.ZodString>;
|
|
261
|
+
echConfigList: z.ZodNullable<z.ZodString>;
|
|
262
|
+
echForceQuery: z.ZodNullable<z.ZodString>;
|
|
263
|
+
echSockopt: z.ZodNullable<z.ZodUnknown>;
|
|
264
|
+
cipherSuites: z.ZodNullable<z.ZodString>;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
+
security: z.ZodLiteral<"reality">;
|
|
268
|
+
securityOptions: z.ZodObject<{
|
|
269
|
+
fingerprint: z.ZodString;
|
|
270
|
+
publicKey: z.ZodString;
|
|
271
|
+
shortId: z.ZodNullable<z.ZodString>;
|
|
272
|
+
serverName: z.ZodString;
|
|
273
|
+
spiderX: z.ZodNullable<z.ZodString>;
|
|
274
|
+
mldsa65Verify: z.ZodNullable<z.ZodString>;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
277
|
+
security: z.ZodLiteral<"none">;
|
|
278
|
+
}, z.core.$strip>], "security">>>;
|
|
261
279
|
}, z.core.$strip>;
|
|
262
280
|
}, z.core.$strip>;
|
|
263
281
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;qBAM7B,CAAC;IAEI,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;qBAM7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAoBzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1219,5 +1219,40 @@ export declare const ERRORS: {
|
|
|
1219
1219
|
readonly message: "Sync snippet error";
|
|
1220
1220
|
readonly httpCode: 500;
|
|
1221
1221
|
};
|
|
1222
|
+
readonly NODE_INTEGRATION_NOT_FOUND: {
|
|
1223
|
+
readonly code: "A238";
|
|
1224
|
+
readonly message: "Node integration not found";
|
|
1225
|
+
readonly httpCode: 404;
|
|
1226
|
+
};
|
|
1227
|
+
readonly GET_ALL_NODE_INTEGRATIONS_ERROR: {
|
|
1228
|
+
readonly code: "A239";
|
|
1229
|
+
readonly message: "Get all node integrations error";
|
|
1230
|
+
readonly httpCode: 500;
|
|
1231
|
+
};
|
|
1232
|
+
readonly GET_NODE_INTEGRATION_BY_UUID_ERROR: {
|
|
1233
|
+
readonly code: "A240";
|
|
1234
|
+
readonly message: "Get node integration by UUID error";
|
|
1235
|
+
readonly httpCode: 500;
|
|
1236
|
+
};
|
|
1237
|
+
readonly CREATE_NODE_INTEGRATION_ERROR: {
|
|
1238
|
+
readonly code: "A241";
|
|
1239
|
+
readonly message: "Create node integration error";
|
|
1240
|
+
readonly httpCode: 500;
|
|
1241
|
+
};
|
|
1242
|
+
readonly UPDATE_NODE_INTEGRATION_ERROR: {
|
|
1243
|
+
readonly code: "A242";
|
|
1244
|
+
readonly message: "Update node integration error";
|
|
1245
|
+
readonly httpCode: 500;
|
|
1246
|
+
};
|
|
1247
|
+
readonly DELETE_NODE_INTEGRATION_ERROR: {
|
|
1248
|
+
readonly code: "A243";
|
|
1249
|
+
readonly message: "Delete node integration error";
|
|
1250
|
+
readonly httpCode: 500;
|
|
1251
|
+
};
|
|
1252
|
+
readonly NODE_INTEGRATION_NAME_ALREADY_EXISTS: {
|
|
1253
|
+
readonly code: "A244";
|
|
1254
|
+
readonly message: "Node integration name already exists";
|
|
1255
|
+
readonly httpCode: 400;
|
|
1256
|
+
};
|
|
1222
1257
|
};
|
|
1223
1258
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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238',
|
|
1195
|
+
message: 'Node integration not found',
|
|
1196
|
+
httpCode: 404,
|
|
1197
|
+
},
|
|
1198
|
+
GET_ALL_NODE_INTEGRATIONS_ERROR: {
|
|
1199
|
+
code: 'A239',
|
|
1200
|
+
message: 'Get all node integrations error',
|
|
1201
|
+
httpCode: 500,
|
|
1202
|
+
},
|
|
1203
|
+
GET_NODE_INTEGRATION_BY_UUID_ERROR: {
|
|
1204
|
+
code: 'A240',
|
|
1205
|
+
message: 'Get node integration by UUID error',
|
|
1206
|
+
httpCode: 500,
|
|
1207
|
+
},
|
|
1208
|
+
CREATE_NODE_INTEGRATION_ERROR: {
|
|
1209
|
+
code: 'A241',
|
|
1210
|
+
message: 'Create node integration error',
|
|
1211
|
+
httpCode: 500,
|
|
1212
|
+
},
|
|
1213
|
+
UPDATE_NODE_INTEGRATION_ERROR: {
|
|
1214
|
+
code: 'A242',
|
|
1215
|
+
message: 'Update node integration error',
|
|
1216
|
+
httpCode: 500,
|
|
1217
|
+
},
|
|
1218
|
+
DELETE_NODE_INTEGRATION_ERROR: {
|
|
1219
|
+
code: 'A243',
|
|
1220
|
+
message: 'Delete node integration error',
|
|
1221
|
+
httpCode: 500,
|
|
1222
|
+
},
|
|
1223
|
+
NODE_INTEGRATION_NAME_ALREADY_EXISTS: {
|
|
1224
|
+
code: 'A244',
|
|
1225
|
+
message: 'Node integration name already exists',
|
|
1226
|
+
httpCode: 400,
|
|
1227
|
+
},
|
|
1193
1228
|
};
|
|
@@ -16,6 +16,7 @@ export * from './infra-billing-node.schema';
|
|
|
16
16
|
export * from './infra-provider.schema';
|
|
17
17
|
export * from './internal-squad.schema';
|
|
18
18
|
export * from './last-connected-node.schema';
|
|
19
|
+
export * from './node-integration.schema';
|
|
19
20
|
export * from './node-plugin.schema';
|
|
20
21
|
export * from './node-ips.schema';
|
|
21
22
|
export * from './node-system.schema';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/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AAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
|
|
@@ -32,6 +32,7 @@ __exportStar(require("./infra-billing-node.schema"), exports);
|
|
|
32
32
|
__exportStar(require("./infra-provider.schema"), exports);
|
|
33
33
|
__exportStar(require("./internal-squad.schema"), exports);
|
|
34
34
|
__exportStar(require("./last-connected-node.schema"), exports);
|
|
35
|
+
__exportStar(require("./node-integration.schema"), exports);
|
|
35
36
|
__exportStar(require("./node-plugin.schema"), exports);
|
|
36
37
|
__exportStar(require("./node-ips.schema"), exports);
|
|
37
38
|
__exportStar(require("./node-system.schema"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const NodeIntegrationSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodUUID;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
//# sourceMappingURL=node-integration.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node-integration.schema.d.ts","sourceRoot":"","sources":["../../../models/node-integration.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,qBAAqB;;;;;iBAKhC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NodeIntegrationSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.NodeIntegrationSchema = zod_1.default.object({
|
|
9
|
+
uuid: zod_1.default.uuid(),
|
|
10
|
+
name: zod_1.default.string(),
|
|
11
|
+
description: zod_1.default.nullable(zod_1.default.string()),
|
|
12
|
+
config: zod_1.default.record(zod_1.default.string(), zod_1.default.unknown()),
|
|
13
|
+
});
|
|
@@ -21,6 +21,7 @@ export declare const NodesSchema: z.ZodObject<{
|
|
|
21
21
|
consumptionMultiplier: z.ZodNumber;
|
|
22
22
|
nodeConsumptionMultiplier: z.ZodNumber;
|
|
23
23
|
tags: z.ZodArray<z.ZodString>;
|
|
24
|
+
integrationUuids: z.ZodArray<z.ZodUUID>;
|
|
24
25
|
ips: z.ZodArray<z.ZodObject<{
|
|
25
26
|
ip: z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>;
|
|
26
27
|
status: z.ZodEnum<{
|
|
@@ -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;AAOxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"nodes.schema.d.ts","sourceRoot":"","sources":["../../../models/nodes.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8CtB,CAAC"}
|
|
@@ -28,6 +28,7 @@ exports.NodesSchema = zod_1.z.object({
|
|
|
28
28
|
consumptionMultiplier: zod_1.z.number(),
|
|
29
29
|
nodeConsumptionMultiplier: zod_1.z.number(),
|
|
30
30
|
tags: zod_1.z.array(zod_1.z.string()),
|
|
31
|
+
integrationUuids: zod_1.z.array(zod_1.z.uuid()),
|
|
31
32
|
ips: node_ips_schema_1.NodeIpsSchema,
|
|
32
33
|
createdAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
|
|
33
34
|
updatedAt: zod_1.z.iso.datetime().transform((str) => new Date(str)),
|