@remnawave/backend-contract 2.8.17 → 2.8.18
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/subscription-settings/get-subscription-settings.command.d.ts +61 -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 +112 -0
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +12 -12
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +102 -0
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/models/resolved-proxy-config.schema.d.ts +22 -22
- package/build/backend/models/response-rules/index.d.ts +1 -0
- package/build/backend/models/response-rules/index.d.ts.map +1 -1
- package/build/backend/models/response-rules/index.js +1 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +31 -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 +14 -1
- package/build/backend/models/response-rules/response-rule.schema.d.ts +62 -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 +41 -0
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +51 -0
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/frontend/models/response-rules/index.js +1 -0
- package/build/frontend/models/response-rules/response-rule-modifications.schema.js +14 -1
- package/package.json +1 -1
|
@@ -63,6 +63,17 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
63
63
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
64
64
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
65
65
|
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
66
|
+
disableHwidCheck: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
+
encryption: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
method: z.ZodEnum<["age1", "age1pq1"]>;
|
|
69
|
+
key: z.ZodString;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
method: "age1" | "age1pq1";
|
|
72
|
+
key: string;
|
|
73
|
+
}, {
|
|
74
|
+
method: "age1" | "age1pq1";
|
|
75
|
+
key: string;
|
|
76
|
+
}>>;
|
|
66
77
|
}, "strip", z.ZodTypeAny, {
|
|
67
78
|
headers?: {
|
|
68
79
|
value: string;
|
|
@@ -73,6 +84,11 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
73
84
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
74
85
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
75
86
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
87
|
+
disableHwidCheck?: boolean | undefined;
|
|
88
|
+
encryption?: {
|
|
89
|
+
method: "age1" | "age1pq1";
|
|
90
|
+
key: string;
|
|
91
|
+
} | undefined;
|
|
76
92
|
}, {
|
|
77
93
|
headers?: {
|
|
78
94
|
value: string;
|
|
@@ -83,6 +99,11 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
83
99
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
84
100
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
85
101
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
102
|
+
disableHwidCheck?: boolean | undefined;
|
|
103
|
+
encryption?: {
|
|
104
|
+
method: "age1" | "age1pq1";
|
|
105
|
+
key: string;
|
|
106
|
+
} | undefined;
|
|
86
107
|
}>>;
|
|
87
108
|
}, "strip", z.ZodTypeAny, {
|
|
88
109
|
enabled: boolean;
|
|
@@ -106,6 +127,11 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
106
127
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
107
128
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
108
129
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
130
|
+
disableHwidCheck?: boolean | undefined;
|
|
131
|
+
encryption?: {
|
|
132
|
+
method: "age1" | "age1pq1";
|
|
133
|
+
key: string;
|
|
134
|
+
} | undefined;
|
|
109
135
|
} | undefined;
|
|
110
136
|
}, {
|
|
111
137
|
enabled: boolean;
|
|
@@ -129,6 +155,11 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
129
155
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
130
156
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
131
157
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
158
|
+
disableHwidCheck?: boolean | undefined;
|
|
159
|
+
encryption?: {
|
|
160
|
+
method: "age1" | "age1pq1";
|
|
161
|
+
key: string;
|
|
162
|
+
} | undefined;
|
|
132
163
|
} | undefined;
|
|
133
164
|
}>;
|
|
134
165
|
export declare const ResponseRuleSchema: z.ZodObject<{
|
|
@@ -195,6 +226,17 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
195
226
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
196
227
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
197
228
|
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
229
|
+
disableHwidCheck: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
encryption: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
method: z.ZodEnum<["age1", "age1pq1"]>;
|
|
232
|
+
key: z.ZodString;
|
|
233
|
+
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
method: "age1" | "age1pq1";
|
|
235
|
+
key: string;
|
|
236
|
+
}, {
|
|
237
|
+
method: "age1" | "age1pq1";
|
|
238
|
+
key: string;
|
|
239
|
+
}>>;
|
|
198
240
|
}, "strip", z.ZodTypeAny, {
|
|
199
241
|
headers?: {
|
|
200
242
|
value: string;
|
|
@@ -205,6 +247,11 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
205
247
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
206
248
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
207
249
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
250
|
+
disableHwidCheck?: boolean | undefined;
|
|
251
|
+
encryption?: {
|
|
252
|
+
method: "age1" | "age1pq1";
|
|
253
|
+
key: string;
|
|
254
|
+
} | undefined;
|
|
208
255
|
}, {
|
|
209
256
|
headers?: {
|
|
210
257
|
value: string;
|
|
@@ -215,6 +262,11 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
215
262
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
216
263
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
217
264
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
265
|
+
disableHwidCheck?: boolean | undefined;
|
|
266
|
+
encryption?: {
|
|
267
|
+
method: "age1" | "age1pq1";
|
|
268
|
+
key: string;
|
|
269
|
+
} | undefined;
|
|
218
270
|
}>>;
|
|
219
271
|
}, "strip", z.ZodTypeAny, {
|
|
220
272
|
enabled: boolean;
|
|
@@ -238,6 +290,11 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
238
290
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
239
291
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
240
292
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
293
|
+
disableHwidCheck?: boolean | undefined;
|
|
294
|
+
encryption?: {
|
|
295
|
+
method: "age1" | "age1pq1";
|
|
296
|
+
key: string;
|
|
297
|
+
} | undefined;
|
|
241
298
|
} | undefined;
|
|
242
299
|
}, {
|
|
243
300
|
enabled: boolean;
|
|
@@ -261,6 +318,11 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
261
318
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
262
319
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
263
320
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
321
|
+
disableHwidCheck?: boolean | undefined;
|
|
322
|
+
encryption?: {
|
|
323
|
+
method: "age1" | "age1pq1";
|
|
324
|
+
key: string;
|
|
325
|
+
} | undefined;
|
|
264
326
|
} | undefined;
|
|
265
327
|
}>;
|
|
266
328
|
//# 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"}
|
|
@@ -74,6 +74,17 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
74
74
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
75
75
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
76
76
|
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
77
|
+
disableHwidCheck: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
encryption: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
method: z.ZodEnum<["age1", "age1pq1"]>;
|
|
80
|
+
key: z.ZodString;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
method: "age1" | "age1pq1";
|
|
83
|
+
key: string;
|
|
84
|
+
}, {
|
|
85
|
+
method: "age1" | "age1pq1";
|
|
86
|
+
key: string;
|
|
87
|
+
}>>;
|
|
77
88
|
}, "strip", z.ZodTypeAny, {
|
|
78
89
|
headers?: {
|
|
79
90
|
value: string;
|
|
@@ -84,6 +95,11 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
84
95
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
85
96
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
86
97
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
98
|
+
disableHwidCheck?: boolean | undefined;
|
|
99
|
+
encryption?: {
|
|
100
|
+
method: "age1" | "age1pq1";
|
|
101
|
+
key: string;
|
|
102
|
+
} | undefined;
|
|
87
103
|
}, {
|
|
88
104
|
headers?: {
|
|
89
105
|
value: string;
|
|
@@ -94,6 +110,11 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
94
110
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
95
111
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
96
112
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
113
|
+
disableHwidCheck?: boolean | undefined;
|
|
114
|
+
encryption?: {
|
|
115
|
+
method: "age1" | "age1pq1";
|
|
116
|
+
key: string;
|
|
117
|
+
} | undefined;
|
|
97
118
|
}>>;
|
|
98
119
|
}, "strip", z.ZodTypeAny, {
|
|
99
120
|
enabled: boolean;
|
|
@@ -117,6 +138,11 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
117
138
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
118
139
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
119
140
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
141
|
+
disableHwidCheck?: boolean | undefined;
|
|
142
|
+
encryption?: {
|
|
143
|
+
method: "age1" | "age1pq1";
|
|
144
|
+
key: string;
|
|
145
|
+
} | undefined;
|
|
120
146
|
} | undefined;
|
|
121
147
|
}, {
|
|
122
148
|
enabled: boolean;
|
|
@@ -140,6 +166,11 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
140
166
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
141
167
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
142
168
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
169
|
+
disableHwidCheck?: boolean | undefined;
|
|
170
|
+
encryption?: {
|
|
171
|
+
method: "age1" | "age1pq1";
|
|
172
|
+
key: string;
|
|
173
|
+
} | undefined;
|
|
143
174
|
} | undefined;
|
|
144
175
|
}>, "many">;
|
|
145
176
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -166,6 +197,11 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
166
197
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
167
198
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
168
199
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
200
|
+
disableHwidCheck?: boolean | undefined;
|
|
201
|
+
encryption?: {
|
|
202
|
+
method: "age1" | "age1pq1";
|
|
203
|
+
key: string;
|
|
204
|
+
} | undefined;
|
|
169
205
|
} | undefined;
|
|
170
206
|
}[];
|
|
171
207
|
settings?: {
|
|
@@ -195,6 +231,11 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
195
231
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
196
232
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
197
233
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
234
|
+
disableHwidCheck?: boolean | undefined;
|
|
235
|
+
encryption?: {
|
|
236
|
+
method: "age1" | "age1pq1";
|
|
237
|
+
key: string;
|
|
238
|
+
} | undefined;
|
|
198
239
|
} | undefined;
|
|
199
240
|
}[];
|
|
200
241
|
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"}
|
|
@@ -108,6 +108,17 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
108
108
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
109
109
|
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
110
110
|
additionalExtendedClientsRegex: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
111
|
+
disableHwidCheck: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
encryption: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
method: z.ZodEnum<["age1", "age1pq1"]>;
|
|
114
|
+
key: z.ZodString;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
method: "age1" | "age1pq1";
|
|
117
|
+
key: string;
|
|
118
|
+
}, {
|
|
119
|
+
method: "age1" | "age1pq1";
|
|
120
|
+
key: string;
|
|
121
|
+
}>>;
|
|
111
122
|
}, "strip", z.ZodTypeAny, {
|
|
112
123
|
headers?: {
|
|
113
124
|
value: string;
|
|
@@ -118,6 +129,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
118
129
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
119
130
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
120
131
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
132
|
+
disableHwidCheck?: boolean | undefined;
|
|
133
|
+
encryption?: {
|
|
134
|
+
method: "age1" | "age1pq1";
|
|
135
|
+
key: string;
|
|
136
|
+
} | undefined;
|
|
121
137
|
}, {
|
|
122
138
|
headers?: {
|
|
123
139
|
value: string;
|
|
@@ -128,6 +144,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
128
144
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
129
145
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
130
146
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
147
|
+
disableHwidCheck?: boolean | undefined;
|
|
148
|
+
encryption?: {
|
|
149
|
+
method: "age1" | "age1pq1";
|
|
150
|
+
key: string;
|
|
151
|
+
} | undefined;
|
|
131
152
|
}>>;
|
|
132
153
|
}, "strip", z.ZodTypeAny, {
|
|
133
154
|
enabled: boolean;
|
|
@@ -151,6 +172,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
151
172
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
152
173
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
153
174
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
175
|
+
disableHwidCheck?: boolean | undefined;
|
|
176
|
+
encryption?: {
|
|
177
|
+
method: "age1" | "age1pq1";
|
|
178
|
+
key: string;
|
|
179
|
+
} | undefined;
|
|
154
180
|
} | undefined;
|
|
155
181
|
}, {
|
|
156
182
|
enabled: boolean;
|
|
@@ -174,6 +200,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
174
200
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
175
201
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
176
202
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
203
|
+
disableHwidCheck?: boolean | undefined;
|
|
204
|
+
encryption?: {
|
|
205
|
+
method: "age1" | "age1pq1";
|
|
206
|
+
key: string;
|
|
207
|
+
} | undefined;
|
|
177
208
|
} | undefined;
|
|
178
209
|
}>, "many">;
|
|
179
210
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -200,6 +231,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
200
231
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
201
232
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
202
233
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
234
|
+
disableHwidCheck?: boolean | undefined;
|
|
235
|
+
encryption?: {
|
|
236
|
+
method: "age1" | "age1pq1";
|
|
237
|
+
key: string;
|
|
238
|
+
} | undefined;
|
|
203
239
|
} | undefined;
|
|
204
240
|
}[];
|
|
205
241
|
settings?: {
|
|
@@ -229,6 +265,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
229
265
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
230
266
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
231
267
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
268
|
+
disableHwidCheck?: boolean | undefined;
|
|
269
|
+
encryption?: {
|
|
270
|
+
method: "age1" | "age1pq1";
|
|
271
|
+
key: string;
|
|
272
|
+
} | undefined;
|
|
232
273
|
} | undefined;
|
|
233
274
|
}[];
|
|
234
275
|
settings?: {
|
|
@@ -296,6 +337,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
296
337
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
297
338
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
298
339
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
340
|
+
disableHwidCheck?: boolean | undefined;
|
|
341
|
+
encryption?: {
|
|
342
|
+
method: "age1" | "age1pq1";
|
|
343
|
+
key: string;
|
|
344
|
+
} | undefined;
|
|
299
345
|
} | undefined;
|
|
300
346
|
}[];
|
|
301
347
|
settings?: {
|
|
@@ -353,6 +399,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
353
399
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
354
400
|
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
355
401
|
additionalExtendedClientsRegex?: string[] | undefined;
|
|
402
|
+
disableHwidCheck?: boolean | undefined;
|
|
403
|
+
encryption?: {
|
|
404
|
+
method: "age1" | "age1pq1";
|
|
405
|
+
key: string;
|
|
406
|
+
} | undefined;
|
|
356
407
|
} | undefined;
|
|
357
408
|
}[];
|
|
358
409
|
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"}
|
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./response-rule-condition.schema"), exports);
|
|
18
|
+
__exportStar(require("./response-rule-modifications.schema"), exports);
|
|
18
19
|
__exportStar(require("./response-rule.schema"), exports);
|
|
19
20
|
__exportStar(require("./response-rules-config.schema"), exports);
|
|
@@ -3,8 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ResponseRuleModificationsSchema = void 0;
|
|
6
|
+
exports.ResponseRuleModificationsSchema = exports.ResponseRuleEncryptionSchema = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.ResponseRuleEncryptionSchema = zod_1.default.object({
|
|
9
|
+
method: zod_1.default.enum(['age1', 'age1pq1']),
|
|
10
|
+
key: zod_1.default.string(),
|
|
11
|
+
});
|
|
8
12
|
exports.ResponseRuleModificationsSchema = zod_1.default
|
|
9
13
|
.object({
|
|
10
14
|
headers: zod_1.default
|
|
@@ -83,6 +87,15 @@ exports.ResponseRuleModificationsSchema = zod_1.default
|
|
|
83
87
|
'- `^INCY/`\n\n' +
|
|
84
88
|
'**Example:** `["^MyClient/", "^CustomApp\\\\/v2"]`',
|
|
85
89
|
})),
|
|
90
|
+
disableHwidCheck: zod_1.default
|
|
91
|
+
.boolean()
|
|
92
|
+
.optional()
|
|
93
|
+
.describe(JSON.stringify({
|
|
94
|
+
markdownDescription: 'If you set this flag to **true**, the HWID check will be disabled. **This modification have higher priority than settings from Subscription Settings.**',
|
|
95
|
+
})),
|
|
96
|
+
encryption: exports.ResponseRuleEncryptionSchema.optional().describe(JSON.stringify({
|
|
97
|
+
markdownDescription: 'Encrypt response body with given parameters. Generate keypairs with Rescue CLI: `docker exec -it remnawave cli`, select "Generate keypairs".',
|
|
98
|
+
})),
|
|
86
99
|
})
|
|
87
100
|
.optional()
|
|
88
101
|
.describe(JSON.stringify({
|