@remnawave/backend-contract 2.8.33 → 2.8.35

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 (21) hide show
  1. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +11 -0
  2. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
  3. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +20 -0
  4. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
  5. package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +18 -0
  6. package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
  7. package/build/backend/constants/templates/template-keys.d.ts +1 -1
  8. package/build/backend/constants/templates/template-keys.d.ts.map +1 -1
  9. package/build/backend/constants/templates/template-keys.js +1 -0
  10. package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +3 -0
  11. package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
  12. package/build/backend/models/response-rules/response-rule-modifications.schema.js +10 -0
  13. package/build/backend/models/response-rules/response-rule.schema.d.ts +10 -0
  14. package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
  15. package/build/backend/models/response-rules/response-rules-config.schema.d.ts +7 -0
  16. package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
  17. package/build/backend/models/subscription-settings.schema.d.ts +9 -0
  18. package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
  19. package/build/frontend/constants/templates/template-keys.js +1 -0
  20. package/build/frontend/models/response-rules/response-rule-modifications.schema.js +10 -0
  21. package/package.json +1 -1
@@ -124,6 +124,7 @@ export declare namespace GetSubscriptionSettingsCommand {
124
124
  key: string;
125
125
  method: "age1" | "age1pq1";
126
126
  }>>;
127
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
127
128
  }, "strip", z.ZodTypeAny, {
128
129
  headers?: {
129
130
  value: string;
@@ -139,6 +140,7 @@ export declare namespace GetSubscriptionSettingsCommand {
139
140
  key: string;
140
141
  method: "age1" | "age1pq1";
141
142
  } | undefined;
143
+ excludeHostsByTags?: string[] | undefined;
142
144
  }, {
143
145
  headers?: {
144
146
  value: string;
@@ -154,6 +156,7 @@ export declare namespace GetSubscriptionSettingsCommand {
154
156
  key: string;
155
157
  method: "age1" | "age1pq1";
156
158
  } | undefined;
159
+ excludeHostsByTags?: string[] | undefined;
157
160
  }>>;
158
161
  }, "strip", z.ZodTypeAny, {
159
162
  name: string;
@@ -182,6 +185,7 @@ export declare namespace GetSubscriptionSettingsCommand {
182
185
  key: string;
183
186
  method: "age1" | "age1pq1";
184
187
  } | undefined;
188
+ excludeHostsByTags?: string[] | undefined;
185
189
  } | undefined;
186
190
  }, {
187
191
  name: string;
@@ -210,6 +214,7 @@ export declare namespace GetSubscriptionSettingsCommand {
210
214
  key: string;
211
215
  method: "age1" | "age1pq1";
212
216
  } | undefined;
217
+ excludeHostsByTags?: string[] | undefined;
213
218
  } | undefined;
214
219
  }>, "many">;
215
220
  }, "strip", z.ZodTypeAny, {
@@ -241,6 +246,7 @@ export declare namespace GetSubscriptionSettingsCommand {
241
246
  key: string;
242
247
  method: "age1" | "age1pq1";
243
248
  } | undefined;
249
+ excludeHostsByTags?: string[] | undefined;
244
250
  } | undefined;
245
251
  }[];
246
252
  settings?: {
@@ -275,6 +281,7 @@ export declare namespace GetSubscriptionSettingsCommand {
275
281
  key: string;
276
282
  method: "age1" | "age1pq1";
277
283
  } | undefined;
284
+ excludeHostsByTags?: string[] | undefined;
278
285
  } | undefined;
279
286
  }[];
280
287
  settings?: {
@@ -347,6 +354,7 @@ export declare namespace GetSubscriptionSettingsCommand {
347
354
  key: string;
348
355
  method: "age1" | "age1pq1";
349
356
  } | undefined;
357
+ excludeHostsByTags?: string[] | undefined;
350
358
  } | undefined;
351
359
  }[];
352
360
  settings?: {
@@ -409,6 +417,7 @@ export declare namespace GetSubscriptionSettingsCommand {
409
417
  key: string;
410
418
  method: "age1" | "age1pq1";
411
419
  } | undefined;
420
+ excludeHostsByTags?: string[] | undefined;
412
421
  } | undefined;
413
422
  }[];
