@remnawave/backend-contract 2.6.54 → 2.6.55

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolved-proxy-config.schema.d.ts","sourceRoot":"","sources":["../../../models/resolved-proxy-config.schema.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,219 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResolvedProxyConfigSchema = exports.ProxyEntryMetadataSchema = exports.SecurityVariantSchema = exports.TransportVariantSchema = exports.ProtocolVariantSchema = exports.RealitySecurityOptionsSchema = exports.TlsSecurityOptionsSchema = exports.HysteriaTransportOptionsSchema = exports.HysteriaProtocolOptionsSchema = exports.KcpTransportOptionsSchema = exports.GrpcTransportOptionsSchema = exports.HttpUpgradeTransportOptionsSchema = exports.WsTransportOptionsSchema = exports.XhttpTransportOptionsSchema = exports.TcpTransportOptionsSchema = exports.ShadowsocksProtocolOptionsSchema = exports.TrojanProtocolOptionsSchema = exports.VlessProtocolOptionsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const constants_1 = require("../constants");
6
+ exports.VlessProtocolOptionsSchema = zod_1.z.object({
7
+ encryption: zod_1.z.string(),
8
+ id: zod_1.z.string(),
9
+ flow: zod_1.z.enum(['', 'xtls-rprx-vision', 'xtls-rprx-vision-udp443']),
10
+ });
11
+ exports.TrojanProtocolOptionsSchema = zod_1.z.object({
12
+ password: zod_1.z.string(),
13
+ });
14
+ exports.ShadowsocksProtocolOptionsSchema = zod_1.z.object({
15
+ method: zod_1.z.string(),
16
+ password: zod_1.z.string(),
17
+ uot: zod_1.z.boolean(),
18
+ uotVersion: zod_1.z.number().int(),
19
+ });
20
+ const TcpHeaderNoneSchema = zod_1.z.object({
21
+ type: zod_1.z.literal('none'),
22
+ });
23
+ const TcpHeaderHttpRequestSchema = zod_1.z.object({
24
+ version: zod_1.z.string().optional(),
25
+ method: zod_1.z.string().optional(),
26
+ path: zod_1.z.array(zod_1.z.string()).optional(),
27
+ headers: zod_1.z.record(zod_1.z.unknown()).optional(),
28
+ });
29
+ const TcpHeaderHttpResponseSchema = zod_1.z.object({
30
+ version: zod_1.z.string().optional(),
31
+ status: zod_1.z.string().optional(),
32
+ reason: zod_1.z.string().optional(),
33
+ headers: zod_1.z.record(zod_1.z.unknown()).optional(),
34
+ });
35
+ const TcpHeaderHttpSchema = zod_1.z.object({
36
+ type: zod_1.z.literal('http'),
37
+ request: TcpHeaderHttpRequestSchema.optional(),
38
+ response: TcpHeaderHttpResponseSchema.optional(),
39
+ });
40
+ const TcpHeaderSchema = zod_1.z.discriminatedUnion('type', [TcpHeaderNoneSchema, TcpHeaderHttpSchema]);
41
+ exports.TcpTransportOptionsSchema = zod_1.z.object({
42
+ header: TcpHeaderSchema.nullable(),
43
+ });
44
+ exports.XhttpTransportOptionsSchema = zod_1.z.object({
45
+ path: zod_1.z.string().nullable(),
46
+ host: zod_1.z.string().nullable(),
47
+ mode: zod_1.z.enum(['auto', 'packet-up', 'stream-up', 'stream-one']),
48
+ extra: zod_1.z.record(zod_1.z.unknown()).nullable(),
49
+ });
50
+ exports.WsTransportOptionsSchema = zod_1.z.object({
51
+ path: zod_1.z.string().nullable(),
52
+ host: zod_1.z.string().nullable(),
53
+ headers: zod_1.z.record(zod_1.z.string()).nullable(),
54
+ heartbeatPeriod: zod_1.z.number().nullable(),
55
+ });
56
+ exports.HttpUpgradeTransportOptionsSchema = zod_1.z.object({
57
+ path: zod_1.z.string().nullable(),
58
+ host: zod_1.z.string().nullable(),
59
+ headers: zod_1.z.record(zod_1.z.string()).nullable(),
60
+ });
61
+ exports.GrpcTransportOptionsSchema = zod_1.z.object({
62
+ authority: zod_1.z.string().nullable(),
63
+ serviceName: zod_1.z.string().nullable(),
64
+ multiMode: zod_1.z.boolean(),
65
+ });
66
+ exports.KcpTransportOptionsSchema = zod_1.z.object({
67
+ clientMtu: zod_1.z.number().int(),
68
+ tti: zod_1.z.number().int(),
69
+ congestion: zod_1.z.boolean(),
70
+ });
71
+ exports.HysteriaProtocolOptionsSchema = zod_1.z.object({
72
+ version: zod_1.z.number().int(),
73
+ });
74
+ exports.HysteriaTransportOptionsSchema = zod_1.z.object({
75
+ version: zod_1.z.number().int(),
76
+ auth: zod_1.z.string(),
77
+ });
78
+ exports.TlsSecurityOptionsSchema = zod_1.z.object({
79
+ allowInsecure: zod_1.z.boolean(),
80
+ alpn: zod_1.z.string().nullable(),
81
+ enableSessionResumption: zod_1.z.boolean(),
82
+ fingerprint: zod_1.z.string().nullable(),
83
+ serverName: zod_1.z.string().nullable(),
84
+ echConfigList: zod_1.z.string().nullable(),
85
+ echForceQuery: zod_1.z.string().nullable(),
86
+ });
87
+ exports.RealitySecurityOptionsSchema = zod_1.z.object({
88
+ fingerprint: zod_1.z.string(),
89
+ publicKey: zod_1.z.string(),
90
+ shortId: zod_1.z.string().nullable(),
91
+ serverName: zod_1.z.string(),
92
+ spiderX: zod_1.z.string().nullable(),
93
+ mldsa65Verify: zod_1.z.string().nullable(),
94
+ });
95
+ const VlessProtocolSchema = zod_1.z.object({
96
+ protocol: zod_1.z.literal('vless'),
97
+ protocolOptions: exports.VlessProtocolOptionsSchema,
98
+ });
99
+ const TrojanProtocolSchema = zod_1.z.object({
100
+ protocol: zod_1.z.literal('trojan'),
101
+ protocolOptions: exports.TrojanProtocolOptionsSchema,
102
+ });
103
+ const ShadowsocksProtocolSchema = zod_1.z.object({
104
+ protocol: zod_1.z.literal('shadowsocks'),
105
+ protocolOptions: exports.ShadowsocksProtocolOptionsSchema,
106
+ });
107
+ const HysteriaProtocolSchema = zod_1.z.object({
108
+ protocol: zod_1.z.literal('hysteria'),
109
+ protocolOptions: exports.HysteriaProtocolOptionsSchema,
110
+ });
111
+ exports.ProtocolVariantSchema = zod_1.z.discriminatedUnion('protocol', [
112
+ VlessProtocolSchema,
113
+ TrojanProtocolSchema,
114
+ ShadowsocksProtocolSchema,
115
+ HysteriaProtocolSchema,
116
+ ]);
117
+ const TcpTransportSchema = zod_1.z.object({
118
+ transport: zod_1.z.literal('tcp'),
119
+ transportOptions: exports.TcpTransportOptionsSchema,
120
+ });
121
+ const XHttpTransportSchema = zod_1.z.object({
122
+ transport: zod_1.z.literal('xhttp'),
123
+ transportOptions: exports.XhttpTransportOptionsSchema,
124
+ });
125
+ const WsTransportSchema = zod_1.z.object({
126
+ transport: zod_1.z.literal('ws'),
127
+ transportOptions: exports.WsTransportOptionsSchema,
128
+ });
129
+ const HttpUpgradeTransportSchema = zod_1.z.object({
130
+ transport: zod_1.z.literal('httpupgrade'),
131
+ transportOptions: exports.HttpUpgradeTransportOptionsSchema,
132
+ });
133
+ const GrpcTransportSchema = zod_1.z.object({
134
+ transport: zod_1.z.literal('grpc'),
135
+ transportOptions: exports.GrpcTransportOptionsSchema,
136
+ });
137
+ const KcpTransportSchema = zod_1.z.object({
138
+ transport: zod_1.z.literal('kcp'),
139
+ transportOptions: exports.KcpTransportOptionsSchema,
140
+ });
141
+ const HysteriaTransportSchema = zod_1.z.object({
142
+ transport: zod_1.z.literal('hysteria'),
143
+ transportOptions: exports.HysteriaTransportOptionsSchema,
144
+ });
145
+ exports.TransportVariantSchema = zod_1.z.discriminatedUnion('transport', [
146
+ TcpTransportSchema,
147
+ XHttpTransportSchema,
148
+ WsTransportSchema,
149
+ HttpUpgradeTransportSchema,
150
+ GrpcTransportSchema,
151
+ KcpTransportSchema,
152
+ HysteriaTransportSchema,
153
+ ]);
154
+ const TlsSecuritySchema = zod_1.z.object({
155
+ security: zod_1.z.literal('tls'),
156
+ securityOptions: exports.TlsSecurityOptionsSchema,
157
+ });
158
+ const RealitySecuritySchema = zod_1.z.object({
159
+ security: zod_1.z.literal('reality'),
160
+ securityOptions: exports.RealitySecurityOptionsSchema,
161
+ });
162
+ const NoneSecuritySchema = zod_1.z.object({
163
+ security: zod_1.z.literal('none'),
164
+ });
165
+ exports.SecurityVariantSchema = zod_1.z.discriminatedUnion('security', [
166
+ TlsSecuritySchema,
167
+ RealitySecuritySchema,
168
+ NoneSecuritySchema,
169
+ ]);
170
+ exports.ProxyEntryMetadataSchema = zod_1.z.object({
171
+ uuid: zod_1.z.string().uuid(),
172
+ tag: zod_1.z.string().nullable(),
173
+ excludeFromSubscriptionTypes: zod_1.z.array(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE)),
174
+ inboundTag: zod_1.z.string(),
175
+ configProfileUuid: zod_1.z.string().uuid().nullable(),
176
+ configProfileInboundUuid: zod_1.z.string().uuid().nullable(),
177
+ isDisabled: zod_1.z.boolean(),
178
+ isHidden: zod_1.z.boolean(),
179
+ viewPosition: zod_1.z.number().int(),
180
+ remark: zod_1.z.string(),
181
+ vlessRouteId: zod_1.z.number().int().nullable(),
182
+ rawInbound: zod_1.z.nullable(zod_1.z.unknown()),
183
+ });
184
+ exports.ResolvedProxyConfigSchema = zod_1.z.object({
185
+ finalRemark: zod_1.z.string(),
186
+ address: zod_1.z.string(),
187
+ port: zod_1.z.number().int().positive(),
188
+ protocol: zod_1.z.enum(['vless', 'trojan', 'shadowsocks', 'hysteria']),
189
+ protocolOptions: zod_1.z.union([
190
+ exports.VlessProtocolOptionsSchema,
191
+ exports.TrojanProtocolOptionsSchema,
192
+ exports.ShadowsocksProtocolOptionsSchema,
193
+ exports.HysteriaProtocolOptionsSchema,
194
+ ]),
195
+ transport: zod_1.z.enum(['tcp', 'xhttp', 'ws', 'httpupgrade', 'grpc', 'kcp', 'hysteria']),
196
+ transportOptions: zod_1.z.union([
197
+ exports.TcpTransportOptionsSchema,
198
+ exports.XhttpTransportOptionsSchema,
199
+ exports.WsTransportOptionsSchema,
200
+ exports.HttpUpgradeTransportOptionsSchema,
201
+ exports.GrpcTransportOptionsSchema,
202
+ exports.KcpTransportOptionsSchema,
203
+ exports.HysteriaTransportOptionsSchema,
204
+ ]),
205
+ security: zod_1.z.enum(['tls', 'reality', 'none']),
206
+ securityOptions: zod_1.z.union([exports.TlsSecurityOptionsSchema, exports.RealitySecurityOptionsSchema]).optional(),
207
+ streamOverrides: zod_1.z.object({
208
+ finalMask: zod_1.z.nullable(zod_1.z.unknown()),
209
+ sockopt: zod_1.z.nullable(zod_1.z.unknown()),
210
+ }),
211
+ mux: zod_1.z.nullable(zod_1.z.unknown()),
212
+ clientOverrides: zod_1.z.object({
213
+ shuffleHost: zod_1.z.boolean(),
214
+ mihomoX25519: zod_1.z.boolean(),
215
+ serverDescription: zod_1.z.string().nullable(),
216
+ xrayJsonTemplate: zod_1.z.nullable(zod_1.z.unknown()),
217
+ }),
218
+ metadata: exports.ProxyEntryMetadataSchema,
219
+ });
@@ -365,13 +365,13 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
365
365
  }, "strip", z.ZodTypeAny, {
366
366
  network: string;
367
367
  email: string | null;
368
- level: number | null;
369
368
  protocol: string | null;
369
+ inboundTag: string | null;
370
+ level: number | null;
370
371
  source: string | null;
371
372
  destination: string;
372
373
  routeTarget: string | null;
373
374
  originalTarget: string | null;
374
- inboundTag: string | null;
375
375
  inboundName: string | null;
376
376
  inboundLocal: string | null;
377
377
  outboundTag: string | null;
@@ -379,13 +379,13 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
379
379
  }, {
380
380
  network: string;
381
381
  email: string | null;
382
- level: number | null;
383
382
  protocol: string | null;
383
+ inboundTag: string | null;
384
+ level: number | null;
384
385
  source: string | null;
385
386
  destination: string;
386
387
  routeTarget: string | null;
387
388
  originalTarget: string | null;
388
- inboundTag: string | null;
389
389
  inboundName: string | null;
390
390
  inboundLocal: string | null;
391
391
  outboundTag: string | null;
@@ -403,13 +403,13 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
403
403
  xrayReport: {
404
404
  network: string;
405
405
  email: string | null;
406
- level: number | null;
407
406
  protocol: string | null;
407
+ inboundTag: string | null;
408
+ level: number | null;
408
409
  source: string | null;
409
410
  destination: string;
410
411
  routeTarget: string | null;
411
412
  originalTarget: string | null;
412
- inboundTag: string | null;
413
413
  inboundName: string | null;
414
414
  inboundLocal: string | null;
415
415
  outboundTag: string | null;
@@ -427,13 +427,13 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
427
427
  xrayReport: {
428
428
  network: string;
429
429
  email: string | null;
430
- level: number | null;
431
430
  protocol: string | null;
431
+ inboundTag: string | null;
432
+ level: number | null;
432
433
  source: string | null;
433
434
  destination: string;
434
435
  routeTarget: string | null;
435
436
  originalTarget: string | null;
436
- inboundTag: string | null;
437
437
  inboundName: string | null;
438
438
  inboundLocal: string | null;
439
439
  outboundTag: string | null;
@@ -467,13 +467,13 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
467
467
  xrayReport: {
468
468
  network: string;
469
469
  email: string | null;
470
- level: number | null;
471
470
  protocol: string | null;
471
+ inboundTag: string | null;
472
+ level: number | null;
472
473
  source: string | null;
473
474
  destination: string;
474
475
  routeTarget: string | null;
475
476
  originalTarget: string | null;
476
- inboundTag: string | null;
477
477
  inboundName: string | null;
478
478
  inboundLocal: string | null;
479
479
  outboundTag: string | null;
@@ -506,13 +506,13 @@ export declare const TorrentBlockerReportSchema: z.ZodObject<{
506
506
  xrayReport: {
507
507
  network: string;
508
508
  email: string | null;
509
- level: number | null;
510
509
  protocol: string | null;
510
+ inboundTag: string | null;
511
+ level: number | null;
511
512
  source: string | null;
512
513
  destination: string;
513
514
  routeTarget: string | null;
514
515
  originalTarget: string | null;
515
- inboundTag: string | null;
516
516
  inboundName: string | null;
517
517
  inboundLocal: string | null;
518
518
  outboundTag: string | null;
@@ -1898,13 +1898,13 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1898
1898
  }, "strip", z.ZodTypeAny, {
1899
1899
  network: string;
1900
1900
  email: string | null;
1901
- level: number | null;
1902
1901
  protocol: string | null;
1902
+ inboundTag: string | null;
1903
+ level: number | null;
1903
1904
  source: string | null;
1904
1905
  destination: string;
1905
1906
  routeTarget: string | null;
1906
1907
  originalTarget: string | null;
1907
- inboundTag: string | null;
1908
1908
  inboundName: string | null;
1909
1909
  inboundLocal: string | null;
1910
1910
  outboundTag: string | null;
@@ -1912,13 +1912,13 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1912
1912
  }, {
1913
1913
  network: string;
1914
1914
  email: string | null;
1915
- level: number | null;
1916
1915
  protocol: string | null;
1916
+ inboundTag: string | null;
1917
+ level: number | null;
1917
1918
  source: string | null;
1918
1919
  destination: string;
1919
1920
  routeTarget: string | null;
1920
1921
  originalTarget: string | null;
1921
- inboundTag: string | null;
1922
1922
  inboundName: string | null;
1923
1923
  inboundLocal: string | null;
1924
1924
  outboundTag: string | null;
@@ -1936,13 +1936,13 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1936
1936
  xrayReport: {
1937
1937
  network: string;
1938
1938
  email: string | null;
1939
- level: number | null;
1940
1939
  protocol: string | null;
1940
+ inboundTag: string | null;
1941
+ level: number | null;
1941
1942
  source: string | null;
1942
1943
  destination: string;
1943
1944
  routeTarget: string | null;
1944
1945
  originalTarget: string | null;
1945
- inboundTag: string | null;
1946
1946
  inboundName: string | null;
1947
1947
  inboundLocal: string | null;
1948
1948
  outboundTag: string | null;
@@ -1960,13 +1960,13 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
1960
1960
  xrayReport: {
1961
1961
  network: string;
1962
1962
  email: string | null;
1963
- level: number | null;
1964
1963
  protocol: string | null;
1964
+ inboundTag: string | null;
1965
+ level: number | null;
1965
1966
  source: string | null;
1966
1967
  destination: string;
1967
1968
  routeTarget: string | null;
1968
1969
  originalTarget: string | null;
1969
- inboundTag: string | null;
1970
1970
  inboundName: string | null;
1971
1971
  inboundLocal: string | null;
1972
1972
  outboundTag: string | null;
@@ -2098,13 +2098,13 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2098
2098
  xrayReport: {
2099
2099
  network: string;
2100
2100
  email: string | null;
2101
- level: number | null;
2102
2101
  protocol: string | null;
2102
+ inboundTag: string | null;
2103
+ level: number | null;
2103
2104
  source: string | null;
2104
2105
  destination: string;
2105
2106
  routeTarget: string | null;
2106
2107
  originalTarget: string | null;
2107
- inboundTag: string | null;
2108
2108
  inboundName: string | null;
2109
2109
  inboundLocal: string | null;
2110
2110
  outboundTag: string | null;
@@ -2236,13 +2236,13 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2236
2236
  xrayReport: {
2237
2237
  network: string;
2238
2238
  email: string | null;
2239
- level: number | null;
2240
2239
  protocol: string | null;
2240
+ inboundTag: string | null;
2241
+ level: number | null;
2241
2242
  source: string | null;
2242
2243
  destination: string;
2243
2244
  routeTarget: string | null;
2244
2245
  originalTarget: string | null;
2245
- inboundTag: string | null;
2246
2246
  inboundName: string | null;
2247
2247
  inboundLocal: string | null;
2248
2248
  outboundTag: string | null;
@@ -2376,13 +2376,13 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2376
2376
  xrayReport: {
2377
2377
  network: string;
2378
2378
  email: string | null;
2379
- level: number | null;
2380
2379
  protocol: string | null;
2380
+ inboundTag: string | null;
2381
+ level: number | null;
2381
2382
  source: string | null;
2382
2383
  destination: string;
2383
2384
  routeTarget: string | null;
2384
2385
  originalTarget: string | null;
2385
- inboundTag: string | null;
2386
2386
  inboundName: string | null;
2387
2387
  inboundLocal: string | null;
2388
2388
  outboundTag: string | null;
@@ -2519,13 +2519,13 @@ export declare const RemnawaveWebhookTorrentBlockerEvents: z.ZodObject<{
2519
2519
  xrayReport: {
2520
2520
  network: string;
2521
2521
  email: string | null;
2522
- level: number | null;
2523
2522
  protocol: string | null;
2523
+ inboundTag: string | null;
2524
+ level: number | null;
2524
2525
  source: string | null;
2525
2526
  destination: string;
2526
2527
  routeTarget: string | null;
2527
2528
  originalTarget: string | null;
2528
- inboundTag: string | null;
2529
2529
  inboundName: string | null;
2530
2530
  inboundLocal: string | null;
2531
2531
  outboundTag: string | null;
@@ -4430,13 +4430,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4430
4430
  }, "strip", z.ZodTypeAny, {
4431
4431
  network: string;
4432
4432
  email: string | null;
4433
- level: number | null;
4434
4433
  protocol: string | null;
4434
+ inboundTag: string | null;
4435
+ level: number | null;
4435
4436
  source: string | null;
4436
4437
  destination: string;
4437
4438
  routeTarget: string | null;
4438
4439
  originalTarget: string | null;
4439
- inboundTag: string | null;
4440
4440
  inboundName: string | null;
4441
4441
  inboundLocal: string | null;
4442
4442
  outboundTag: string | null;
@@ -4444,13 +4444,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4444
4444
  }, {
4445
4445
  network: string;
4446
4446
  email: string | null;
4447
- level: number | null;
4448
4447
  protocol: string | null;
4448
+ inboundTag: string | null;
4449
+ level: number | null;
4449
4450
  source: string | null;
4450
4451
  destination: string;
4451
4452
  routeTarget: string | null;
4452
4453
  originalTarget: string | null;
4453
- inboundTag: string | null;
4454
4454
  inboundName: string | null;
4455
4455
  inboundLocal: string | null;
4456
4456
  outboundTag: string | null;
@@ -4468,13 +4468,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4468
4468
  xrayReport: {
4469
4469
  network: string;
4470
4470
  email: string | null;
4471
- level: number | null;
4472
4471
  protocol: string | null;
4472
+ inboundTag: string | null;
4473
+ level: number | null;
4473
4474
  source: string | null;
4474
4475
  destination: string;
4475
4476
  routeTarget: string | null;
4476
4477
  originalTarget: string | null;
4477
- inboundTag: string | null;
4478
4478
  inboundName: string | null;
4479
4479
  inboundLocal: string | null;
4480
4480
  outboundTag: string | null;
@@ -4492,13 +4492,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4492
4492
  xrayReport: {
4493
4493
  network: string;
4494
4494
  email: string | null;
4495
- level: number | null;
4496
4495
  protocol: string | null;
4496
+ inboundTag: string | null;
4497
+ level: number | null;
4497
4498
  source: string | null;
4498
4499
  destination: string;
4499
4500
  routeTarget: string | null;
4500
4501
  originalTarget: string | null;
4501
- inboundTag: string | null;
4502
4502
  inboundName: string | null;
4503
4503
  inboundLocal: string | null;
4504
4504
  outboundTag: string | null;
@@ -4630,13 +4630,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4630
4630
  xrayReport: {
4631
4631
  network: string;
4632
4632
  email: string | null;
4633
- level: number | null;
4634
4633
  protocol: string | null;
4634
+ inboundTag: string | null;
4635
+ level: number | null;
4635
4636
  source: string | null;
4636
4637
  destination: string;
4637
4638
  routeTarget: string | null;
4638
4639
  originalTarget: string | null;
4639
- inboundTag: string | null;
4640
4640
  inboundName: string | null;
4641
4641
  inboundLocal: string | null;
4642
4642
  outboundTag: string | null;
@@ -4768,13 +4768,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4768
4768
  xrayReport: {
4769
4769
  network: string;
4770
4770
  email: string | null;
4771
- level: number | null;
4772
4771
  protocol: string | null;
4772
+ inboundTag: string | null;
4773
+ level: number | null;
4773
4774
  source: string | null;
4774
4775
  destination: string;
4775
4776
  routeTarget: string | null;
4776
4777
  originalTarget: string | null;
4777
- inboundTag: string | null;
4778
4778
  inboundName: string | null;
4779
4779
  inboundLocal: string | null;
4780
4780
  outboundTag: string | null;
@@ -4908,13 +4908,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
4908
4908
  xrayReport: {
4909
4909
  network: string;
4910
4910
  email: string | null;
4911
- level: number | null;
4912
4911
  protocol: string | null;
4912
+ inboundTag: string | null;
4913
+ level: number | null;
4913
4914
  source: string | null;
4914
4915
  destination: string;
4915
4916
  routeTarget: string | null;
4916
4917
  originalTarget: string | null;
4917
- inboundTag: string | null;
4918
4918
  inboundName: string | null;
4919
4919
  inboundLocal: string | null;
4920
4920
  outboundTag: string | null;
@@ -5051,13 +5051,13 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
5051
5051
  xrayReport: {
5052
5052
  network: string;
5053
5053
  email: string | null;
5054
- level: number | null;
5055
5054
  protocol: string | null;
5055
+ inboundTag: string | null;
5056
+ level: number | null;
5056
5057
  source: string | null;
5057
5058
  destination: string;
5058
5059
  routeTarget: string | null;
5059
5060
  originalTarget: string | null;
5060
- inboundTag: string | null;
5061
5061
  inboundName: string | null;
5062
5062
  inboundLocal: string | null;
5063
5063
  outboundTag: string | null;
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetRawSubscriptionByShortUuidCommand = void 0;
4
4
  const zod_1 = require("zod");
5
+ const models_1 = require("../../../models");
5
6
  const api_1 = require("../../../api");
6
7
  const constants_1 = require("../../../constants");
7
- const models_1 = require("../../../models");
8
8
  var GetRawSubscriptionByShortUuidCommand;
9
9
  (function (GetRawSubscriptionByShortUuidCommand) {
10
10
  GetRawSubscriptionByShortUuidCommand.url = api_1.REST_API.SUBSCRIPTIONS.GET_BY.SHORT_UUID_RAW;
@@ -31,64 +31,7 @@ var GetRawSubscriptionByShortUuidCommand;
31
31
  isHwidLimited: zod_1.z.boolean(),
32
32
  }),
33
33
  headers: zod_1.z.record(zod_1.z.string(), zod_1.z.string().optional()),
34
- rawHosts: zod_1.z.array(zod_1.z.object({
35
- address: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
36
- alpn: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
37
- fingerprint: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
38
- host: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
39
- network: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
40
- password: zod_1.z.object({
41
- ssPassword: zod_1.z.string(),
42
- trojanPassword: zod_1.z.string(),
43
- vlessPassword: zod_1.z.string(),
44
- }),
45
- path: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
46
- publicKey: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
47
- port: zod_1.z.optional(zod_1.z.nullable(zod_1.z.number())),
48
- protocol: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
49
- remark: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
50
- shortId: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
51
- sni: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
52
- spiderX: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
53
- tls: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
54
- rawSettings: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({
55
- headerType: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
56
- request: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({}))),
57
- }))),
58
- additionalParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({
59
- mode: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
60
- heartbeatPeriod: zod_1.z.optional(zod_1.z.nullable(zod_1.z.number())),
61
- }))),
62
- xHttpExtraParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({}))),
63
- muxParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({}))),
64
- sockoptParams: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({}))),
65
- serverDescription: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
66
- flow: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
67
- allowInsecure: zod_1.z.optional(zod_1.z.nullable(zod_1.z.boolean())),
68
- shuffleHost: zod_1.z.optional(zod_1.z.nullable(zod_1.z.boolean())),
69
- mihomoX25519: zod_1.z.optional(zod_1.z.nullable(zod_1.z.boolean())),
70
- mldsa65Verify: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
71
- encryption: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
72
- protocolOptions: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({
73
- ss: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({
74
- method: zod_1.z.optional(zod_1.z.nullable(zod_1.z.string())),
75
- }))),
76
- }))),
77
- dbData: zod_1.z.optional(zod_1.z.object({
78
- rawInbound: zod_1.z.nullable(zod_1.z.object({})),
79
- inboundTag: zod_1.z.string(),
80
- uuid: zod_1.z.string(),
81
- configProfileUuid: zod_1.z.nullable(zod_1.z.string()),
82
- configProfileInboundUuid: zod_1.z.nullable(zod_1.z.string()),
83
- isDisabled: zod_1.z.boolean(),
84
- viewPosition: zod_1.z.number(),
85
- remark: zod_1.z.string(),
86
- isHidden: zod_1.z.boolean(),
87
- tag: zod_1.z.nullable(zod_1.z.string()),
88
- vlessRouteId: zod_1.z.number().int().nullable(),
89
- })),
90
- xrayJsonTemplate: zod_1.z.optional(zod_1.z.nullable(zod_1.z.object({}))),
91
- })),
34
+ resolvedProxyConfigs: zod_1.z.array(models_1.ResolvedProxyConfigSchema),
92
35
  }),
93
36
  });
94
37
  })(GetRawSubscriptionByShortUuidCommand || (exports.GetRawSubscriptionByShortUuidCommand = GetRawSubscriptionByShortUuidCommand = {}));
@@ -35,6 +35,7 @@ __exportStar(require("./node-plugin.schema"), exports);
35
35
  __exportStar(require("./node-system.schema"), exports);
36
36
  __exportStar(require("./nodes.schema"), exports);
37
37
  __exportStar(require("./remnawave-settings"), exports);
38
+ __exportStar(require("./resolved-proxy-config.schema"), exports);
38
39
  __exportStar(require("./response-rules"), exports);
39
40
  __exportStar(require("./snippets.schema"), exports);
40
41
  __exportStar(require("./subscripion-page-config.schema"), exports);