@remnawave/backend-contract 2.8.2 → 2.8.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.
@@ -49,7 +49,7 @@ export declare namespace BulkDeleteHostsCommand {
49
49
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
50
50
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
51
51
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
52
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
52
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
53
53
  shuffleHost: z.ZodBoolean;
54
54
  mihomoX25519: z.ZodBoolean;
55
55
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -87,7 +87,7 @@ export declare namespace BulkDeleteHostsCommand {
87
87
  overrideSniFromAddress: boolean;
88
88
  keepSniBlank: boolean;
89
89
  vlessRouteId: number | null;
90
- allowInsecure: boolean;
90
+ pinnedPeerCertSha256: string | null;
91
91
  shuffleHost: boolean;
92
92
  mihomoX25519: boolean;
93
93
  xrayJsonTemplateUuid: string | null;
@@ -116,6 +116,7 @@ export declare namespace BulkDeleteHostsCommand {
116
116
  };
117
117
  serverDescription: string | null;
118
118
  vlessRouteId: number | null;
119
+ pinnedPeerCertSha256: string | null;
119
120
  shuffleHost: boolean;
120
121
  mihomoX25519: boolean;
121
122
  xrayJsonTemplateUuid: string | null;
@@ -129,7 +130,6 @@ export declare namespace BulkDeleteHostsCommand {
129
130
  isHidden?: boolean | undefined;
130
131
  overrideSniFromAddress?: boolean | undefined;
131
132
  keepSniBlank?: boolean | undefined;
132
- allowInsecure?: boolean | undefined;
133
133
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
134
134
  }>, "many">;
135
135
  }, "strip", z.ZodTypeAny, {
@@ -157,7 +157,7 @@ export declare namespace BulkDeleteHostsCommand {
157
157
  overrideSniFromAddress: boolean;
158
158
  keepSniBlank: boolean;
159
159
  vlessRouteId: number | null;
160
- allowInsecure: boolean;
160
+ pinnedPeerCertSha256: string | null;
161
161
  shuffleHost: boolean;
162
162
  mihomoX25519: boolean;
163
163
  xrayJsonTemplateUuid: string | null;
@@ -188,6 +188,7 @@ export declare namespace BulkDeleteHostsCommand {
188
188
  };
189
189
  serverDescription: string | null;
190
190
  vlessRouteId: number | null;
191
+ pinnedPeerCertSha256: string | null;
191
192
  shuffleHost: boolean;
192
193
  mihomoX25519: boolean;
193
194
  xrayJsonTemplateUuid: string | null;
@@ -201,7 +202,6 @@ export declare namespace BulkDeleteHostsCommand {
201
202
  isHidden?: boolean | undefined;
202
203
  overrideSniFromAddress?: boolean | undefined;
203
204
  keepSniBlank?: boolean | undefined;
204
- allowInsecure?: boolean | undefined;
205
205
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
206
206
  }[];
207
207
  }>;
@@ -49,7 +49,7 @@ export declare namespace BulkDisableHostsCommand {
49
49
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
50
50
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
51
51
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
52
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
52
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
53
53
  shuffleHost: z.ZodBoolean;
54
54
  mihomoX25519: z.ZodBoolean;
55
55
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -87,7 +87,7 @@ export declare namespace BulkDisableHostsCommand {
87
87
  overrideSniFromAddress: boolean;
88
88
  keepSniBlank: boolean;
89
89
  vlessRouteId: number | null;
90
- allowInsecure: boolean;
90
+ pinnedPeerCertSha256: string | null;
91
91
  shuffleHost: boolean;
92
92
  mihomoX25519: boolean;
93
93
  xrayJsonTemplateUuid: string | null;
@@ -116,6 +116,7 @@ export declare namespace BulkDisableHostsCommand {
116
116
  };
117
117
  serverDescription: string | null;
118
118
  vlessRouteId: number | null;
119
+ pinnedPeerCertSha256: string | null;
119
120
  shuffleHost: boolean;
120
121
  mihomoX25519: boolean;
121
122
  xrayJsonTemplateUuid: string | null;
@@ -129,7 +130,6 @@ export declare namespace BulkDisableHostsCommand {
129
130
  isHidden?: boolean | undefined;
130
131
  overrideSniFromAddress?: boolean | undefined;
131
132
  keepSniBlank?: boolean | undefined;
132
- allowInsecure?: boolean | undefined;
133
133
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
134
134
  }>, "many">;
135
135
  }, "strip", z.ZodTypeAny, {
@@ -157,7 +157,7 @@ export declare namespace BulkDisableHostsCommand {
157
157
  overrideSniFromAddress: boolean;
158
158
  keepSniBlank: boolean;
159
159
  vlessRouteId: number | null;
160
- allowInsecure: boolean;
160
+ pinnedPeerCertSha256: string | null;
161
161
  shuffleHost: boolean;
162
162
  mihomoX25519: boolean;
163
163
  xrayJsonTemplateUuid: string | null;
@@ -188,6 +188,7 @@ export declare namespace BulkDisableHostsCommand {
188
188
  };
189
189
  serverDescription: string | null;
190
190
  vlessRouteId: number | null;
191
+ pinnedPeerCertSha256: string | null;
191
192
  shuffleHost: boolean;
192
193
  mihomoX25519: boolean;
193
194
  xrayJsonTemplateUuid: string | null;
@@ -201,7 +202,6 @@ export declare namespace BulkDisableHostsCommand {
201
202
  isHidden?: boolean | undefined;
202
203
  overrideSniFromAddress?: boolean | undefined;
203
204
  keepSniBlank?: boolean | undefined;
204
- allowInsecure?: boolean | undefined;
205
205
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
206
206
  }[];
207
207
  }>;
@@ -49,7 +49,7 @@ export declare namespace BulkEnableHostsCommand {
49
49
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
50
50
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
51
51
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
52
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
52
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
53
53
  shuffleHost: z.ZodBoolean;
54
54
  mihomoX25519: z.ZodBoolean;
55
55
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -87,7 +87,7 @@ export declare namespace BulkEnableHostsCommand {
87
87
  overrideSniFromAddress: boolean;
88
88
  keepSniBlank: boolean;
89
89
  vlessRouteId: number | null;
90
- allowInsecure: boolean;
90
+ pinnedPeerCertSha256: string | null;
91
91
  shuffleHost: boolean;
92
92
  mihomoX25519: boolean;
93
93
  xrayJsonTemplateUuid: string | null;
@@ -116,6 +116,7 @@ export declare namespace BulkEnableHostsCommand {
116
116
  };
117
117
  serverDescription: string | null;
118
118
  vlessRouteId: number | null;
119
+ pinnedPeerCertSha256: string | null;
119
120
  shuffleHost: boolean;
120
121
  mihomoX25519: boolean;
121
122
  xrayJsonTemplateUuid: string | null;
@@ -129,7 +130,6 @@ export declare namespace BulkEnableHostsCommand {
129
130
  isHidden?: boolean | undefined;
130
131
  overrideSniFromAddress?: boolean | undefined;
131
132
  keepSniBlank?: boolean | undefined;
132
- allowInsecure?: boolean | undefined;
133
133
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
134
134
  }>, "many">;
135
135
  }, "strip", z.ZodTypeAny, {
@@ -157,7 +157,7 @@ export declare namespace BulkEnableHostsCommand {
157
157
  overrideSniFromAddress: boolean;
158
158
  keepSniBlank: boolean;
159
159
  vlessRouteId: number | null;
160
- allowInsecure: boolean;
160
+ pinnedPeerCertSha256: string | null;
161
161
  shuffleHost: boolean;
162
162
  mihomoX25519: boolean;
163
163
  xrayJsonTemplateUuid: string | null;
@@ -188,6 +188,7 @@ export declare namespace BulkEnableHostsCommand {
188
188
  };
189
189
  serverDescription: string | null;
190
190
  vlessRouteId: number | null;
191
+ pinnedPeerCertSha256: string | null;
191
192
  shuffleHost: boolean;
192
193
  mihomoX25519: boolean;
193
194
  xrayJsonTemplateUuid: string | null;
@@ -201,7 +202,6 @@ export declare namespace BulkEnableHostsCommand {
201
202
  isHidden?: boolean | undefined;
202
203
  overrideSniFromAddress?: boolean | undefined;
203
204
  keepSniBlank?: boolean | undefined;
204
- allowInsecure?: boolean | undefined;
205
205
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
206
206
  }[];
207
207
  }>;
@@ -55,7 +55,7 @@ export declare namespace SetInboundToManyHostsCommand {
55
55
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
56
56
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
57
57
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
58
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
58
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
59
59
  shuffleHost: z.ZodBoolean;
60
60
  mihomoX25519: z.ZodBoolean;
61
61
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -93,7 +93,7 @@ export declare namespace SetInboundToManyHostsCommand {
93
93
  overrideSniFromAddress: boolean;
94
94
  keepSniBlank: boolean;
95
95
  vlessRouteId: number | null;
96
- allowInsecure: boolean;
96
+ pinnedPeerCertSha256: string | null;
97
97
  shuffleHost: boolean;
98
98
  mihomoX25519: boolean;
99
99
  xrayJsonTemplateUuid: string | null;
@@ -122,6 +122,7 @@ export declare namespace SetInboundToManyHostsCommand {
122
122
  };
123
123
  serverDescription: string | null;
124
124
  vlessRouteId: number | null;
125
+ pinnedPeerCertSha256: string | null;
125
126
  shuffleHost: boolean;
126
127
  mihomoX25519: boolean;
127
128
  xrayJsonTemplateUuid: string | null;
@@ -135,7 +136,6 @@ export declare namespace SetInboundToManyHostsCommand {
135
136
  isHidden?: boolean | undefined;
136
137
  overrideSniFromAddress?: boolean | undefined;
137
138
  keepSniBlank?: boolean | undefined;
138
- allowInsecure?: boolean | undefined;
139
139
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
140
140
  }>, "many">;
141
141
  }, "strip", z.ZodTypeAny, {
@@ -163,7 +163,7 @@ export declare namespace SetInboundToManyHostsCommand {
163
163
  overrideSniFromAddress: boolean;
164
164
  keepSniBlank: boolean;
165
165
  vlessRouteId: number | null;
166
- allowInsecure: boolean;
166
+ pinnedPeerCertSha256: string | null;
167
167
  shuffleHost: boolean;
168
168
  mihomoX25519: boolean;
169
169
  xrayJsonTemplateUuid: string | null;
@@ -194,6 +194,7 @@ export declare namespace SetInboundToManyHostsCommand {
194
194
  };
195
195
  serverDescription: string | null;
196
196
  vlessRouteId: number | null;
197
+ pinnedPeerCertSha256: string | null;
197
198
  shuffleHost: boolean;
198
199
  mihomoX25519: boolean;
199
200
  xrayJsonTemplateUuid: string | null;
@@ -207,7 +208,6 @@ export declare namespace SetInboundToManyHostsCommand {
207
208
  isHidden?: boolean | undefined;
208
209
  overrideSniFromAddress?: boolean | undefined;
209
210
  keepSniBlank?: boolean | undefined;
210
- allowInsecure?: boolean | undefined;
211
211
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
212
212
  }[];
213
213
  }>;
@@ -52,7 +52,7 @@ export declare namespace SetPortToManyHostsCommand {
52
52
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
53
53
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
54
54
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
55
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
55
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
56
56
  shuffleHost: z.ZodBoolean;
57
57
  mihomoX25519: z.ZodBoolean;
58
58
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -90,7 +90,7 @@ export declare namespace SetPortToManyHostsCommand {
90
90
  overrideSniFromAddress: boolean;
91
91
  keepSniBlank: boolean;
92
92
  vlessRouteId: number | null;
93
- allowInsecure: boolean;
93
+ pinnedPeerCertSha256: string | null;
94
94
  shuffleHost: boolean;
95
95
  mihomoX25519: boolean;
96
96
  xrayJsonTemplateUuid: string | null;
@@ -119,6 +119,7 @@ export declare namespace SetPortToManyHostsCommand {
119
119
  };
120
120
  serverDescription: string | null;
121
121
  vlessRouteId: number | null;
122
+ pinnedPeerCertSha256: string | null;
122
123
  shuffleHost: boolean;
123
124
  mihomoX25519: boolean;
124
125
  xrayJsonTemplateUuid: string | null;
@@ -132,7 +133,6 @@ export declare namespace SetPortToManyHostsCommand {
132
133
  isHidden?: boolean | undefined;
133
134
  overrideSniFromAddress?: boolean | undefined;
134
135
  keepSniBlank?: boolean | undefined;
135
- allowInsecure?: boolean | undefined;
136
136
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
137
137
  }>, "many">;
138
138
  }, "strip", z.ZodTypeAny, {
@@ -160,7 +160,7 @@ export declare namespace SetPortToManyHostsCommand {
160
160
  overrideSniFromAddress: boolean;
161
161
  keepSniBlank: boolean;
162
162
  vlessRouteId: number | null;
163
- allowInsecure: boolean;
163
+ pinnedPeerCertSha256: string | null;
164
164
  shuffleHost: boolean;
165
165
  mihomoX25519: boolean;
166
166
  xrayJsonTemplateUuid: string | null;
@@ -191,6 +191,7 @@ export declare namespace SetPortToManyHostsCommand {
191
191
  };
192
192
  serverDescription: string | null;
193
193
  vlessRouteId: number | null;
194
+ pinnedPeerCertSha256: string | null;
194
195
  shuffleHost: boolean;
195
196
  mihomoX25519: boolean;
196
197
  xrayJsonTemplateUuid: string | null;
@@ -204,7 +205,6 @@ export declare namespace SetPortToManyHostsCommand {
204
205
  isHidden?: boolean | undefined;
205
206
  overrideSniFromAddress?: boolean | undefined;
206
207
  keepSniBlank?: boolean | undefined;
207
- allowInsecure?: boolean | undefined;
208
208
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
209
209
  }[];
210
210
  }>;
@@ -54,7 +54,7 @@ export declare namespace CreateHostCommand {
54
54
  isHidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
55
55
  overrideSniFromAddress: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
56
56
  keepSniBlank: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
57
- allowInsecure: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
57
+ pinnedPeerCertSha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
59
  shuffleHost: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
60
60
  mihomoX25519: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -95,7 +95,7 @@ export declare namespace CreateHostCommand {
95
95
  overrideSniFromAddress?: boolean | undefined;
96
96
  keepSniBlank?: boolean | undefined;
97
97
  vlessRouteId?: number | null | undefined;
98
- allowInsecure?: boolean | undefined;
98
+ pinnedPeerCertSha256?: string | null | undefined;
99
99
  shuffleHost?: boolean | undefined;
100
100
  mihomoX25519?: boolean | undefined;
101
101
  xrayJsonTemplateUuid?: string | null | undefined;
@@ -127,7 +127,7 @@ export declare namespace CreateHostCommand {
127
127
  overrideSniFromAddress?: boolean | undefined;
128
128
  keepSniBlank?: boolean | undefined;
129
129
  vlessRouteId?: number | null | undefined;
130
- allowInsecure?: boolean | undefined;
130
+ pinnedPeerCertSha256?: string | null | undefined;
131
131
  shuffleHost?: boolean | undefined;
132
132
  mihomoX25519?: boolean | undefined;
133
133
  xrayJsonTemplateUuid?: string | null | undefined;
@@ -173,7 +173,7 @@ export declare namespace CreateHostCommand {
173
173
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
174
174
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
175
175
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
176
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
176
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
177
177
  shuffleHost: z.ZodBoolean;
178
178
  mihomoX25519: z.ZodBoolean;
179
179
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -211,7 +211,7 @@ export declare namespace CreateHostCommand {
211
211
  overrideSniFromAddress: boolean;
212
212
  keepSniBlank: boolean;
213
213
  vlessRouteId: number | null;
214
- allowInsecure: boolean;
214
+ pinnedPeerCertSha256: string | null;
215
215
  shuffleHost: boolean;
216
216
  mihomoX25519: boolean;
217
217
  xrayJsonTemplateUuid: string | null;
@@ -240,6 +240,7 @@ export declare namespace CreateHostCommand {
240
240
  };
241
241
  serverDescription: string | null;
242
242
  vlessRouteId: number | null;
243
+ pinnedPeerCertSha256: string | null;
243
244
  shuffleHost: boolean;
244
245
  mihomoX25519: boolean;
245
246
  xrayJsonTemplateUuid: string | null;
@@ -253,7 +254,6 @@ export declare namespace CreateHostCommand {
253
254
  isHidden?: boolean | undefined;
254
255
  overrideSniFromAddress?: boolean | undefined;
255
256
  keepSniBlank?: boolean | undefined;
256
- allowInsecure?: boolean | undefined;
257
257
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
258
258
  }>;
259
259
  }, "strip", z.ZodTypeAny, {
@@ -281,7 +281,7 @@ export declare namespace CreateHostCommand {
281
281
  overrideSniFromAddress: boolean;
282
282
  keepSniBlank: boolean;
283
283
  vlessRouteId: number | null;
284
- allowInsecure: boolean;
284
+ pinnedPeerCertSha256: string | null;
285
285
  shuffleHost: boolean;
286
286
  mihomoX25519: boolean;
287
287
  xrayJsonTemplateUuid: string | null;
@@ -312,6 +312,7 @@ export declare namespace CreateHostCommand {
312
312
  };
313
313
  serverDescription: string | null;
314
314
  vlessRouteId: number | null;
315
+ pinnedPeerCertSha256: string | null;
315
316
  shuffleHost: boolean;
316
317
  mihomoX25519: boolean;
317
318
  xrayJsonTemplateUuid: string | null;
@@ -325,7 +326,6 @@ export declare namespace CreateHostCommand {
325
326
  isHidden?: boolean | undefined;
326
327
  overrideSniFromAddress?: boolean | undefined;
327
328
  keepSniBlank?: boolean | undefined;
328
- allowInsecure?: boolean | undefined;
329
329
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
330
330
  };
331
331
  }>;
@@ -60,7 +60,7 @@ var CreateHostCommand;
60
60
  isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
61
61
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean().default(false)),
62
62
  keepSniBlank: zod_1.z.optional(zod_1.z.boolean().default(false)),
63
- allowInsecure: zod_1.z.optional(zod_1.z.boolean().default(false)),
63
+ pinnedPeerCertSha256: zod_1.z.optional(zod_1.z.string().nullable()),
64
64
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
65
65
  shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
66
66
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
@@ -41,7 +41,7 @@ export declare namespace GetAllHostsCommand {
41
41
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
42
42
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
43
43
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
44
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
44
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
45
45
  shuffleHost: z.ZodBoolean;
46
46
  mihomoX25519: z.ZodBoolean;
47
47
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -79,7 +79,7 @@ export declare namespace GetAllHostsCommand {
79
79
  overrideSniFromAddress: boolean;
80
80
  keepSniBlank: boolean;
81
81
  vlessRouteId: number | null;
82
- allowInsecure: boolean;
82
+ pinnedPeerCertSha256: string | null;
83
83
  shuffleHost: boolean;
84
84
  mihomoX25519: boolean;
85
85
  xrayJsonTemplateUuid: string | null;
@@ -108,6 +108,7 @@ export declare namespace GetAllHostsCommand {
108
108
  };
109
109
  serverDescription: string | null;
110
110
  vlessRouteId: number | null;
111
+ pinnedPeerCertSha256: string | null;
111
112
  shuffleHost: boolean;
112
113
  mihomoX25519: boolean;
113
114
  xrayJsonTemplateUuid: string | null;
@@ -121,7 +122,6 @@ export declare namespace GetAllHostsCommand {
121
122
  isHidden?: boolean | undefined;
122
123
  overrideSniFromAddress?: boolean | undefined;
123
124
  keepSniBlank?: boolean | undefined;
124
- allowInsecure?: boolean | undefined;
125
125
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
126
126
  }>, "many">;
127
127
  }, "strip", z.ZodTypeAny, {
@@ -149,7 +149,7 @@ export declare namespace GetAllHostsCommand {
149
149
  overrideSniFromAddress: boolean;
150
150
  keepSniBlank: boolean;
151
151
  vlessRouteId: number | null;
152
- allowInsecure: boolean;
152
+ pinnedPeerCertSha256: string | null;
153
153
  shuffleHost: boolean;
154
154
  mihomoX25519: boolean;
155
155
  xrayJsonTemplateUuid: string | null;
@@ -180,6 +180,7 @@ export declare namespace GetAllHostsCommand {
180
180
  };
181
181
  serverDescription: string | null;
182
182
  vlessRouteId: number | null;
183
+ pinnedPeerCertSha256: string | null;
183
184
  shuffleHost: boolean;
184
185
  mihomoX25519: boolean;
185
186
  xrayJsonTemplateUuid: string | null;
@@ -193,7 +194,6 @@ export declare namespace GetAllHostsCommand {
193
194
  isHidden?: boolean | undefined;
194
195
  overrideSniFromAddress?: boolean | undefined;
195
196
  keepSniBlank?: boolean | undefined;
196
- allowInsecure?: boolean | undefined;
197
197
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
198
198
  }[];
199
199
  }>;
@@ -49,7 +49,7 @@ export declare namespace GetOneHostCommand {
49
49
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
50
50
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
51
51
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
52
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
52
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
53
53
  shuffleHost: z.ZodBoolean;
54
54
  mihomoX25519: z.ZodBoolean;
55
55
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -87,7 +87,7 @@ export declare namespace GetOneHostCommand {
87
87
  overrideSniFromAddress: boolean;
88
88
  keepSniBlank: boolean;
89
89
  vlessRouteId: number | null;
90
- allowInsecure: boolean;
90
+ pinnedPeerCertSha256: string | null;
91
91
  shuffleHost: boolean;
92
92
  mihomoX25519: boolean;
93
93
  xrayJsonTemplateUuid: string | null;
@@ -116,6 +116,7 @@ export declare namespace GetOneHostCommand {
116
116
  };
117
117
  serverDescription: string | null;
118
118
  vlessRouteId: number | null;
119
+ pinnedPeerCertSha256: string | null;
119
120
  shuffleHost: boolean;
120
121
  mihomoX25519: boolean;
121
122
  xrayJsonTemplateUuid: string | null;
@@ -129,7 +130,6 @@ export declare namespace GetOneHostCommand {
129
130
  isHidden?: boolean | undefined;
130
131
  overrideSniFromAddress?: boolean | undefined;
131
132
  keepSniBlank?: boolean | undefined;
132
- allowInsecure?: boolean | undefined;
133
133
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
134
134
  }>;
135
135
  }, "strip", z.ZodTypeAny, {
@@ -157,7 +157,7 @@ export declare namespace GetOneHostCommand {
157
157
  overrideSniFromAddress: boolean;
158
158
  keepSniBlank: boolean;
159
159
  vlessRouteId: number | null;
160
- allowInsecure: boolean;
160
+ pinnedPeerCertSha256: string | null;
161
161
  shuffleHost: boolean;
162
162
  mihomoX25519: boolean;
163
163
  xrayJsonTemplateUuid: string | null;
@@ -188,6 +188,7 @@ export declare namespace GetOneHostCommand {
188
188
  };
189
189
  serverDescription: string | null;
190
190
  vlessRouteId: number | null;
191
+ pinnedPeerCertSha256: string | null;
191
192
  shuffleHost: boolean;
192
193
  mihomoX25519: boolean;
193
194
  xrayJsonTemplateUuid: string | null;
@@ -201,7 +202,6 @@ export declare namespace GetOneHostCommand {
201
202
  isHidden?: boolean | undefined;
202
203
  overrideSniFromAddress?: boolean | undefined;
203
204
  keepSniBlank?: boolean | undefined;
204
- allowInsecure?: boolean | undefined;
205
205
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
206
206
  };
207
207
  }>;
@@ -41,7 +41,7 @@ export declare namespace ReorderHostCommand {
41
41
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
42
42
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
43
43
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
44
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
44
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
45
45
  shuffleHost: z.ZodBoolean;
46
46
  mihomoX25519: z.ZodBoolean;
47
47
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -40,7 +40,7 @@ export declare namespace UpdateHostCommand {
40
40
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
41
41
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
42
42
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
43
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
43
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
44
44
  shuffleHost: z.ZodBoolean;
45
45
  mihomoX25519: z.ZodBoolean;
46
46
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -106,7 +106,7 @@ export declare namespace UpdateHostCommand {
106
106
  overrideSniFromAddress: z.ZodOptional<z.ZodBoolean>;
107
107
  keepSniBlank: z.ZodOptional<z.ZodBoolean>;
108
108
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
109
- allowInsecure: z.ZodOptional<z.ZodBoolean>;
109
+ pinnedPeerCertSha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
110
  shuffleHost: z.ZodOptional<z.ZodBoolean>;
111
111
  mihomoX25519: z.ZodOptional<z.ZodBoolean>;
112
112
  nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -147,7 +147,7 @@ export declare namespace UpdateHostCommand {
147
147
  overrideSniFromAddress?: boolean | undefined;
148
148
  keepSniBlank?: boolean | undefined;
149
149
  vlessRouteId?: number | null | undefined;
150
- allowInsecure?: boolean | undefined;
150
+ pinnedPeerCertSha256?: string | null | undefined;
151
151
  shuffleHost?: boolean | undefined;
152
152
  mihomoX25519?: boolean | undefined;
153
153
  xrayJsonTemplateUuid?: string | null | undefined;
@@ -180,7 +180,7 @@ export declare namespace UpdateHostCommand {
180
180
  overrideSniFromAddress?: boolean | undefined;
181
181
  keepSniBlank?: boolean | undefined;
182
182
  vlessRouteId?: number | null | undefined;
183
- allowInsecure?: boolean | undefined;
183
+ pinnedPeerCertSha256?: string | null | undefined;
184
184
  shuffleHost?: boolean | undefined;
185
185
  mihomoX25519?: boolean | undefined;
186
186
  xrayJsonTemplateUuid?: string | null | undefined;
@@ -226,7 +226,7 @@ export declare namespace UpdateHostCommand {
226
226
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
227
227
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
228
228
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
229
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
229
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
230
230
  shuffleHost: z.ZodBoolean;
231
231
  mihomoX25519: z.ZodBoolean;
232
232
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -264,7 +264,7 @@ export declare namespace UpdateHostCommand {
264
264
  overrideSniFromAddress: boolean;
265
265
  keepSniBlank: boolean;
266
266
  vlessRouteId: number | null;
267
- allowInsecure: boolean;
267
+ pinnedPeerCertSha256: string | null;
268
268
  shuffleHost: boolean;
269
269
  mihomoX25519: boolean;
270
270
  xrayJsonTemplateUuid: string | null;
@@ -293,6 +293,7 @@ export declare namespace UpdateHostCommand {
293
293
  };
294
294
  serverDescription: string | null;
295
295
  vlessRouteId: number | null;
296
+ pinnedPeerCertSha256: string | null;
296
297
  shuffleHost: boolean;
297
298
  mihomoX25519: boolean;
298
299
  xrayJsonTemplateUuid: string | null;
@@ -306,7 +307,6 @@ export declare namespace UpdateHostCommand {
306
307
  isHidden?: boolean | undefined;
307
308
  overrideSniFromAddress?: boolean | undefined;
308
309
  keepSniBlank?: boolean | undefined;
309
- allowInsecure?: boolean | undefined;
310
310
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
311
311
  }>;
312
312
  }, "strip", z.ZodTypeAny, {
@@ -334,7 +334,7 @@ export declare namespace UpdateHostCommand {
334
334
  overrideSniFromAddress: boolean;
335
335
  keepSniBlank: boolean;
336
336
  vlessRouteId: number | null;
337
- allowInsecure: boolean;
337
+ pinnedPeerCertSha256: string | null;
338
338
  shuffleHost: boolean;
339
339
  mihomoX25519: boolean;
340
340
  xrayJsonTemplateUuid: string | null;
@@ -365,6 +365,7 @@ export declare namespace UpdateHostCommand {
365
365
  };
366
366
  serverDescription: string | null;
367
367
  vlessRouteId: number | null;
368
+ pinnedPeerCertSha256: string | null;
368
369
  shuffleHost: boolean;
369
370
  mihomoX25519: boolean;
370
371
  xrayJsonTemplateUuid: string | null;
@@ -378,7 +379,6 @@ export declare namespace UpdateHostCommand {
378
379
  isHidden?: boolean | undefined;
379
380
  overrideSniFromAddress?: boolean | undefined;
380
381
  keepSniBlank?: boolean | undefined;
381
- allowInsecure?: boolean | undefined;
382
382
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
383
383
  };
384
384
  }>;
@@ -66,7 +66,7 @@ var UpdateHostCommand;
66
66
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean()),
67
67
  keepSniBlank: zod_1.z.optional(zod_1.z.boolean()),
68
68
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
69
- allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
69
+ pinnedPeerCertSha256: zod_1.z.optional(zod_1.z.string().nullable()),
70
70
  shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
71
71
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
72
72
  nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
@@ -407,7 +407,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
407
407
  }>]>;
408
408
  security: z.ZodEnum<["tls", "reality", "none"]>;
409
409
  securityOptions: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
410
- allowInsecure: z.ZodBoolean;
410
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
411
411
  alpn: z.ZodNullable<z.ZodString>;
412
412
  enableSessionResumption: z.ZodBoolean;
413
413
  fingerprint: z.ZodNullable<z.ZodString>;
@@ -417,7 +417,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
417
417
  }, "strip", z.ZodTypeAny, {
418
418
  alpn: string | null;
419
419
  fingerprint: string | null;
420
- allowInsecure: boolean;
420
+ pinnedPeerCertSha256: string | null;
421
421
  enableSessionResumption: boolean;
422
422
  serverName: string | null;
423
423
  echConfigList: string | null;
@@ -425,7 +425,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
425
425
  }, {
426
426
  alpn: string | null;
427
427
  fingerprint: string | null;
428
- allowInsecure: boolean;
428
+ pinnedPeerCertSha256: string | null;
429
429
  enableSessionResumption: boolean;
430
430
  serverName: string | null;
431
431
  echConfigList: string | null;
@@ -618,7 +618,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
618
618
  securityOptions?: {
619
619
  alpn: string | null;
620
620
  fingerprint: string | null;
621
- allowInsecure: boolean;
621
+ pinnedPeerCertSha256: string | null;
622
622
  enableSessionResumption: boolean;
623
623
  serverName: string | null;
624
624
  echConfigList: string | null;
@@ -724,7 +724,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
724
724
  securityOptions?: {
725
725
  alpn: string | null;
726
726
  fingerprint: string | null;
727
- allowInsecure: boolean;
727
+ pinnedPeerCertSha256: string | null;
728
728
  enableSessionResumption: boolean;
729
729
  serverName: string | null;
730
730
  echConfigList: string | null;
@@ -876,7 +876,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
876
876
  securityOptions?: {
877
877
  alpn: string | null;
878
878
  fingerprint: string | null;
879
- allowInsecure: boolean;
879
+ pinnedPeerCertSha256: string | null;
880
880
  enableSessionResumption: boolean;
881
881
  serverName: string | null;
882
882
  echConfigList: string | null;
@@ -1028,7 +1028,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
1028
1028
  securityOptions?: {
1029
1029
  alpn: string | null;
1030
1030
  fingerprint: string | null;
1031
- allowInsecure: boolean;
1031
+ pinnedPeerCertSha256: string | null;
1032
1032
  enableSessionResumption: boolean;
1033
1033
  serverName: string | null;
1034
1034
  echConfigList: string | null;
@@ -1182,7 +1182,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
1182
1182
  securityOptions?: {
1183
1183
  alpn: string | null;
1184
1184
  fingerprint: string | null;
1185
- allowInsecure: boolean;
1185
+ pinnedPeerCertSha256: string | null;
1186
1186
  enableSessionResumption: boolean;
1187
1187
  serverName: string | null;
1188
1188
  echConfigList: string | null;
@@ -1336,7 +1336,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
1336
1336
  securityOptions?: {
1337
1337
  alpn: string | null;
1338
1338
  fingerprint: string | null;
1339
- allowInsecure: boolean;
1339
+ pinnedPeerCertSha256: string | null;
1340
1340
  enableSessionResumption: boolean;
1341
1341
  serverName: string | null;
1342
1342
  echConfigList: string | null;
@@ -36,7 +36,7 @@ export declare const HostsSchema: z.ZodObject<{
36
36
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
37
37
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
38
38
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
39
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
39
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
40
40
  shuffleHost: z.ZodBoolean;
41
41
  mihomoX25519: z.ZodBoolean;
42
42
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -74,7 +74,7 @@ export declare const HostsSchema: z.ZodObject<{
74
74
  overrideSniFromAddress: boolean;
75
75
  keepSniBlank: boolean;
76
76
  vlessRouteId: number | null;
77
- allowInsecure: boolean;
77
+ pinnedPeerCertSha256: string | null;
78
78
  shuffleHost: boolean;
79
79
  mihomoX25519: boolean;
80
80
  xrayJsonTemplateUuid: string | null;
@@ -103,6 +103,7 @@ export declare const HostsSchema: z.ZodObject<{
103
103
  };
104
104
  serverDescription: string | null;
105
105
  vlessRouteId: number | null;
106
+ pinnedPeerCertSha256: string | null;
106
107
  shuffleHost: boolean;
107
108
  mihomoX25519: boolean;
108
109
  xrayJsonTemplateUuid: string | null;
@@ -116,7 +117,6 @@ export declare const HostsSchema: z.ZodObject<{
116
117
  isHidden?: boolean | undefined;
117
118
  overrideSniFromAddress?: boolean | undefined;
118
119
  keepSniBlank?: boolean | undefined;
119
- allowInsecure?: boolean | undefined;
120
120
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
121
121
  }>;
122
122
  //# sourceMappingURL=hosts.schema.d.ts.map
@@ -31,7 +31,7 @@ exports.HostsSchema = zod_1.z.object({
31
31
  overrideSniFromAddress: zod_1.z.boolean().default(false),
32
32
  keepSniBlank: zod_1.z.boolean().default(false),
33
33
  vlessRouteId: zod_1.z.number().int().min(0).max(65535).nullable(),
34
- allowInsecure: zod_1.z.boolean().default(false),
34
+ pinnedPeerCertSha256: zod_1.z.string().nullable(),
35
35
  shuffleHost: zod_1.z.boolean(),
36
36
  mihomoX25519: zod_1.z.boolean(),
37
37
  nodes: zod_1.z.array(zod_1.z.string().uuid()),
@@ -231,7 +231,7 @@ export declare const HysteriaTransportOptionsSchema: z.ZodObject<{
231
231
  version: number;
232
232
  }>;
233
233
  export declare const TlsSecurityOptionsSchema: z.ZodObject<{
234
- allowInsecure: z.ZodBoolean;
234
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
235
235
  alpn: z.ZodNullable<z.ZodString>;
236
236
  enableSessionResumption: z.ZodBoolean;
237
237
  fingerprint: z.ZodNullable<z.ZodString>;
@@ -241,7 +241,7 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
241
241
  }, "strip", z.ZodTypeAny, {
242
242
  alpn: string | null;
243
243
  fingerprint: string | null;
244
- allowInsecure: boolean;
244
+ pinnedPeerCertSha256: string | null;
245
245
  enableSessionResumption: boolean;
246
246
  serverName: string | null;
247
247
  echConfigList: string | null;
@@ -249,7 +249,7 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
249
249
  }, {
250
250
  alpn: string | null;
251
251
  fingerprint: string | null;
252
- allowInsecure: boolean;
252
+ pinnedPeerCertSha256: string | null;
253
253
  enableSessionResumption: boolean;
254
254
  serverName: string | null;
255
255
  echConfigList: string | null;
@@ -713,7 +713,7 @@ export declare const TransportVariantSchema: z.ZodDiscriminatedUnion<"transport"
713
713
  export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security", [z.ZodObject<{
714
714
  security: z.ZodLiteral<"tls">;
715
715
  securityOptions: z.ZodObject<{
716
- allowInsecure: z.ZodBoolean;
716
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
717
717
  alpn: z.ZodNullable<z.ZodString>;
718
718
  enableSessionResumption: z.ZodBoolean;
719
719
  fingerprint: z.ZodNullable<z.ZodString>;
@@ -723,7 +723,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
723
723
  }, "strip", z.ZodTypeAny, {
724
724
  alpn: string | null;
725
725
  fingerprint: string | null;
726
- allowInsecure: boolean;
726
+ pinnedPeerCertSha256: string | null;
727
727
  enableSessionResumption: boolean;
728
728
  serverName: string | null;
729
729
  echConfigList: string | null;
@@ -731,7 +731,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
731
731
  }, {
732
732
  alpn: string | null;
733
733
  fingerprint: string | null;
734
- allowInsecure: boolean;
734
+ pinnedPeerCertSha256: string | null;
735
735
  enableSessionResumption: boolean;
736
736
  serverName: string | null;
737
737
  echConfigList: string | null;
@@ -742,7 +742,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
742
742
  securityOptions: {
743
743
  alpn: string | null;
744
744
  fingerprint: string | null;
745
- allowInsecure: boolean;
745
+ pinnedPeerCertSha256: string | null;
746
746
  enableSessionResumption: boolean;
747
747
  serverName: string | null;
748
748
  echConfigList: string | null;
@@ -753,7 +753,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
753
753
  securityOptions: {
754
754
  alpn: string | null;
755
755
  fingerprint: string | null;
756
- allowInsecure: boolean;
756
+ pinnedPeerCertSha256: string | null;
757
757
  enableSessionResumption: boolean;
758
758
  serverName: string | null;
759
759
  echConfigList: string | null;
@@ -1087,7 +1087,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1087
1087
  }>]>;
1088
1088
  security: z.ZodEnum<["tls", "reality", "none"]>;
1089
1089
  securityOptions: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1090
- allowInsecure: z.ZodBoolean;
1090
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
1091
1091
  alpn: z.ZodNullable<z.ZodString>;
1092
1092
  enableSessionResumption: z.ZodBoolean;
1093
1093
  fingerprint: z.ZodNullable<z.ZodString>;
@@ -1097,7 +1097,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1097
1097
  }, "strip", z.ZodTypeAny, {
1098
1098
  alpn: string | null;
1099
1099
  fingerprint: string | null;
1100
- allowInsecure: boolean;
1100
+ pinnedPeerCertSha256: string | null;
1101
1101
  enableSessionResumption: boolean;
1102
1102
  serverName: string | null;
1103
1103
  echConfigList: string | null;
@@ -1105,7 +1105,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1105
1105
  }, {
1106
1106
  alpn: string | null;
1107
1107
  fingerprint: string | null;
1108
- allowInsecure: boolean;
1108
+ pinnedPeerCertSha256: string | null;
1109
1109
  enableSessionResumption: boolean;
1110
1110
  serverName: string | null;
1111
1111
  echConfigList: string | null;
@@ -1298,7 +1298,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1298
1298
  securityOptions?: {
1299
1299
  alpn: string | null;
1300
1300
  fingerprint: string | null;
1301
- allowInsecure: boolean;
1301
+ pinnedPeerCertSha256: string | null;
1302
1302
  enableSessionResumption: boolean;
1303
1303
  serverName: string | null;
1304
1304
  echConfigList: string | null;
@@ -1404,7 +1404,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1404
1404
  securityOptions?: {
1405
1405
  alpn: string | null;
1406
1406
  fingerprint: string | null;
1407
- allowInsecure: boolean;
1407
+ pinnedPeerCertSha256: string | null;
1408
1408
  enableSessionResumption: boolean;
1409
1409
  serverName: string | null;
1410
1410
  echConfigList: string | null;
@@ -76,7 +76,7 @@ exports.HysteriaTransportOptionsSchema = zod_1.z.object({
76
76
  auth: zod_1.z.string(),
77
77
  });
78
78
  exports.TlsSecurityOptionsSchema = zod_1.z.object({
79
- allowInsecure: zod_1.z.boolean(),
79
+ pinnedPeerCertSha256: zod_1.z.string().nullable(),
80
80
  alpn: zod_1.z.string().nullable(),
81
81
  enableSessionResumption: zod_1.z.boolean(),
82
82
  fingerprint: zod_1.z.string().nullable(),
@@ -60,7 +60,7 @@ var CreateHostCommand;
60
60
  isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
61
61
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean().default(false)),
62
62
  keepSniBlank: zod_1.z.optional(zod_1.z.boolean().default(false)),
63
- allowInsecure: zod_1.z.optional(zod_1.z.boolean().default(false)),
63
+ pinnedPeerCertSha256: zod_1.z.optional(zod_1.z.string().nullable()),
64
64
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
65
65
  shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
66
66
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
@@ -66,7 +66,7 @@ var UpdateHostCommand;
66
66
  overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean()),
67
67
  keepSniBlank: zod_1.z.optional(zod_1.z.boolean()),
68
68
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
69
- allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
69
+ pinnedPeerCertSha256: zod_1.z.optional(zod_1.z.string().nullable()),
70
70
  shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
71
71
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
72
72
  nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
@@ -31,7 +31,7 @@ exports.HostsSchema = zod_1.z.object({
31
31
  overrideSniFromAddress: zod_1.z.boolean().default(false),
32
32
  keepSniBlank: zod_1.z.boolean().default(false),
33
33
  vlessRouteId: zod_1.z.number().int().min(0).max(65535).nullable(),
34
- allowInsecure: zod_1.z.boolean().default(false),
34
+ pinnedPeerCertSha256: zod_1.z.string().nullable(),
35
35
  shuffleHost: zod_1.z.boolean(),
36
36
  mihomoX25519: zod_1.z.boolean(),
37
37
  nodes: zod_1.z.array(zod_1.z.string().uuid()),
@@ -76,7 +76,7 @@ exports.HysteriaTransportOptionsSchema = zod_1.z.object({
76
76
  auth: zod_1.z.string(),
77
77
  });
78
78
  exports.TlsSecurityOptionsSchema = zod_1.z.object({
79
- allowInsecure: zod_1.z.boolean(),
79
+ pinnedPeerCertSha256: zod_1.z.string().nullable(),
80
80
  alpn: zod_1.z.string().nullable(),
81
81
  enableSessionResumption: zod_1.z.boolean(),
82
82
  fingerprint: zod_1.z.string().nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.8.2",
3
+ "version": "2.8.3",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",