414
423
  settings?: {
@@ -473,6 +482,7 @@ export declare namespace GetSubscriptionSettingsCommand {
473
482
  key: string;
474
483
  method: "age1" | "age1pq1";
475
484
  } | undefined;
485
+ excludeHostsByTags?: string[] | undefined;
476
486
  } | undefined;
477
487
  }[];
478
488
  settings?: {
@@ -537,6 +547,7 @@ export declare namespace GetSubscriptionSettingsCommand {
537
547
  key: string;
538
548
  method: "age1" | "age1pq1";
539
549
  } | undefined;
550
+ excludeHostsByTags?: string[] | undefined;
540
551
  } | undefined;
541
552
  }[];
542
553
  settings?: {
@@ -1 +1 @@
1
- {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -123,6 +123,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
123
123
  key: string;
124
124
  method: "age1" | "age1pq1";
125
125
  }>>;
126
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
127
  }, "strip", z.ZodTypeAny, {
127
128
  headers?: {
128
129
  value: string;
@@ -138,6 +139,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
138
139
  key: string;
139
140
  method: "age1" | "age1pq1";
140
141
  } | undefined;
142
+ excludeHostsByTags?: string[] | undefined;
141
143
  }, {
142
144
  headers?: {
143
145
  value: string;
@@ -153,6 +155,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
153
155
  key: string;
154
156
  method: "age1" | "age1pq1";
155
157
  } | undefined;
158
+ excludeHostsByTags?: string[] | undefined;
156
159
  }>>;
157
160
  }, "strip", z.ZodTypeAny, {
158
161
  name: string;
@@ -181,6 +184,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
181
184
  key: string;
182
185
  method: "age1" | "age1pq1";
183
186
  } | undefined;
187
+ excludeHostsByTags?: string[] | undefined;
184
188
  } | undefined;
185
189
  }, {
186
190
  name: string;
@@ -209,6 +213,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
209
213
  key: string;
210
214
  method: "age1" | "age1pq1";
211
215
  } | undefined;
216
+ excludeHostsByTags?: string[] | undefined;
212
217
  } | undefined;
213
218
  }>, "many">;
214
219
  }, "strip", z.ZodTypeAny, {
@@ -240,6 +245,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
240
245
  key: string;
241
246
  method: "age1" | "age1pq1";
242
247
  } | undefined;
248
+ excludeHostsByTags?: string[] | undefined;
243
249
  } | undefined;
244
250
  }[];
245
251
  settings?: {
@@ -274,6 +280,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
274
280
  key: string;
275
281
  method: "age1" | "age1pq1";
276
282
  } | undefined;
283
+ excludeHostsByTags?: string[] | undefined;
277
284
  } | undefined;
278
285
  }[];
279
286
  settings?: {
@@ -342,6 +349,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
342
349
  key: string;
343
350
  method: "age1" | "age1pq1";
344
351
  } | undefined;
352
+ excludeHostsByTags?: string[] | undefined;
345
353
  } | undefined;
346
354
  }[];
347
355
  settings?: {
@@ -402,6 +410,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
402
410
  key: string;
403
411
  method: "age1" | "age1pq1";
404
412
  } | undefined;
413
+ excludeHostsByTags?: string[] | undefined;
405
414
  } | undefined;
406
415
  }[];
407
416
  settings?: {
@@ -536,6 +545,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
536
545
  key: string;
537
546
  method: "age1" | "age1pq1";
538
547
  }>>;
548
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
539
549
  }, "strip", z.ZodTypeAny, {
540
550
  headers?: {
541
551
  value: string;
@@ -551,6 +561,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
551
561
  key: string;
552
562
  method: "age1" | "age1pq1";
553
563
  } | undefined;
564
+ excludeHostsByTags?: string[] | undefined;
554
565
  }, {
555
566
  headers?: {
556
567
  value: string;
@@ -566,6 +577,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
566
577
  key: string;
567
578
  method: "age1" | "age1pq1";
568
579
  } | undefined;
580
+ excludeHostsByTags?: string[] | undefined;
569
581
  }>>;
570
582
  }, "strip", z.ZodTypeAny, {
571
583
  name: string;
@@ -594,6 +606,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
594
606
  key: string;
595
607
  method: "age1" | "age1pq1";
596
608
  } | undefined;
609
+ excludeHostsByTags?: string[] | undefined;
597
610
  } | undefined;
