@remnawave/backend-contract 2.7.1 → 2.7.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/commands/hwid/create-user-hwid-device.command.d.ts +17 -7
- package/build/backend/commands/hwid/create-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/create-user-hwid-device.command.js +1 -0
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts +14 -7
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts +14 -7
- package/build/backend/commands/hwid/delete-user-hwid-device.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-all-hwid-devices.command.d.ts +14 -7
- package/build/backend/commands/hwid/get-all-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts +14 -7
- package/build/backend/commands/hwid/get-user-hwid-devices.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.d.ts +7 -7
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +11 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +20 -0
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +18 -0
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/commands/users/get-user-subscription-request-history.command.d.ts +7 -7
- package/build/backend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/backend/constants/metrics/metric-names.constant.d.ts +3 -0
- package/build/backend/constants/metrics/metric-names.constant.d.ts.map +1 -1
- package/build/backend/constants/metrics/metric-names.constant.js +3 -0
- package/build/backend/models/hwid-user-device.schema.d.ts +6 -3
- package/build/backend/models/hwid-user-device.schema.d.ts.map +1 -1
- package/build/backend/models/hwid-user-device.schema.js +2 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +3 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.js +15 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts +10 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +7 -0
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-request-history.schema.d.ts +3 -3
- package/build/backend/models/subscription-request-history.schema.js +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +9 -0
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/webhook/webhook.schema.d.ts +28 -14
- package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
- package/build/frontend/commands/hwid/create-user-hwid-device.command.js +1 -0
- package/build/frontend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/frontend/constants/metrics/metric-names.constant.js +3 -0
- package/build/frontend/models/hwid-user-device.schema.js +2 -1
- package/build/frontend/models/response-rules/response-rule-modifications.schema.js +15 -0
- package/build/frontend/models/subscription-request-history.schema.js +1 -1
- package/package.json +1 -1
|
@@ -112,6 +112,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
112
112
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
113
113
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
114
114
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
116
|
}, "strip", z.ZodTypeAny, {
|
|
116
117
|
headers?: {
|
|
117
118
|
value: string;
|
|
@@ -121,6 +122,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
121
122
|
subscriptionTemplate?: string | undefined;
|
|
122
123
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
123
124
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
125
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
124
126
|
}, {
|
|
125
127
|
headers?: {
|
|
126
128
|
value: string;
|
|
@@ -130,6 +132,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
130
132
|
subscriptionTemplate?: string | undefined;
|
|
131
133
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
132
134
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
135
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
133
136
|
}>>;
|
|
134
137
|
}, "strip", z.ZodTypeAny, {
|
|
135
138
|
enabled: boolean;
|
|
@@ -152,6 +155,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
152
155
|
subscriptionTemplate?: string | undefined;
|
|
153
156
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
154
157
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
158
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
155
159
|
} | undefined;
|
|
156
160
|
}, {
|
|
157
161
|
enabled: boolean;
|
|
@@ -174,6 +178,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
174
178
|
subscriptionTemplate?: string | undefined;
|
|
175
179
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
176
180
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
181
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
177
182
|
} | undefined;
|
|
178
183
|
}>, "many">;
|
|
179
184
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -199,6 +204,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
199
204
|
subscriptionTemplate?: string | undefined;
|
|
200
205
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
201
206
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
207
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
202
208
|
} | undefined;
|
|
203
209
|
}[];
|
|
204
210
|
settings?: {
|
|
@@ -227,6 +233,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
227
233
|
subscriptionTemplate?: string | undefined;
|
|
228
234
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
229
235
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
236
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
230
237
|
} | undefined;
|
|
231
238
|
}[];
|
|
232
239
|
settings?: {
|
|
@@ -293,6 +300,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
293
300
|
subscriptionTemplate?: string | undefined;
|
|
294
301
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
295
302
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
303
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
296
304
|
} | undefined;
|
|
297
305
|
}[];
|
|
298
306
|
settings?: {
|
|
@@ -349,6 +357,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
349
357
|
subscriptionTemplate?: string | undefined;
|
|
350
358
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
351
359
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
360
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
352
361
|
} | undefined;
|
|
353
362
|
}[];
|
|
354
363
|
settings?: {
|
|
@@ -407,6 +416,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
407
416
|
subscriptionTemplate?: string | undefined;
|
|
408
417
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
409
418
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
419
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
410
420
|
} | undefined;
|
|
411
421
|
}[];
|
|
412
422
|
settings?: {
|
|
@@ -465,6 +475,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
465
475
|
subscriptionTemplate?: string | undefined;
|
|
466
476
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
467
477
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
478
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
468
479
|
} | undefined;
|
|
469
480
|
}[];
|
|
470
481
|
settings?: {
|
package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map
CHANGED
|
@@ -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,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
|
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,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
111
111
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
112
112
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
113
113
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
114
115
|
}, "strip", z.ZodTypeAny, {
|
|
115
116
|
headers?: {
|
|
116
117
|
value: string;
|
|
@@ -120,6 +121,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
120
121
|
subscriptionTemplate?: string | undefined;
|
|
121
122
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
122
123
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
124
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
123
125
|
}, {
|
|
124
126
|
headers?: {
|
|
125
127
|
value: string;
|
|
@@ -129,6 +131,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
129
131
|
subscriptionTemplate?: string | undefined;
|
|
130
132
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
131
133
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
134
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
132
135
|
}>>;
|
|
133
136
|
}, "strip", z.ZodTypeAny, {
|
|
134
137
|
enabled: boolean;
|
|
@@ -151,6 +154,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
151
154
|
subscriptionTemplate?: string | undefined;
|
|
152
155
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
153
156
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
157
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
154
158
|
} | undefined;
|
|
155
159
|
}, {
|
|
156
160
|
enabled: boolean;
|
|
@@ -173,6 +177,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
173
177
|
subscriptionTemplate?: string | undefined;
|
|
174
178
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
175
179
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
180
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
176
181
|
} | undefined;
|
|
177
182
|
}>, "many">;
|
|
178
183
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -198,6 +203,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
198
203
|
subscriptionTemplate?: string | undefined;
|
|
199
204
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
200
205
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
206
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
201
207
|
} | undefined;
|
|
202
208
|
}[];
|
|
203
209
|
settings?: {
|
|
@@ -226,6 +232,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
226
232
|
subscriptionTemplate?: string | undefined;
|
|
227
233
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
228
234
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
235
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
229
236
|
} | undefined;
|
|
230
237
|
}[];
|
|
231
238
|
settings?: {
|
|
@@ -288,6 +295,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
288
295
|
subscriptionTemplate?: string | undefined;
|
|
289
296
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
290
297
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
298
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
291
299
|
} | undefined;
|
|
292
300
|
}[];
|
|
293
301
|
settings?: {
|
|
@@ -342,6 +350,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
342
350
|
subscriptionTemplate?: string | undefined;
|
|
343
351
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
344
352
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
353
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
345
354
|
} | undefined;
|
|
346
355
|
}[];
|
|
347
356
|
settings?: {
|
|
@@ -464,6 +473,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
464
473
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
465
474
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
466
475
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
476
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
467
477
|
}, "strip", z.ZodTypeAny, {
|
|
468
478
|
headers?: {
|
|
469
479
|
value: string;
|
|
@@ -473,6 +483,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
473
483
|
subscriptionTemplate?: string | undefined;
|
|
474
484
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
475
485
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
486
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
476
487
|
}, {
|
|
477
488
|
headers?: {
|
|
478
489
|
value: string;
|
|
@@ -482,6 +493,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
482
493
|
subscriptionTemplate?: string | undefined;
|
|
483
494
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
484
495
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
496
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
485
497
|
}>>;
|
|
486
498
|
}, "strip", z.ZodTypeAny, {
|
|
487
499
|
enabled: boolean;
|
|
@@ -504,6 +516,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
504
516
|
subscriptionTemplate?: string | undefined;
|
|
505
517
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
506
518
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
519
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
507
520
|
} | undefined;
|
|
508
521
|
}, {
|
|
509
522
|
enabled: boolean;
|
|
@@ -526,6 +539,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
526
539
|
subscriptionTemplate?: string | undefined;
|
|
527
540
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
528
541
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
542
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
529
543
|
} | undefined;
|
|
530
544
|
}>, "many">;
|
|
531
545
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -551,6 +565,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
551
565
|
subscriptionTemplate?: string | undefined;
|
|
552
566
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
553
567
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
568
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
554
569
|
} | undefined;
|
|
555
570
|
}[];
|
|
556
571
|
settings?: {
|
|
@@ -579,6 +594,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
579
594
|
subscriptionTemplate?: string | undefined;
|
|
580
595
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
581
596
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
597
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
582
598
|
} | undefined;
|
|
583
599
|
}[];
|
|
584
600
|
settings?: {
|
|
@@ -645,6 +661,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
645
661
|
subscriptionTemplate?: string | undefined;
|
|
646
662
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
647
663
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
664
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
648
665
|
} | undefined;
|
|
649
666
|
}[];
|
|
650
667
|
settings?: {
|
|
@@ -701,6 +718,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
701
718
|
subscriptionTemplate?: string | undefined;
|
|
702
719
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
703
720
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
721
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
704
722
|
} | undefined;
|
|
705
723
|
}[];
|
|
706
724
|
settings?: {
|
|
@@ -759,6 +777,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
759
777
|
subscriptionTemplate?: string | undefined;
|
|
760
778
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
761
779
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
780
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
762
781
|
} | undefined;
|
|
763
782
|
}[];
|
|
764
783
|
settings?: {
|
|
@@ -817,6 +836,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
817
836
|
subscriptionTemplate?: string | undefined;
|
|
818
837
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
819
838
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
839
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
820
840
|
} | undefined;
|
|
821
841
|
}[];
|
|
822
842
|
settings?: {
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map
CHANGED
|
@@ -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,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
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,2CAI3B,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"}
|
|
@@ -78,6 +78,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
78
78
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
79
79
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
80
80
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
81
82
|
}, "strip", z.ZodTypeAny, {
|
|
82
83
|
headers?: {
|
|
83
84
|
value: string;
|
|
@@ -87,6 +88,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
87
88
|
subscriptionTemplate?: string | undefined;
|
|
88
89
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
89
90
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
91
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
90
92
|
}, {
|
|
91
93
|
headers?: {
|
|
92
94
|
value: string;
|
|
@@ -96,6 +98,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
96
98
|
subscriptionTemplate?: string | undefined;
|
|
97
99
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
98
100
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
101
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
99
102
|
}>>;
|
|
100
103
|
}, "strip", z.ZodTypeAny, {
|
|
101
104
|
enabled: boolean;
|
|
@@ -118,6 +121,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
118
121
|
subscriptionTemplate?: string | undefined;
|
|
119
122
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
120
123
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
124
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
121
125
|
} | undefined;
|
|
122
126
|
}, {
|
|
123
127
|
enabled: boolean;
|
|
@@ -140,6 +144,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
140
144
|
subscriptionTemplate?: string | undefined;
|
|
141
145
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
142
146
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
147
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
143
148
|
} | undefined;
|
|
144
149
|
}>, "many">;
|
|
145
150
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -165,6 +170,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
165
170
|
subscriptionTemplate?: string | undefined;
|
|
166
171
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
167
172
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
173
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
168
174
|
} | undefined;
|
|
169
175
|
}[];
|
|
170
176
|
settings?: {
|
|
@@ -193,6 +199,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
193
199
|
subscriptionTemplate?: string | undefined;
|
|
194
200
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
195
201
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
202
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
196
203
|
} | undefined;
|
|
197
204
|
}[];
|
|
198
205
|
settings?: {
|
|
@@ -223,6 +230,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
223
230
|
subscriptionTemplate?: string | undefined;
|
|
224
231
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
225
232
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
233
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
226
234
|
} | undefined;
|
|
227
235
|
}[];
|
|
228
236
|
settings?: {
|
|
@@ -253,6 +261,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
253
261
|
subscriptionTemplate?: string | undefined;
|
|
254
262
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
255
263
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
264
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
256
265
|
} | undefined;
|
|
257
266
|
}[];
|
|
258
267
|
settings?: {
|
|
@@ -340,6 +349,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
340
349
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
341
350
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
342
351
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
352
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
343
353
|
}, "strip", z.ZodTypeAny, {
|
|
344
354
|
headers?: {
|
|
345
355
|
value: string;
|
|
@@ -349,6 +359,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
349
359
|
subscriptionTemplate?: string | undefined;
|
|
350
360
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
351
361
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
362
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
352
363
|
}, {
|
|
353
364
|
headers?: {
|
|
354
365
|
value: string;
|
|
@@ -358,6 +369,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
358
369
|
subscriptionTemplate?: string | undefined;
|
|
359
370
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
360
371
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
372
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
361
373
|
}>>;
|
|
362
374
|
}, "strip", z.ZodTypeAny, {
|
|
363
375
|
enabled: boolean;
|
|
@@ -380,6 +392,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
380
392
|
subscriptionTemplate?: string | undefined;
|
|
381
393
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
382
394
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
395
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
383
396
|
} | undefined;
|
|
384
397
|
}, {
|
|
385
398
|
enabled: boolean;
|
|
@@ -402,6 +415,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
402
415
|
subscriptionTemplate?: string | undefined;
|
|
403
416
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
404
417
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
418
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
405
419
|
} | undefined;
|
|
406
420
|
}>>;
|
|
407
421
|
inputHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -430,6 +444,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
430
444
|
subscriptionTemplate?: string | undefined;
|
|
431
445
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
432
446
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
447
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
433
448
|
} | undefined;
|
|
434
449
|
} | null;
|
|
435
450
|
inputHeaders: Record<string, string>;
|
|
@@ -458,6 +473,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
458
473
|
subscriptionTemplate?: string | undefined;
|
|
459
474
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
460
475
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
476
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
461
477
|
} | undefined;
|
|
462
478
|
} | null;
|
|
463
479
|
inputHeaders: Record<string, string>;
|
|
@@ -488,6 +504,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
488
504
|
subscriptionTemplate?: string | undefined;
|
|
489
505
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
490
506
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
507
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
491
508
|
} | undefined;
|
|
492
509
|
} | null;
|
|
493
510
|
inputHeaders: Record<string, string>;
|
|
@@ -518,6 +535,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
518
535
|
subscriptionTemplate?: string | undefined;
|
|
519
536
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
520
537
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
538
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
521
539
|
} | undefined;
|
|
522
540
|
} | null;
|
|
523
541
|
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,8CAI3B,CAAC;IACK,MAAM,aAAa
|
|
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,8CAI3B,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"}
|
|
@@ -16,19 +16,19 @@ export declare namespace GetUserSubscriptionRequestHistoryCommand {
|
|
|
16
16
|
total: z.ZodNumber;
|
|
17
17
|
records: z.ZodArray<z.ZodObject<{
|
|
18
18
|
id: z.ZodNumber;
|
|
19
|
-
|
|
19
|
+
userId: z.ZodNumber;
|
|
20
20
|
requestAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
21
21
|
requestIp: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
22
|
userAgent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
userUuid: string;
|
|
25
24
|
id: number;
|
|
25
|
+
userId: number;
|
|
26
26
|
requestAt: Date;
|
|
27
27
|
userAgent?: string | null | undefined;
|
|
28
28
|
requestIp?: string | null | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
userUuid: string;
|
|
31
30
|
id: number;
|
|
31
|
+
userId: number;
|
|
32
32
|
requestAt: string;
|
|
33
33
|
userAgent?: string | null | undefined;
|
|
34
34
|
requestIp?: string | null | undefined;
|
|
@@ -36,8 +36,8 @@ export declare namespace GetUserSubscriptionRequestHistoryCommand {
|
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
total: number;
|
|
38
38
|
records: {
|
|
39
|
-
userUuid: string;
|
|
40
39
|
id: number;
|
|
40
|
+
userId: number;
|
|
41
41
|
requestAt: Date;
|
|
42
42
|
userAgent?: string | null | undefined;
|
|
43
43
|
requestIp?: string | null | undefined;
|
|
@@ -45,8 +45,8 @@ export declare namespace GetUserSubscriptionRequestHistoryCommand {
|
|
|
45
45
|
}, {
|
|
46
46
|
total: number;
|
|
47
47
|
records: {
|
|
48
|
-
userUuid: string;
|
|
49
48
|
id: number;
|
|
49
|
+
userId: number;
|
|
50
50
|
requestAt: string;
|
|
51
51
|
userAgent?: string | null | undefined;
|
|
52
52
|
requestIp?: string | null | undefined;
|
|
@@ -56,8 +56,8 @@ export declare namespace GetUserSubscriptionRequestHistoryCommand {
|
|
|
56
56
|
response: {
|
|
57
57
|
total: number;
|
|
58
58
|
records: {
|
|
59
|
-
userUuid: string;
|
|
60
59
|
id: number;
|
|
60
|
+
userId: number;
|
|
61
61
|
requestAt: Date;
|
|
62
62
|
userAgent?: string | null | undefined;
|
|
63
63
|
requestIp?: string | null | undefined;
|
|
@@ -67,8 +67,8 @@ export declare namespace GetUserSubscriptionRequestHistoryCommand {
|
|
|
67
67
|
response: {
|
|
68
68
|
total: number;
|
|
69
69
|
records: {
|
|
70
|
-
userUuid: string;
|
|
71
70
|
id: number;
|
|
71
|
+
userId: number;
|
|
72
72
|
requestAt: string;
|
|
73
73
|
userAgent?: string | null | undefined;
|
|
74
74
|
requestIp?: string | null | undefined;
|
|
@@ -25,6 +25,9 @@ export declare const METRIC_NAMES: {
|
|
|
25
25
|
readonly NODE_MEMORY_FREE_BYTES: "node_memory_free_bytes";
|
|
26
26
|
readonly NODE_UPTIME_SECONDS: "node_uptime_seconds";
|
|
27
27
|
readonly NODE_CPU_COUNT: "node_cpu_count";
|
|
28
|
+
readonly NODE_CPU_LOAD_AVG_1M: "node_cpu_load_avg_1m";
|
|
29
|
+
readonly NODE_CPU_LOAD_AVG_5M: "node_cpu_load_avg_5m";
|
|
30
|
+
readonly NODE_CPU_LOAD_AVG_15M: "node_cpu_load_avg_15m";
|
|
28
31
|
readonly NODE_BASIC_INFO: "node_basic_info";
|
|
29
32
|
readonly NODE_SYSTEM_INFO: "node_system_info";
|
|
30
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metric-names.constant.d.ts","sourceRoot":"","sources":["../../../../constants/metrics/metric-names.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"metric-names.constant.d.ts","sourceRoot":"","sources":["../../../../constants/metrics/metric-names.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Cf,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC;AAC/C,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -33,6 +33,9 @@ exports.METRIC_NAMES = {
|
|
|
33
33
|
NODE_MEMORY_FREE_BYTES: 'node_memory_free_bytes',
|
|
34
34
|
NODE_UPTIME_SECONDS: 'node_uptime_seconds',
|
|
35
35
|
NODE_CPU_COUNT: 'node_cpu_count',
|
|
36
|
+
NODE_CPU_LOAD_AVG_1M: 'node_cpu_load_avg_1m',
|
|
37
|
+
NODE_CPU_LOAD_AVG_5M: 'node_cpu_load_avg_5m',
|
|
38
|
+
NODE_CPU_LOAD_AVG_15M: 'node_cpu_load_avg_15m',
|
|
36
39
|
NODE_BASIC_INFO: 'node_basic_info',
|
|
37
40
|
NODE_SYSTEM_INFO: 'node_system_info',
|
|
38
41
|
};
|
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const HwidUserDeviceSchema: z.ZodObject<{
|
|
3
3
|
hwid: z.ZodString;
|
|
4
|
-
|
|
4
|
+
userId: z.ZodNumber;
|
|
5
5
|
platform: z.ZodNullable<z.ZodString>;
|
|
6
6
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
7
7
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
8
8
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
9
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
|
9
10
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
10
11
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
11
12
|
}, "strip", z.ZodTypeAny, {
|
|
12
13
|
hwid: string;
|
|
13
14
|
createdAt: Date;
|
|
14
15
|
updatedAt: Date;
|
|
15
|
-
|
|
16
|
+
userId: number;
|
|
16
17
|
platform: string | null;
|
|
17
18
|
osVersion: string | null;
|
|
18
19
|
deviceModel: string | null;
|
|
19
20
|
userAgent: string | null;
|
|
21
|
+
requestIp: string | null;
|
|
20
22
|
}, {
|
|
21
23
|
hwid: string;
|
|
22
24
|
createdAt: string;
|
|
23
25
|
updatedAt: string;
|
|
24
|
-
|
|
26
|
+
userId: number;
|
|
25
27
|
platform: string | null;
|
|
26
28
|
osVersion: string | null;
|
|
27
29
|
deviceModel: string | null;
|
|
28
30
|
userAgent: string | null;
|
|
31
|
+
requestIp: string | null;
|
|
29
32
|
}>;
|
|
30
33
|
//# sourceMappingURL=hwid-user-device.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hwid-user-device.schema.d.ts","sourceRoot":"","sources":["../../../models/hwid-user-device.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"hwid-user-device.schema.d.ts","sourceRoot":"","sources":["../../../models/hwid-user-device.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB/B,CAAC"}
|
|
@@ -4,11 +4,12 @@ exports.HwidUserDeviceSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.HwidUserDeviceSchema = zod_1.z.object({
|
|
6
6
|
hwid: zod_1.z.string(),
|
|
7
|
-
|
|
7
|
+
userId: zod_1.z.number(),
|
|
8
8
|
platform: zod_1.z.nullable(zod_1.z.string()),
|
|
9
9
|
osVersion: zod_1.z.nullable(zod_1.z.string()),
|
|
10
10
|
deviceModel: zod_1.z.nullable(zod_1.z.string()),
|
|
11
11
|
userAgent: zod_1.z.nullable(zod_1.z.string()),
|
|
12
|
+
requestIp: zod_1.z.nullable(zod_1.z.string()),
|
|
12
13
|
createdAt: zod_1.z
|
|
13
14
|
.string()
|
|
14
15
|
.datetime()
|
|
@@ -14,6 +14,7 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
|
|
|
14
14
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
15
15
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
16
16
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17
18
|
}, "strip", z.ZodTypeAny, {
|
|
18
19
|
headers?: {
|
|
19
20
|
value: string;
|
|
@@ -23,6 +24,7 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
|
|
|
23
24
|
subscriptionTemplate?: string | undefined;
|
|
24
25
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
25
26
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
27
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
26
28
|
}, {
|
|
27
29
|
headers?: {
|
|
28
30
|
value: string;
|
|
@@ -32,5 +34,6 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
|
|
|
32
34
|
subscriptionTemplate?: string | undefined;
|
|
33
35
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
34
36
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
37
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
35
38
|
}>>;
|
|
36
39
|
//# 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,+BAA+B
|
|
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,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HvC,CAAC"}
|
|
@@ -68,6 +68,21 @@ exports.ResponseRuleModificationsSchema = zod_1.default
|
|
|
68
68
|
.describe(JSON.stringify({
|
|
69
69
|
markdownDescription: 'If you set this flag to **true**, the **Serve JSON at Base Subscription** setting will be ignored (set to **false**).',
|
|
70
70
|
})),
|
|
71
|
+
additionalExtendedClientsRegex: zod_1.default
|
|
72
|
+
.array(zod_1.default.string().min(1))
|
|
73
|
+
.optional()
|
|
74
|
+
.describe(JSON.stringify({
|
|
75
|
+
markdownDescription: 'Additional regex patterns to match extended clients. Matched clients will receive `serverDescription` in the subscription response.\n\n' +
|
|
76
|
+
'**Default Mihomo extended clients:**\n' +
|
|
77
|
+
'- `^FlClash ?X/`\n' +
|
|
78
|
+
'- `^Flowvy/`\n' +
|
|
79
|
+
'- `^prizrak-box/`\n' +
|
|
80
|
+
'- `^koala-clash/`\n\n' +
|
|
81
|
+
'**Default Xray extended clients:**\n' +
|
|
82
|
+
'- `^Happ/`\n' +
|
|
83
|
+
'- `^INCY/`\n\n' +
|
|
84
|
+
'**Example:** `["^MyClient/", "^CustomApp\\\\/v2"]`',
|
|
85
|
+
})),
|
|
71
86
|
})
|
|
72
87
|
.optional()
|
|
73
88
|
.describe(JSON.stringify({
|