@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
|
@@ -62,6 +62,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
62
62
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
63
63
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
64
64
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
65
66
|
}, "strip", z.ZodTypeAny, {
|
|
66
67
|
headers?: {
|
|
67
68
|
value: string;
|
|
@@ -71,6 +72,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
71
72
|
subscriptionTemplate?: string | undefined;
|
|
72
73
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
73
74
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
75
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
74
76
|
}, {
|
|
75
77
|
headers?: {
|
|
76
78
|
value: string;
|
|
@@ -80,6 +82,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
80
82
|
subscriptionTemplate?: string | undefined;
|
|
81
83
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
82
84
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
85
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
83
86
|
}>>;
|
|
84
87
|
}, "strip", z.ZodTypeAny, {
|
|
85
88
|
enabled: boolean;
|
|
@@ -102,6 +105,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
102
105
|
subscriptionTemplate?: string | undefined;
|
|
103
106
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
104
107
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
108
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
105
109
|
} | undefined;
|
|
106
110
|
}, {
|
|
107
111
|
enabled: boolean;
|
|
@@ -124,6 +128,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
124
128
|
subscriptionTemplate?: string | undefined;
|
|
125
129
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
126
130
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
131
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
127
132
|
} | undefined;
|
|
128
133
|
}>;
|
|
129
134
|
export declare const ResponseRuleSchema: z.ZodObject<{
|
|
@@ -189,6 +194,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
189
194
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
190
195
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
191
196
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
192
198
|
}, "strip", z.ZodTypeAny, {
|
|
193
199
|
headers?: {
|
|
194
200
|
value: string;
|
|
@@ -198,6 +204,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
198
204
|
subscriptionTemplate?: string | undefined;
|
|
199
205
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
200
206
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
207
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
201
208
|
}, {
|
|
202
209
|
headers?: {
|
|
203
210
|
value: string;
|
|
@@ -207,6 +214,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
207
214
|
subscriptionTemplate?: string | undefined;
|
|
208
215
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
209
216
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
217
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
210
218
|
}>>;
|
|
211
219
|
}, "strip", z.ZodTypeAny, {
|
|
212
220
|
enabled: boolean;
|
|
@@ -229,6 +237,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
229
237
|
subscriptionTemplate?: string | undefined;
|
|
230
238
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
231
239
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
240
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
232
241
|
} | undefined;
|
|
233
242
|
}, {
|
|
234
243
|
enabled: boolean;
|
|
@@ -251,6 +260,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
251
260
|
subscriptionTemplate?: string | undefined;
|
|
252
261
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
253
262
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
263
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
254
264
|
} | undefined;
|
|
255
265
|
}>;
|
|
256
266
|
//# 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
|
|
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"}
|
|
@@ -73,6 +73,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
73
73
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
74
74
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
75
75
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76
77
|
}, "strip", z.ZodTypeAny, {
|
|
77
78
|
headers?: {
|
|
78
79
|
value: string;
|
|
@@ -82,6 +83,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
82
83
|
subscriptionTemplate?: string | undefined;
|
|
83
84
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
84
85
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
86
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
85
87
|
}, {
|
|
86
88
|
headers?: {
|
|
87
89
|
value: string;
|
|
@@ -91,6 +93,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
91
93
|
subscriptionTemplate?: string | undefined;
|
|
92
94
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
93
95
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
96
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
94
97
|
}>>;
|
|
95
98
|
}, "strip", z.ZodTypeAny, {
|
|
96
99
|
enabled: boolean;
|
|
@@ -113,6 +116,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
113
116
|
subscriptionTemplate?: string | undefined;
|
|
114
117
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
115
118
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
119
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
116
120
|
} | undefined;
|
|
117
121
|
}, {
|
|
118
122
|
enabled: boolean;
|
|
@@ -135,6 +139,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
135
139
|
subscriptionTemplate?: string | undefined;
|
|
136
140
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
137
141
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
142
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
138
143
|
} | undefined;
|
|
139
144
|
}>, "many">;
|
|
140
145
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -160,6 +165,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
160
165
|
subscriptionTemplate?: string | undefined;
|
|
161
166
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
162
167
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
168
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
163
169
|
} | undefined;
|
|
164
170
|
}[];
|
|
165
171
|
settings?: {
|
|
@@ -188,6 +194,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
188
194
|
subscriptionTemplate?: string | undefined;
|
|
189
195
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
190
196
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
197
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
191
198
|
} | undefined;
|
|
192
199
|
}[];
|
|
193
200
|
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
|
|
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,19 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const SubscriptionRequestHistorySchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodNumber;
|
|
4
|
-
|
|
4
|
+
userId: z.ZodNumber;
|
|
5
5
|
requestIp: z.ZodNullable<z.ZodString>;
|
|
6
6
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
7
7
|
requestAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
|
-
userUuid: string;
|
|
10
9
|
id: number;
|
|
10
|
+
userId: number;
|
|
11
11
|
userAgent: string | null;
|
|
12
12
|
requestIp: string | null;
|
|
13
13
|
requestAt: Date;
|
|
14
14
|
}, {
|
|
15
|
-
userUuid: string;
|
|
16
15
|
id: number;
|
|
16
|
+
userId: number;
|
|
17
17
|
userAgent: string | null;
|
|
18
18
|
requestIp: string | null;
|
|
19
19
|
requestAt: string;
|
|
@@ -4,7 +4,7 @@ exports.SubscriptionRequestHistorySchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.SubscriptionRequestHistorySchema = zod_1.z.object({
|
|
6
6
|
id: zod_1.z.number(),
|
|
7
|
-
|
|
7
|
+
userId: zod_1.z.number(),
|
|
8
8
|
requestIp: zod_1.z.nullable(zod_1.z.string()),
|
|
9
9
|
userAgent: zod_1.z.nullable(zod_1.z.string()),
|
|
10
10
|
requestAt: zod_1.z
|
|
@@ -107,6 +107,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
107
107
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
108
108
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
109
109
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
110
111
|
}, "strip", z.ZodTypeAny, {
|
|
111
112
|
headers?: {
|
|
112
113
|
value: string;
|
|
@@ -116,6 +117,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
116
117
|
subscriptionTemplate?: string | undefined;
|
|
117
118
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
118
119
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
120
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
119
121
|
}, {
|
|
120
122
|
headers?: {
|
|
121
123
|
value: string;
|
|
@@ -125,6 +127,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
125
127
|
subscriptionTemplate?: string | undefined;
|
|
126
128
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
127
129
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
130
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
128
131
|
}>>;
|
|
129
132
|
}, "strip", z.ZodTypeAny, {
|
|
130
133
|
enabled: boolean;
|
|
@@ -147,6 +150,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
147
150
|
subscriptionTemplate?: string | undefined;
|
|
148
151
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
149
152
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
153
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
150
154
|
} | undefined;
|
|
151
155
|
}, {
|
|
152
156
|
enabled: boolean;
|
|
@@ -169,6 +173,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
169
173
|
subscriptionTemplate?: string | undefined;
|
|
170
174
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
171
175
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
176
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
172
177
|
} | undefined;
|
|
173
178
|
}>, "many">;
|
|
174
179
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -194,6 +199,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
194
199
|
subscriptionTemplate?: string | undefined;
|
|
195
200
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
196
201
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
202
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
197
203
|
} | undefined;
|
|
198
204
|
}[];
|
|
199
205
|
settings?: {
|
|
@@ -222,6 +228,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
222
228
|
subscriptionTemplate?: string | undefined;
|
|
223
229
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
224
230
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
231
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
225
232
|
} | undefined;
|
|
226
233
|
}[];
|
|
227
234
|
settings?: {
|
|
@@ -288,6 +295,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
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?: {
|
|
@@ -344,6 +352,7 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
344
352
|
subscriptionTemplate?: string | undefined;
|
|
345
353
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
346
354
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
355
|
+
additionalExtendedClientsRegex?: string[] | undefined;
|
|
347
356
|
} | undefined;
|
|
348
357
|
}[];
|
|
349
358
|
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
|
|
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"}
|
|
@@ -376,31 +376,34 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
376
376
|
}>;
|
|
377
377
|
hwidUserDevice: z.ZodObject<{
|
|
378
378
|
hwid: z.ZodString;
|
|
379
|
-
|
|
379
|
+
userId: z.ZodNumber;
|
|
380
380
|
platform: z.ZodNullable<z.ZodString>;
|
|
381
381
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
382
382
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
383
383
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
384
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
|
384
385
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
385
386
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
386
387
|
}, "strip", z.ZodTypeAny, {
|
|
387
388
|
hwid: string;
|
|
388
389
|
createdAt: Date;
|
|
389
390
|
updatedAt: Date;
|
|
390
|
-
|
|
391
|
+
userId: number;
|
|
391
392
|
platform: string | null;
|
|
392
393
|
osVersion: string | null;
|
|
393
394
|
deviceModel: string | null;
|
|
394
395
|
userAgent: string | null;
|
|
396
|
+
requestIp: string | null;
|
|
395
397
|
}, {
|
|
396
398
|
hwid: string;
|
|
397
399
|
createdAt: string;
|
|
398
400
|
updatedAt: string;
|
|
399
|
-
|
|
401
|
+
userId: number;
|
|
400
402
|
platform: string | null;
|
|
401
403
|
osVersion: string | null;
|
|
402
404
|
deviceModel: string | null;
|
|
403
405
|
userAgent: string | null;
|
|
406
|
+
requestIp: string | null;
|
|
404
407
|
}>;
|
|
405
408
|
}, "strip", z.ZodTypeAny, {
|
|
406
409
|
user: {
|
|
@@ -443,11 +446,12 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
443
446
|
hwid: string;
|
|
444
447
|
createdAt: Date;
|
|
445
448
|
updatedAt: Date;
|
|
446
|
-
|
|
449
|
+
userId: number;
|
|
447
450
|
platform: string | null;
|
|
448
451
|
osVersion: string | null;
|
|
449
452
|
deviceModel: string | null;
|
|
450
453
|
userAgent: string | null;
|
|
454
|
+
requestIp: string | null;
|
|
451
455
|
};
|
|
452
456
|
}, {
|
|
453
457
|
user: {
|
|
@@ -490,11 +494,12 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
490
494
|
hwid: string;
|
|
491
495
|
createdAt: string;
|
|
492
496
|
updatedAt: string;
|
|
493
|
-
|
|
497
|
+
userId: number;
|
|
494
498
|
platform: string | null;
|
|
495
499
|
osVersion: string | null;
|
|
496
500
|
deviceModel: string | null;
|
|
497
501
|
userAgent: string | null;
|
|
502
|
+
requestIp: string | null;
|
|
498
503
|
};
|
|
499
504
|
}>;
|
|
500
505
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -539,11 +544,12 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
539
544
|
hwid: string;
|
|
540
545
|
createdAt: Date;
|
|
541
546
|
updatedAt: Date;
|
|
542
|
-
|
|
547
|
+
userId: number;
|
|
543
548
|
platform: string | null;
|
|
544
549
|
osVersion: string | null;
|
|
545
550
|
deviceModel: string | null;
|
|
546
551
|
userAgent: string | null;
|
|
552
|
+
requestIp: string | null;
|
|
547
553
|
};
|
|
548
554
|
};
|
|
549
555
|
scope: "user_hwid_devices";
|
|
@@ -591,11 +597,12 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
|
|
|
591
597
|
hwid: string;
|
|
592
598
|
createdAt: string;
|
|
593
599
|
updatedAt: string;
|
|
594
|
-
|
|
600
|
+
userId: number;
|
|
595
601
|
platform: string | null;
|
|
596
602
|
osVersion: string | null;
|
|
597
603
|
deviceModel: string | null;
|
|
598
604
|
userAgent: string | null;
|
|
605
|
+
requestIp: string | null;
|
|
599
606
|
};
|
|
600
607
|
};
|
|
601
608
|
scope: "user_hwid_devices";
|
|
@@ -2949,31 +2956,34 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
2949
2956
|
}>;
|
|
2950
2957
|
hwidUserDevice: z.ZodObject<{
|
|
2951
2958
|
hwid: z.ZodString;
|
|
2952
|
-
|
|
2959
|
+
userId: z.ZodNumber;
|
|
2953
2960
|
platform: z.ZodNullable<z.ZodString>;
|
|
2954
2961
|
osVersion: z.ZodNullable<z.ZodString>;
|
|
2955
2962
|
deviceModel: z.ZodNullable<z.ZodString>;
|
|
2956
2963
|
userAgent: z.ZodNullable<z.ZodString>;
|
|
2964
|
+
requestIp: z.ZodNullable<z.ZodString>;
|
|
2957
2965
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
2958
2966
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
2959
2967
|
}, "strip", z.ZodTypeAny, {
|
|
2960
2968
|
hwid: string;
|
|
2961
2969
|
createdAt: Date;
|
|
2962
2970
|
updatedAt: Date;
|
|
2963
|
-
|
|
2971
|
+
userId: number;
|
|
2964
2972
|
platform: string | null;
|
|
2965
2973
|
osVersion: string | null;
|
|
2966
2974
|
deviceModel: string | null;
|
|
2967
2975
|
userAgent: string | null;
|
|
2976
|
+
requestIp: string | null;
|
|
2968
2977
|
}, {
|
|
2969
2978
|
hwid: string;
|
|
2970
2979
|
createdAt: string;
|
|
2971
2980
|
updatedAt: string;
|
|
2972
|
-
|
|
2981
|
+
userId: number;
|
|
2973
2982
|
platform: string | null;
|
|
2974
2983
|
osVersion: string | null;
|
|
2975
2984
|
deviceModel: string | null;
|
|
2976
2985
|
userAgent: string | null;
|
|
2986
|
+
requestIp: string | null;
|
|
2977
2987
|
}>;
|
|
2978
2988
|
}, "strip", z.ZodTypeAny, {
|
|
2979
2989
|
user: {
|
|
@@ -3016,11 +3026,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3016
3026
|
hwid: string;
|
|
3017
3027
|
createdAt: Date;
|
|
3018
3028
|
updatedAt: Date;
|
|
3019
|
-
|
|
3029
|
+
userId: number;
|
|
3020
3030
|
platform: string | null;
|
|
3021
3031
|
osVersion: string | null;
|
|
3022
3032
|
deviceModel: string | null;
|
|
3023
3033
|
userAgent: string | null;
|
|
3034
|
+
requestIp: string | null;
|
|
3024
3035
|
};
|
|
3025
3036
|
}, {
|
|
3026
3037
|
user: {
|
|
@@ -3063,11 +3074,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3063
3074
|
hwid: string;
|
|
3064
3075
|
createdAt: string;
|
|
3065
3076
|
updatedAt: string;
|
|
3066
|
-
|
|
3077
|
+
userId: number;
|
|
3067
3078
|
platform: string | null;
|
|
3068
3079
|
osVersion: string | null;
|
|
3069
3080
|
deviceModel: string | null;
|
|
3070
3081
|
userAgent: string | null;
|
|
3082
|
+
requestIp: string | null;
|
|
3071
3083
|
};
|
|
3072
3084
|
}>;
|
|
3073
3085
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3112,11 +3124,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3112
3124
|
hwid: string;
|
|
3113
3125
|
createdAt: Date;
|
|
3114
3126
|
updatedAt: Date;
|
|
3115
|
-
|
|
3127
|
+
userId: number;
|
|
3116
3128
|
platform: string | null;
|
|
3117
3129
|
osVersion: string | null;
|
|
3118
3130
|
deviceModel: string | null;
|
|
3119
3131
|
userAgent: string | null;
|
|
3132
|
+
requestIp: string | null;
|
|
3120
3133
|
};
|
|
3121
3134
|
};
|
|
3122
3135
|
scope: "user_hwid_devices";
|
|
@@ -3164,11 +3177,12 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
|
|
|
3164
3177
|
hwid: string;
|
|
3165
3178
|
createdAt: string;
|
|
3166
3179
|
updatedAt: string;
|
|
3167
|
-
|
|
3180
|
+
userId: number;
|
|
3168
3181
|
platform: string | null;
|
|
3169
3182
|
osVersion: string | null;
|
|
3170
3183
|
deviceModel: string | null;
|
|
3171
3184
|
userAgent: string | null;
|
|
3185
|
+
requestIp: string | null;
|
|
3172
3186
|
};
|
|
3173
3187
|
};
|
|
3174
3188
|
scope: "user_hwid_devices";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.schema.d.ts","sourceRoot":"","sources":["../../../../models/webhook/webhook.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAarC,CAAC;AAEH,eA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.z.optional(zod_1.z.string()),
|
|
18
18
|
deviceModel: zod_1.z.optional(zod_1.z.string()),
|
|
19
19
|
userAgent: zod_1.z.optional(zod_1.z.string()),
|
|
20
|
+
requestIp: zod_1.z.optional(zod_1.z.string()),
|
|
20
21
|
});
|
|
21
22
|
CreateUserHwidDeviceCommand.ResponseSchema = zod_1.z.object({
|
|
22
23
|
response: zod_1.z.object({
|
|
@@ -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
|
};
|
|
@@ -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()
|
|
@@ -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({
|
|
@@ -4,7 +4,7 @@ exports.SubscriptionRequestHistorySchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.SubscriptionRequestHistorySchema = zod_1.z.object({
|
|
6
6
|
id: zod_1.z.number(),
|
|
7
|
-
|
|
7
|
+
userId: zod_1.z.number(),
|
|
8
8
|
requestIp: zod_1.z.nullable(zod_1.z.string()),
|
|
9
9
|
userAgent: zod_1.z.nullable(zod_1.z.string()),
|
|
10
10
|
requestAt: zod_1.z
|