598
611
  }, {
599
612
  name: string;
@@ -622,6 +635,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
622
635
  key: string;
623
636
  method: "age1" | "age1pq1";
624
637
  } | undefined;
638
+ excludeHostsByTags?: string[] | undefined;
625
639
  } | undefined;
626
640
  }>, "many">;
627
641
  }, "strip", z.ZodTypeAny, {
@@ -653,6 +667,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
653
667
  key: string;
654
668
  method: "age1" | "age1pq1";
655
669
  } | undefined;
670
+ excludeHostsByTags?: string[] | undefined;
656
671
  } | undefined;
657
672
  }[];
658
673
  settings?: {
@@ -687,6 +702,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
687
702
  key: string;
688
703
  method: "age1" | "age1pq1";
689
704
  } | undefined;
705
+ excludeHostsByTags?: string[] | undefined;
690
706
  } | undefined;
691
707
  }[];
692
708
  settings?: {
@@ -759,6 +775,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
759
775
  key: string;
760
776
  method: "age1" | "age1pq1";
761
777
  } | undefined;
778
+ excludeHostsByTags?: string[] | undefined;
762
779
  } | undefined;
763
780
  }[];
764
781
  settings?: {
@@ -821,6 +838,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
821
838
  key: string;
822
839
  method: "age1" | "age1pq1";
823
840
  } | undefined;
841
+ excludeHostsByTags?: string[] | undefined;
824
842
  } | undefined;
825
843
  }[];
826
844
  settings?: {
@@ -885,6 +903,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
885
903
  key: string;
886
904
  method: "age1" | "age1pq1";
887
905
  } | undefined;
906
+ excludeHostsByTags?: string[] | undefined;
888
907
  } | undefined;
889
908
  }[];
890
909
  settings?: {
@@ -949,6 +968,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
949
968
  key: string;
950
969
  method: "age1" | "age1pq1";
951
970
  } | undefined;
971
+ excludeHostsByTags?: string[] | undefined;
952
972
  } | undefined;
953
973
  }[];
954
974
  settings?: {
@@ -1 +1 @@
1
- {"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAK3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -90,6 +90,7 @@ export declare namespace TestSrrMatcherCommand {
90
90
  key: string;
91
91
  method: "age1" | "age1pq1";
92
92
  }>>;
93
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
93
94
  }, "strip", z.ZodTypeAny, {
94
95
  headers?: {
95
96
  value: string;
@@ -105,6 +106,7 @@ export declare namespace TestSrrMatcherCommand {
105
106
  key: string;
106
107
  method: "age1" | "age1pq1";
107
108
  } | undefined;
109
+ excludeHostsByTags?: string[] | undefined;
108
110
  }, {
109
111
  headers?: {
110
112
  value: string;
@@ -120,6 +122,7 @@ export declare namespace TestSrrMatcherCommand {
120
122
  key: string;
121
123
  method: "age1" | "age1pq1";
122
124
  } | undefined;
125
+ excludeHostsByTags?: string[] | undefined;
123
126
  }>>;
124
127
  }, "strip", z.ZodTypeAny, {
125
128
  name: string;
@@ -148,6 +151,7 @@ export declare namespace TestSrrMatcherCommand {
148
151
  key: string;
149
152
  method: "age1" | "age1pq1";
150
153
  } | undefined;
154
+ excludeHostsByTags?: string[] | undefined;
151
155
  } | undefined;
152
156
  }, {
153
157
  name: string;
@@ -176,6 +180,7 @@ export declare namespace TestSrrMatcherCommand {
176
180
  key: string;
177
181
  method: "age1" | "age1pq1";
178
182
  } | undefined;
183
+ excludeHostsByTags?: string[] | undefined;
179
184
  } | undefined;
180
185
  }>, "many">;
181
186
  }, "strip", z.ZodTypeAny, {
@@ -207,6 +212,7 @@ export declare namespace TestSrrMatcherCommand {
207
212
  key: string;
208
213
  method: "age1" | "age1pq1";
209
214
  } | undefined;
215
+ excludeHostsByTags?: string[] | undefined;
210
216
  } | undefined;
211
217
  }[];
212
218
  settings?: {
@@ -241,6 +247,7 @@ export declare namespace TestSrrMatcherCommand {
241
247
  key: string;
242
248
  method: "age1" | "age1pq1";
243
249
  } | undefined;
250
+ excludeHostsByTags?: string[] | undefined;
244
251
  } | undefined;
245
252
  }[];
246
253
  settings?: {
@@ -277,6 +284,7 @@ export declare namespace TestSrrMatcherCommand {
277
284
  key: string;
278
285
  method: "age1" | "age1pq1";
279
286
  } | undefined;
287
+ excludeHostsByTags?: string[] | undefined;
280
288
  } | undefined;
281
289
  }[];
282
290
  settings?: {
@@ -313,6 +321,7 @@ export declare namespace TestSrrMatcherCommand {
313
321
  key: string;
314
322
  method: "age1" | "age1pq1";
315
323
  } | undefined;
324
+ excludeHostsByTags?: string[] | undefined;
316
325
  } | undefined;
317
326
  }[];
318
327
  settings?: {
@@ -412,6 +421,7 @@ export declare namespace TestSrrMatcherCommand {
412
421
  key: string;
413
422
  method: "age1" | "age1pq1";
414
423
  }>>;
424
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
415
425
  }, "strip", z.ZodTypeAny, {
416
426
  headers?: {
417
427
  value: string;
@@ -427,6 +437,7 @@ export declare namespace TestSrrMatcherCommand {
427
437
  key: string;
428
438
  method: "age1" | "age1pq1";
429
439
  } | undefined;
440
+ excludeHostsByTags?: string[] | undefined;
430
441
  }, {
431
442
  headers?: {
432
443
  value: string;
@@ -442,6 +453,7 @@ export declare namespace TestSrrMatcherCommand {
442
453
  key: string;
443
454
  method: "age1" | "age1pq1";
444
455
  } | undefined;
456
+ excludeHostsByTags?: string[] | undefined;
445
457
  }>>;
446
458
  }, "strip", z.ZodTypeAny, {
447
459
  name: string;
@@ -470,6 +482,7 @@ export declare namespace TestSrrMatcherCommand {
470
482
  key: string;
471
483
  method: "age1" | "age1pq1";
472
484
  } | undefined;
485
+ excludeHostsByTags?: string[] | undefined;
473
486
  } | undefined;
474
487
  }, {
475
488
  name: string;
@@ -498,6 +511,7 @@ export declare namespace TestSrrMatcherCommand {
498
511
  key: string;
499
512
  method: "age1" | "age1pq1";
500
513
  } | undefined;
514
+ excludeHostsByTags?: string[] | undefined;
501
515
  } | undefined;
502
516
  }>>;
503
517
  inputHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -532,6 +546,7 @@ export declare namespace TestSrrMatcherCommand {
532
546
  key: string;
533
547
  method: "age1" | "age1pq1";
534
548
  } | undefined;
549
+ excludeHostsByTags?: string[] | undefined;
535
550
  } | undefined;
536
551
  } | null;
537
552
  inputHeaders: Record<string, string>;
@@ -566,6 +581,7 @@ export declare namespace TestSrrMatcherCommand {
566
581
  key: string;
567
582
  method: "age1" | "age1pq1";
568
583
  } | undefined;
584
+ excludeHostsByTags?: string[] | undefined;
569
585
  } | undefined;
570
586
  } | null;
571
587
  inputHeaders: Record<string, string>;
@@ -602,6 +618,7 @@ export declare namespace TestSrrMatcherCommand {
602
618
  key: string;
603
619
  method: "age1" | "age1pq1";
604
620
  } | undefined;
621
+ excludeHostsByTags?: string[] | undefined;
605
622
  } | undefined;
606
623
  } | null;
607
624
  inputHeaders: Record<string, string>;
@@ -638,6 +655,7 @@ export declare namespace TestSrrMatcherCommand {
638
655
  key: string;
639
656
  method: "age1" | "age1pq1";
640
657
  } | undefined;
658
+ excludeHostsByTags?: string[] | undefined;
641
659
  } | undefined;
642
660
  } | null;
643
661
  inputHeaders: Record<string, string>;
@@ -1 +1 @@
1
- {"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IACK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAK3B,CAAC;IACK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -1,3 +1,3 @@
1
- export declare const TEMPLATE_KEYS: readonly ["DAYS_LEFT", "TRAFFIC_USED", "TRAFFIC_LEFT", "STATUS", "TOTAL_TRAFFIC", "USERNAME", "EMAIL", "TELEGRAM_ID", "SUBSCRIPTION_URL", "TAG", "EXPIRE_UNIX", "SHORT_UUID", "ID", "TRAFFIC_USED_BYTES", "TRAFFIC_LEFT_BYTES", "TOTAL_TRAFFIC_BYTES", "RESET_STRATEGY", "LIFETIME_USED_BYTES", "CREATED_AT_UNIX", "LAST_TRAFFIC_RESET_AT_UNIX", "SS_SUPPORT_LINK", "SS_PROFILE_UPDATE_INTERVAL", "SS_HWID_LIMIT"];
1
+ export declare const TEMPLATE_KEYS: readonly ["DAYS_LEFT", "TRAFFIC_USED", "TRAFFIC_LEFT", "STATUS", "TOTAL_TRAFFIC", "USERNAME", "EMAIL", "TELEGRAM_ID", "SUBSCRIPTION_URL", "TAG", "EXPIRE_UNIX", "SHORT_UUID", "ID", "TRAFFIC_USED_BYTES", "TRAFFIC_LEFT_BYTES", "TOTAL_TRAFFIC_BYTES", "RESET_STRATEGY", "LIFETIME_USED_BYTES", "CREATED_AT_UNIX", "LAST_TRAFFIC_RESET_AT_UNIX", "SS_SUPPORT_LINK", "SS_PROFILE_UPDATE_INTERVAL", "SS_HWID_LIMIT", "DESCRIPTION"];
2
2
  export type TemplateKeys = (typeof TEMPLATE_KEYS)[number];
3
3
  //# sourceMappingURL=template-keys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"template-keys.d.ts","sourceRoot":"","sources":["../../../../constants/templates/template-keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,oZAwBhB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"template-keys.d.ts","sourceRoot":"","sources":["../../../../constants/templates/template-keys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,maAyBhB,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -25,4 +25,5 @@ exports.TEMPLATE_KEYS = [
25
25
  'SS_SUPPORT_LINK',
26
26
  'SS_PROFILE_UPDATE_INTERVAL',
27
27
  'SS_HWID_LIMIT',
28
+ 'DESCRIPTION',
28
29
  ];
@@ -36,6 +36,7 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
36
36
  key: string;
37
37
  method: "age1" | "age1pq1";
38
38
  }>>;
39
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39
40
  }, "strip", z.ZodTypeAny, {
40
41
  headers?: {
41
42
  value: string;
@@ -51,6 +52,7 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
51
52
  key: string;
52
53
  method: "age1" | "age1pq1";
53
54
  } | undefined;
55
+ excludeHostsByTags?: string[] | undefined;
54
56
  }, {
55
57
  headers?: {
56
58
  value: string;
@@ -66,5 +68,6 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
66
68
  key: string;
67
69
  method: "age1" | "age1pq1";
68
70
  } | undefined;
71
+ excludeHostsByTags?: string[] | undefined;
69
72
  }>>;
70
73
  //# sourceMappingURL=response-rule-modifications.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4IvC,CAAC"}
1
+ {"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,4BAA4B;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8JvC,CAAC"}
@@ -96,6 +96,16 @@ exports.ResponseRuleModificationsSchema = zod_1.default
96
96
  encryption: exports.ResponseRuleEncryptionSchema.optional().describe(JSON.stringify({
97
97
  markdownDescription: 'Encrypt response body with given parameters. Generate keypairs with Rescue CLI: `docker exec -it remnawave cli`, select "Generate keypairs".',
98
98
  })),
99
+ excludeHostsByTags: zod_1.default
100
+ .array(zod_1.default
101
+ .string()
102
+ .regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
103
+ .max(36, 'Each tag must be less than 36 characters'))
104
+ .min(1)
105
+ .optional()
106
+ .describe(JSON.stringify({
107
+ markdownDescription: 'Excludes hosts from the subscription output if at least one tag in the host matches the given tags.',
108
+ })),
99
109
  })
100
110
  .optional()
101
111
  .describe(JSON.stringify({
@@ -74,6 +74,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
74
74
  key: string;
75
75
  method: "age1" | "age1pq1";
76
76
  }>>;
77
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
77
78
  }, "strip", z.ZodTypeAny, {
78
79
  headers?: {
79
80
  value: string;
@@ -89,6 +90,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
89
90
  key: string;
90
91
  method: "age1" | "age1pq1";
91
92
  } | undefined;
93
+ excludeHostsByTags?: string[] | undefined;
92
94
  }, {
93
95
  headers?: {
94
96
  value: string;
@@ -104,6 +106,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
104
106
  key: string;
105
107
  method: "age1" | "age1pq1";
106
108
  } | undefined;
109
+ excludeHostsByTags?: string[] | undefined;
107
110
  }>>;
108
111
  }, "strip", z.ZodTypeAny, {
109
112
  name: string;
@@ -132,6 +135,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
132
135
  key: string;
133
136
  method: "age1" | "age1pq1";
134
137
  } | undefined;
138
+ excludeHostsByTags?: string[] | undefined;
135
139
  } | undefined;
136
140
  }, {
137
141
  name: string;
@@ -160,6 +164,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
160
164
  key: string;
161
165
  method: "age1" | "age1pq1";
162
166
  } | undefined;
167
+ excludeHostsByTags?: string[] | undefined;
163
168
  } | undefined;
164
169
  }>;
165
170
  export declare const ResponseRuleSchema: z.ZodObject<{
@@ -237,6 +242,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
237
242
  key: string;
238
243
  method: "age1" | "age1pq1";
239
244
  }>>;
245
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
240
246
  }, "strip", z.ZodTypeAny, {
241
247
  headers?: {
242
248
  value: string;
@@ -252,6 +258,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
252
258
  key: string;
253
259
  method: "age1" | "age1pq1";
254
260
  } | undefined;
261
+ excludeHostsByTags?: string[] | undefined;
255
262
  }, {
256
263
  headers?: {
257
264
  value: string;
@@ -267,6 +274,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
267
274
  key: string;
268
275
  method: "age1" | "age1pq1";
269
276
  } | undefined;
277
+ excludeHostsByTags?: string[] | undefined;
270
278
  }>>;
271
279
  }, "strip", z.ZodTypeAny, {
272
280
  name: string;
@@ -295,6 +303,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
295
303
  key: string;
296
304
  method: "age1" | "age1pq1";
297
305
  } | undefined;
306
+ excludeHostsByTags?: string[] | undefined;
298
307
  } | undefined;
299
308
  }, {
300
309
  name: string;
@@ -323,6 +332,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
323
332
  key: string;
324
333
  method: "age1" | "age1pq1";
325
334
  } | undefined;
335
+ excludeHostsByTags?: string[] | undefined;
326
336
  } | undefined;
327
337
  }>;
328
338
  //# sourceMappingURL=response-rule.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB9B,CAAC"}
1
+ {"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB9B,CAAC"}
@@ -85,6 +85,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
85
85
  key: string;
86
86
  method: "age1" | "age1pq1";
87
87
  }>>;
88
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
88
89
  }, "strip", z.ZodTypeAny, {
89
90
  headers?: {
90
91
  value: string;
@@ -100,6 +101,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
100
101
  key: string;
101
102
  method: "age1" | "age1pq1";
102
103
  } | undefined;
104
+ excludeHostsByTags?: string[] | undefined;
103
105
  }, {
104
106
  headers?: {
105
107
  value: string;
@@ -115,6 +117,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
115
117
  key: string;
116
118
  method: "age1" | "age1pq1";
117
119
  } | undefined;
120
+ excludeHostsByTags?: string[] | undefined;
118
121
  }>>;
119
122
  }, "strip", z.ZodTypeAny, {
120
123
  name: string;
@@ -143,6 +146,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
143
146
  key: string;
144
147
  method: "age1" | "age1pq1";
145
148
  } | undefined;
149
+ excludeHostsByTags?: string[] | undefined;
146
150
  } | undefined;
147
151
  }, {
148
152
  name: string;
@@ -171,6 +175,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
171
175
  key: string;
172
176
  method: "age1" | "age1pq1";
173
177
  } | undefined;
178
+ excludeHostsByTags?: string[] | undefined;
174
179
  } | undefined;
175
180
  }>, "many">;
176
181
  }, "strip", z.ZodTypeAny, {
@@ -202,6 +207,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
202
207
  key: string;
203
208
  method: "age1" | "age1pq1";
204
209
  } | undefined;
210
+ excludeHostsByTags?: string[] | undefined;
205
211
  } | undefined;
206
212
  }[];
207
213
  settings?: {
@@ -236,6 +242,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
236
242
  key: string;
237
243
  method: "age1" | "age1pq1";
238
244
  } | undefined;
245
+ excludeHostsByTags?: string[] | undefined;
239
246
  } | undefined;
240
247
  }[];
241
248
  settings?: {
@@ -1 +1 @@
1
- {"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBpC,CAAC"}
1
+ {"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBpC,CAAC"}
@@ -119,6 +119,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
119
119
  key: string;
120
120
  method: "age1" | "age1pq1";
121
121
  }>>;
122
+ excludeHostsByTags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
122
123
  }, "strip", z.ZodTypeAny, {
123
124
  headers?: {
124
125
  value: string;
@@ -134,6 +135,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
134
135
  key: string;
135
136
  method: "age1" | "age1pq1";
136
137
  } | undefined;
138
+ excludeHostsByTags?: string[] | undefined;
137
139
  }, {
138
140
  headers?: {
139
141
  value: string;
@@ -149,6 +151,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
149
151
  key: string;
150
152
  method: "age1" | "age1pq1";
151
153
  } | undefined;
154
+ excludeHostsByTags?: string[] | undefined;
152
155
  }>>;
153
156
  }, "strip", z.ZodTypeAny, {
154
157
  name: string;
@@ -177,6 +180,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
177
180
  key: string;
178
181
  method: "age1" | "age1pq1";
179
182
  } | undefined;
183
+ excludeHostsByTags?: string[] | undefined;
180
184
  } | undefined;
181
185
  }, {
182
186
  name: string;
@@ -205,6 +209,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
205
209
  key: string;
206
210
  method: "age1" | "age1pq1";
207
211
  } | undefined;
212
+ excludeHostsByTags?: string[] | undefined;
208
213
  } | undefined;
209
214
  }>, "many">;
210
215
  }, "strip", z.ZodTypeAny, {
@@ -236,6 +241,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
236
241
  key: string;
237
242
  method: "age1" | "age1pq1";
238
243
  } | undefined;
244
+ excludeHostsByTags?: string[] | undefined;
239
245
  } | undefined;
240
246
  }[];
241
247
  settings?: {
@@ -270,6 +276,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
270
276
  key: string;
271
277
  method: "age1" | "age1pq1";
272
278
  } | undefined;
279
+ excludeHostsByTags?: string[] | undefined;
273
280
  } | undefined;
274
281
  }[];
275
282
  settings?: {
@@ -342,6 +349,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
342
349
  key: string;
343
350
  method: "age1" | "age1pq1";
344
351
  } | undefined;
352
+ excludeHostsByTags?: string[] | undefined;
345
353
  } | undefined;
346
354
  }[];
347
355
  settings?: {
@@ -404,6 +412,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
404
412
  key: string;
405
413
  method: "age1" | "age1pq1";
406
414
  } | undefined;
415
+ excludeHostsByTags?: string[] | undefined;
407
416
  } | undefined;
408
417
  }[];
409
418
  settings?: {
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCrC,CAAC"}
1
+ {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCrC,CAAC"}
@@ -25,4 +25,5 @@ exports.TEMPLATE_KEYS = [
25
25
  'SS_SUPPORT_LINK',
26
26
  'SS_PROFILE_UPDATE_INTERVAL',
27
27
  'SS_HWID_LIMIT',
28
+ 'DESCRIPTION',
28
29
  ];
@@ -96,6 +96,16 @@ exports.ResponseRuleModificationsSchema = zod_1.default
96
96
  encryption: exports.ResponseRuleEncryptionSchema.optional().describe(JSON.stringify({
97
97
  markdownDescription: 'Encrypt response body with given parameters. Generate keypairs with Rescue CLI: `docker exec -it remnawave cli`, select "Generate keypairs".',
98
98
  })),
99
+ excludeHostsByTags: zod_1.default
100
+ .array(zod_1.default
101
+ .string()
102
+ .regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
103
+ .max(36, 'Each tag must be less than 36 characters'))
104
+ .min(1)
105
+ .optional()
106
+ .describe(JSON.stringify({
107
+ markdownDescription: 'Excludes hosts from the subscription output if at least one tag in the host matches the given tags.',
108
+ })),
99
109
  })
100
110
  .optional()
101
111
  .describe(JSON.stringify({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.8.33",
3
+ "version": "2.8.35",
4
4
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/remnawave",