@remnawave/backend-contract 2.8.2 → 2.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +10 -5
  2. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  3. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +10 -5
  4. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  5. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +10 -5
  6. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  7. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +10 -5
  8. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  9. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +10 -5
  10. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  11. package/build/backend/commands/hosts/create.command.d.ts +16 -8
  12. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  13. package/build/backend/commands/hosts/create.command.js +2 -1
  14. package/build/backend/commands/hosts/get-all.command.d.ts +10 -5
  15. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  16. package/build/backend/commands/hosts/get-one.command.d.ts +10 -5
  17. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  18. package/build/backend/commands/hosts/reorder.command.d.ts +2 -1
  19. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  20. package/build/backend/commands/hosts/update.command.d.ts +18 -9
  21. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  22. package/build/backend/commands/hosts/update.command.js +2 -1
  23. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +18 -9
  24. package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
  25. package/build/backend/models/hosts.schema.d.ts +6 -3
  26. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  27. package/build/backend/models/hosts.schema.js +2 -1
  28. package/build/backend/models/resolved-proxy-config.schema.d.ts +26 -13
  29. package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
  30. package/build/backend/models/resolved-proxy-config.schema.js +2 -1
  31. package/build/frontend/commands/hosts/create.command.js +2 -1
  32. package/build/frontend/commands/hosts/update.command.js +2 -1
  33. package/build/frontend/models/hosts.schema.js +2 -1
  34. package/build/frontend/models/resolved-proxy-config.schema.js +2 -1
  35. package/package.json +1 -1
@@ -49,7 +49,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
53
54
  shuffleHost: z.ZodBoolean;
54
55
  mihomoX25519: z.ZodBoolean;
55
56
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -87,7 +88,8 @@ export declare namespace BulkDeleteHostsCommand {
87
88
  overrideSniFromAddress: boolean;
88
89
  keepSniBlank: boolean;
89
90
  vlessRouteId: number | null;
90
- allowInsecure: boolean;
91
+ pinnedPeerCertSha256: string | null;
92
+ verifyPeerCertByName: string | null;
91
93
  shuffleHost: boolean;
92
94
  mihomoX25519: boolean;
93
95
  xrayJsonTemplateUuid: string | null;
@@ -116,6 +118,8 @@ export declare namespace BulkDeleteHostsCommand {
116
118
  };
117
119
  serverDescription: string | null;
118
120
  vlessRouteId: number | null;
121
+ pinnedPeerCertSha256: string | null;
122
+ verifyPeerCertByName: string | null;
119
123
  shuffleHost: boolean;
120
124
  mihomoX25519: boolean;
121
125
  xrayJsonTemplateUuid: string | null;
@@ -129,7 +133,6 @@ export declare namespace BulkDeleteHostsCommand {
129
133
  isHidden?: boolean | undefined;
130
134
  overrideSniFromAddress?: boolean | undefined;
131
135
  keepSniBlank?: boolean | undefined;
132
- allowInsecure?: boolean | undefined;
133
136
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
134
137
  }>, "many">;
135
138
  }, "strip", z.ZodTypeAny, {
@@ -157,7 +160,8 @@ export declare namespace BulkDeleteHostsCommand {
157
160
  overrideSniFromAddress: boolean;
158
161
  keepSniBlank: boolean;
159
162
  vlessRouteId: number | null;
160
- allowInsecure: boolean;
163
+ pinnedPeerCertSha256: string | null;
164
+ verifyPeerCertByName: string | null;
161
165
  shuffleHost: boolean;
162
166
  mihomoX25519: boolean;
163
167
  xrayJsonTemplateUuid: string | null;
@@ -188,6 +192,8 @@ export declare namespace BulkDeleteHostsCommand {
188
192
  };
189
193
  serverDescription: string | null;
190
194
  vlessRouteId: number | null;
195
+ pinnedPeerCertSha256: string | null;
196
+ verifyPeerCertByName: string | null;
191
197
  shuffleHost: boolean;
192
198
  mihomoX25519: boolean;
193
199
  xrayJsonTemplateUuid: string | null;
@@ -201,7 +207,6 @@ export declare namespace BulkDeleteHostsCommand {
201
207
  isHidden?: boolean | undefined;
202
208
  overrideSniFromAddress?: boolean | undefined;
203
209
  keepSniBlank?: boolean | undefined;
204
- allowInsecure?: boolean | undefined;
205
210
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
206
211
  }[];
207
212
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/delete-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;A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B,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -49,7 +49,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
53
54
  shuffleHost: z.ZodBoolean;
54
55
  mihomoX25519: z.ZodBoolean;
55
56
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -87,7 +88,8 @@ export declare namespace BulkDisableHostsCommand {
87
88
  overrideSniFromAddress: boolean;
88
89
  keepSniBlank: boolean;
89
90
  vlessRouteId: number | null;
90
- allowInsecure: boolean;
91
+ pinnedPeerCertSha256: string | null;
92
+ verifyPeerCertByName: string | null;
91
93
  shuffleHost: boolean;
92
94
  mihomoX25519: boolean;
93
95
  xrayJsonTemplateUuid: string | null;
@@ -116,6 +118,8 @@ export declare namespace BulkDisableHostsCommand {
116
118
  };
117
119
  serverDescription: string | null;
118
120
  vlessRouteId: number | null;
121
+ pinnedPeerCertSha256: string | null;
122
+ verifyPeerCertByName: string | null;
119
123
  shuffleHost: boolean;
120
124
  mihomoX25519: boolean;
121
125
  xrayJsonTemplateUuid: string | null;
@@ -129,7 +133,6 @@ export declare namespace BulkDisableHostsCommand {
129
133
  isHidden?: boolean | undefined;
130
134
  overrideSniFromAddress?: boolean | undefined;
131
135
  keepSniBlank?: boolean | undefined;
132
- allowInsecure?: boolean | undefined;
133
136
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
134
137
  }>, "many">;
135
138
  }, "strip", z.ZodTypeAny, {
@@ -157,7 +160,8 @@ export declare namespace BulkDisableHostsCommand {
157
160
  overrideSniFromAddress: boolean;
158
161
  keepSniBlank: boolean;
159
162
  vlessRouteId: number | null;
160
- allowInsecure: boolean;
163
+ pinnedPeerCertSha256: string | null;
164
+ verifyPeerCertByName: string | null;
161
165
  shuffleHost: boolean;
162
166
  mihomoX25519: boolean;
163
167
  xrayJsonTemplateUuid: string | null;
@@ -188,6 +192,8 @@ export declare namespace BulkDisableHostsCommand {
188
192
  };
189
193
  serverDescription: string | null;
190
194
  vlessRouteId: number | null;
195
+ pinnedPeerCertSha256: string | null;
196
+ verifyPeerCertByName: string | null;
191
197
  shuffleHost: boolean;
192
198
  mihomoX25519: boolean;
193
199
  xrayJsonTemplateUuid: string | null;
@@ -201,7 +207,6 @@ export declare namespace BulkDisableHostsCommand {
201
207
  isHidden?: boolean | undefined;
202
208
  overrideSniFromAddress?: boolean | undefined;
203
209
  keepSniBlank?: boolean | undefined;
204
- allowInsecure?: boolean | undefined;
205
210
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
206
211
  }[];
207
212
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -49,7 +49,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
53
54
  shuffleHost: z.ZodBoolean;
54
55
  mihomoX25519: z.ZodBoolean;
55
56
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -87,7 +88,8 @@ export declare namespace BulkEnableHostsCommand {
87
88
  overrideSniFromAddress: boolean;
88
89
  keepSniBlank: boolean;
89
90
  vlessRouteId: number | null;
90
- allowInsecure: boolean;
91
+ pinnedPeerCertSha256: string | null;
92
+ verifyPeerCertByName: string | null;
91
93
  shuffleHost: boolean;
92
94
  mihomoX25519: boolean;
93
95
  xrayJsonTemplateUuid: string | null;
@@ -116,6 +118,8 @@ export declare namespace BulkEnableHostsCommand {
116
118
  };
117
119
  serverDescription: string | null;
118
120
  vlessRouteId: number | null;
121
+ pinnedPeerCertSha256: string | null;
122
+ verifyPeerCertByName: string | null;
119
123
  shuffleHost: boolean;
120
124
  mihomoX25519: boolean;
121
125
  xrayJsonTemplateUuid: string | null;
@@ -129,7 +133,6 @@ export declare namespace BulkEnableHostsCommand {
129
133
  isHidden?: boolean | undefined;
130
134
  overrideSniFromAddress?: boolean | undefined;
131
135
  keepSniBlank?: boolean | undefined;
132
- allowInsecure?: boolean | undefined;
133
136
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
134
137
  }>, "many">;
135
138
  }, "strip", z.ZodTypeAny, {
@@ -157,7 +160,8 @@ export declare namespace BulkEnableHostsCommand {
157
160
  overrideSniFromAddress: boolean;
158
161
  keepSniBlank: boolean;
159
162
  vlessRouteId: number | null;
160
- allowInsecure: boolean;
163
+ pinnedPeerCertSha256: string | null;
164
+ verifyPeerCertByName: string | null;
161
165
  shuffleHost: boolean;
162
166
  mihomoX25519: boolean;
163
167
  xrayJsonTemplateUuid: string | null;
@@ -188,6 +192,8 @@ export declare namespace BulkEnableHostsCommand {
188
192
  };
189
193
  serverDescription: string | null;
190
194
  vlessRouteId: number | null;
195
+ pinnedPeerCertSha256: string | null;
196
+ verifyPeerCertByName: string | null;
191
197
  shuffleHost: boolean;
192
198
  mihomoX25519: boolean;
193
199
  xrayJsonTemplateUuid: string | null;
@@ -201,7 +207,6 @@ export declare namespace BulkEnableHostsCommand {
201
207
  isHidden?: boolean | undefined;
202
208
  overrideSniFromAddress?: boolean | undefined;
203
209
  keepSniBlank?: boolean | undefined;
204
- allowInsecure?: boolean | undefined;
205
210
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
206
211
  }[];
207
212
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -55,7 +55,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
59
60
  shuffleHost: z.ZodBoolean;
60
61
  mihomoX25519: z.ZodBoolean;
61
62
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -93,7 +94,8 @@ export declare namespace SetInboundToManyHostsCommand {
93
94
  overrideSniFromAddress: boolean;
94
95
  keepSniBlank: boolean;
95
96
  vlessRouteId: number | null;
96
- allowInsecure: boolean;
97
+ pinnedPeerCertSha256: string | null;
98
+ verifyPeerCertByName: string | null;
97
99
  shuffleHost: boolean;
98
100
  mihomoX25519: boolean;
99
101
  xrayJsonTemplateUuid: string | null;
@@ -122,6 +124,8 @@ export declare namespace SetInboundToManyHostsCommand {
122
124
  };
123
125
  serverDescription: string | null;
124
126
  vlessRouteId: number | null;
127
+ pinnedPeerCertSha256: string | null;
128
+ verifyPeerCertByName: string | null;
125
129
  shuffleHost: boolean;
126
130
  mihomoX25519: boolean;
127
131
  xrayJsonTemplateUuid: string | null;
@@ -135,7 +139,6 @@ export declare namespace SetInboundToManyHostsCommand {
135
139
  isHidden?: boolean | undefined;
136
140
  overrideSniFromAddress?: boolean | undefined;
137
141
  keepSniBlank?: boolean | undefined;
138
- allowInsecure?: boolean | undefined;
139
142
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
140
143
  }>, "many">;
141
144
  }, "strip", z.ZodTypeAny, {
@@ -163,7 +166,8 @@ export declare namespace SetInboundToManyHostsCommand {
163
166
  overrideSniFromAddress: boolean;
164
167
  keepSniBlank: boolean;
165
168
  vlessRouteId: number | null;
166
- allowInsecure: boolean;
169
+ pinnedPeerCertSha256: string | null;
170
+ verifyPeerCertByName: string | null;
167
171
  shuffleHost: boolean;
168
172
  mihomoX25519: boolean;
169
173
  xrayJsonTemplateUuid: string | null;
@@ -194,6 +198,8 @@ export declare namespace SetInboundToManyHostsCommand {
194
198
  };
195
199
  serverDescription: string | null;
196
200
  vlessRouteId: number | null;
201
+ pinnedPeerCertSha256: string | null;
202
+ verifyPeerCertByName: string | null;
197
203
  shuffleHost: boolean;
198
204
  mihomoX25519: boolean;
199
205
  xrayJsonTemplateUuid: string | null;
@@ -207,7 +213,6 @@ export declare namespace SetInboundToManyHostsCommand {
207
213
  isHidden?: boolean | undefined;
208
214
  overrideSniFromAddress?: boolean | undefined;
209
215
  keepSniBlank?: boolean | undefined;
210
- allowInsecure?: boolean | undefined;
211
216
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
212
217
  }[];
213
218
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -52,7 +52,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
56
57
  shuffleHost: z.ZodBoolean;
57
58
  mihomoX25519: z.ZodBoolean;
58
59
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -90,7 +91,8 @@ export declare namespace SetPortToManyHostsCommand {
90
91
  overrideSniFromAddress: boolean;
91
92
  keepSniBlank: boolean;
92
93
  vlessRouteId: number | null;
93
- allowInsecure: boolean;
94
+ pinnedPeerCertSha256: string | null;
95
+ verifyPeerCertByName: string | null;
94
96
  shuffleHost: boolean;
95
97
  mihomoX25519: boolean;
96
98
  xrayJsonTemplateUuid: string | null;
@@ -119,6 +121,8 @@ export declare namespace SetPortToManyHostsCommand {
119
121
  };
120
122
  serverDescription: string | null;
121
123
  vlessRouteId: number | null;
124
+ pinnedPeerCertSha256: string | null;
125
+ verifyPeerCertByName: string | null;
122
126
  shuffleHost: boolean;
123
127
  mihomoX25519: boolean;
124
128
  xrayJsonTemplateUuid: string | null;
@@ -132,7 +136,6 @@ export declare namespace SetPortToManyHostsCommand {
132
136
  isHidden?: boolean | undefined;
133
137
  overrideSniFromAddress?: boolean | undefined;
134
138
  keepSniBlank?: boolean | undefined;
135
- allowInsecure?: boolean | undefined;
136
139
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
137
140
  }>, "many">;
138
141
  }, "strip", z.ZodTypeAny, {
@@ -160,7 +163,8 @@ export declare namespace SetPortToManyHostsCommand {
160
163
  overrideSniFromAddress: boolean;
161
164
  keepSniBlank: boolean;
162
165
  vlessRouteId: number | null;
163
- allowInsecure: boolean;
166
+ pinnedPeerCertSha256: string | null;
167
+ verifyPeerCertByName: string | null;
164
168
  shuffleHost: boolean;
165
169
  mihomoX25519: boolean;
166
170
  xrayJsonTemplateUuid: string | null;
@@ -191,6 +195,8 @@ export declare namespace SetPortToManyHostsCommand {
191
195
  };
192
196
  serverDescription: string | null;
193
197
  vlessRouteId: number | null;
198
+ pinnedPeerCertSha256: string | null;
199
+ verifyPeerCertByName: string | null;
194
200
  shuffleHost: boolean;
195
201
  mihomoX25519: boolean;
196
202
  xrayJsonTemplateUuid: string | null;
@@ -204,7 +210,6 @@ export declare namespace SetPortToManyHostsCommand {
204
210
  isHidden?: boolean | undefined;
205
211
  overrideSniFromAddress?: boolean | undefined;
206
212
  keepSniBlank?: boolean | undefined;
207
- allowInsecure?: boolean | undefined;
208
213
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
209
214
  }[];
210
215
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CA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,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -54,7 +54,8 @@ 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
+ verifyPeerCertByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
59
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
60
  shuffleHost: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
60
61
  mihomoX25519: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -95,7 +96,8 @@ export declare namespace CreateHostCommand {
95
96
  overrideSniFromAddress?: boolean | undefined;
96
97
  keepSniBlank?: boolean | undefined;
97
98
  vlessRouteId?: number | null | undefined;
98
- allowInsecure?: boolean | undefined;
99
+ pinnedPeerCertSha256?: string | null | undefined;
100
+ verifyPeerCertByName?: string | null | undefined;
99
101
  shuffleHost?: boolean | undefined;
100
102
  mihomoX25519?: boolean | undefined;
101
103
  xrayJsonTemplateUuid?: string | null | undefined;
@@ -127,7 +129,8 @@ export declare namespace CreateHostCommand {
127
129
  overrideSniFromAddress?: boolean | undefined;
128
130
  keepSniBlank?: boolean | undefined;
129
131
  vlessRouteId?: number | null | undefined;
130
- allowInsecure?: boolean | undefined;
132
+ pinnedPeerCertSha256?: string | null | undefined;
133
+ verifyPeerCertByName?: string | null | undefined;
131
134
  shuffleHost?: boolean | undefined;
132
135
  mihomoX25519?: boolean | undefined;
133
136
  xrayJsonTemplateUuid?: string | null | undefined;
@@ -173,7 +176,8 @@ export declare namespace CreateHostCommand {
173
176
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
174
177
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
175
178
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
176
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
179
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
180
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
177
181
  shuffleHost: z.ZodBoolean;
178
182
  mihomoX25519: z.ZodBoolean;
179
183
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -211,7 +215,8 @@ export declare namespace CreateHostCommand {
211
215
  overrideSniFromAddress: boolean;
212
216
  keepSniBlank: boolean;
213
217
  vlessRouteId: number | null;
214
- allowInsecure: boolean;
218
+ pinnedPeerCertSha256: string | null;
219
+ verifyPeerCertByName: string | null;
215
220
  shuffleHost: boolean;
216
221
  mihomoX25519: boolean;
217
222
  xrayJsonTemplateUuid: string | null;
@@ -240,6 +245,8 @@ export declare namespace CreateHostCommand {
240
245
  };
241
246
  serverDescription: string | null;
242
247
  vlessRouteId: number | null;
248
+ pinnedPeerCertSha256: string | null;
249
+ verifyPeerCertByName: string | null;
243
250
  shuffleHost: boolean;
244
251
  mihomoX25519: boolean;
245
252
  xrayJsonTemplateUuid: string | null;
@@ -253,7 +260,6 @@ export declare namespace CreateHostCommand {
253
260
  isHidden?: boolean | undefined;
254
261
  overrideSniFromAddress?: boolean | undefined;
255
262
  keepSniBlank?: boolean | undefined;
256
- allowInsecure?: boolean | undefined;
257
263
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
258
264
  }>;
259
265
  }, "strip", z.ZodTypeAny, {
@@ -281,7 +287,8 @@ export declare namespace CreateHostCommand {
281
287
  overrideSniFromAddress: boolean;
282
288
  keepSniBlank: boolean;
283
289
  vlessRouteId: number | null;
284
- allowInsecure: boolean;
290
+ pinnedPeerCertSha256: string | null;
291
+ verifyPeerCertByName: string | null;
285
292
  shuffleHost: boolean;
286
293
  mihomoX25519: boolean;
287
294
  xrayJsonTemplateUuid: string | null;
@@ -312,6 +319,8 @@ export declare namespace CreateHostCommand {
312
319
  };
313
320
  serverDescription: string | null;
314
321
  vlessRouteId: number | null;
322
+ pinnedPeerCertSha256: string | null;
323
+ verifyPeerCertByName: string | null;
315
324
  shuffleHost: boolean;
316
325
  mihomoX25519: boolean;
317
326
  xrayJsonTemplateUuid: string | null;
@@ -325,7 +334,6 @@ export declare namespace CreateHostCommand {
325
334
  isHidden?: boolean | undefined;
326
335
  overrideSniFromAddress?: boolean | undefined;
327
336
  keepSniBlank?: boolean | undefined;
328
- allowInsecure?: boolean | undefined;
329
337
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
330
338
  };
331
339
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -60,7 +60,8 @@ 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
+ verifyPeerCertByName: zod_1.z.optional(zod_1.z.string().nullable()),
64
65
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
65
66
  shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
66
67
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
@@ -41,7 +41,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
45
46
  shuffleHost: z.ZodBoolean;
46
47
  mihomoX25519: z.ZodBoolean;
47
48
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -79,7 +80,8 @@ export declare namespace GetAllHostsCommand {
79
80
  overrideSniFromAddress: boolean;
80
81
  keepSniBlank: boolean;
81
82
  vlessRouteId: number | null;
82
- allowInsecure: boolean;
83
+ pinnedPeerCertSha256: string | null;
84
+ verifyPeerCertByName: string | null;
83
85
  shuffleHost: boolean;
84
86
  mihomoX25519: boolean;
85
87
  xrayJsonTemplateUuid: string | null;
@@ -108,6 +110,8 @@ export declare namespace GetAllHostsCommand {
108
110
  };
109
111
  serverDescription: string | null;
110
112
  vlessRouteId: number | null;
113
+ pinnedPeerCertSha256: string | null;
114
+ verifyPeerCertByName: string | null;
111
115
  shuffleHost: boolean;
112
116
  mihomoX25519: boolean;
113
117
  xrayJsonTemplateUuid: string | null;
@@ -121,7 +125,6 @@ export declare namespace GetAllHostsCommand {
121
125
  isHidden?: boolean | undefined;
122
126
  overrideSniFromAddress?: boolean | undefined;
123
127
  keepSniBlank?: boolean | undefined;
124
- allowInsecure?: boolean | undefined;
125
128
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
126
129
  }>, "many">;
127
130
  }, "strip", z.ZodTypeAny, {
@@ -149,7 +152,8 @@ export declare namespace GetAllHostsCommand {
149
152
  overrideSniFromAddress: boolean;
150
153
  keepSniBlank: boolean;
151
154
  vlessRouteId: number | null;
152
- allowInsecure: boolean;
155
+ pinnedPeerCertSha256: string | null;
156
+ verifyPeerCertByName: string | null;
153
157
  shuffleHost: boolean;
154
158
  mihomoX25519: boolean;
155
159
  xrayJsonTemplateUuid: string | null;
@@ -180,6 +184,8 @@ export declare namespace GetAllHostsCommand {
180
184
  };
181
185
  serverDescription: string | null;
182
186
  vlessRouteId: number | null;
187
+ pinnedPeerCertSha256: string | null;
188
+ verifyPeerCertByName: string | null;
183
189
  shuffleHost: boolean;
184
190
  mihomoX25519: boolean;
185
191
  xrayJsonTemplateUuid: string | null;
@@ -193,7 +199,6 @@ export declare namespace GetAllHostsCommand {
193
199
  isHidden?: boolean | undefined;
194
200
  overrideSniFromAddress?: boolean | undefined;
195
201
  keepSniBlank?: boolean | undefined;
196
- allowInsecure?: boolean | undefined;
197
202
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
198
203
  }[];
199
204
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -49,7 +49,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
53
54
  shuffleHost: z.ZodBoolean;
54
55
  mihomoX25519: z.ZodBoolean;
55
56
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -87,7 +88,8 @@ export declare namespace GetOneHostCommand {
87
88
  overrideSniFromAddress: boolean;
88
89
  keepSniBlank: boolean;
89
90
  vlessRouteId: number | null;
90
- allowInsecure: boolean;
91
+ pinnedPeerCertSha256: string | null;
92
+ verifyPeerCertByName: string | null;
91
93
  shuffleHost: boolean;
92
94
  mihomoX25519: boolean;
93
95
  xrayJsonTemplateUuid: string | null;
@@ -116,6 +118,8 @@ export declare namespace GetOneHostCommand {
116
118
  };
117
119
  serverDescription: string | null;
118
120
  vlessRouteId: number | null;
121
+ pinnedPeerCertSha256: string | null;
122
+ verifyPeerCertByName: string | null;
119
123
  shuffleHost: boolean;
120
124
  mihomoX25519: boolean;
121
125
  xrayJsonTemplateUuid: string | null;
@@ -129,7 +133,6 @@ export declare namespace GetOneHostCommand {
129
133
  isHidden?: boolean | undefined;
130
134
  overrideSniFromAddress?: boolean | undefined;
131
135
  keepSniBlank?: boolean | undefined;
132
- allowInsecure?: boolean | undefined;
133
136
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
134
137
  }>;
135
138
  }, "strip", z.ZodTypeAny, {
@@ -157,7 +160,8 @@ export declare namespace GetOneHostCommand {
157
160
  overrideSniFromAddress: boolean;
158
161
  keepSniBlank: boolean;
159
162
  vlessRouteId: number | null;
160
- allowInsecure: boolean;
163
+ pinnedPeerCertSha256: string | null;
164
+ verifyPeerCertByName: string | null;
161
165
  shuffleHost: boolean;
162
166
  mihomoX25519: boolean;
163
167
  xrayJsonTemplateUuid: string | null;
@@ -188,6 +192,8 @@ export declare namespace GetOneHostCommand {
188
192
  };
189
193
  serverDescription: string | null;
190
194
  vlessRouteId: number | null;
195
+ pinnedPeerCertSha256: string | null;
196
+ verifyPeerCertByName: string | null;
191
197
  shuffleHost: boolean;
192
198
  mihomoX25519: boolean;
193
199
  xrayJsonTemplateUuid: string | null;
@@ -201,7 +207,6 @@ export declare namespace GetOneHostCommand {
201
207
  isHidden?: boolean | undefined;
202
208
  overrideSniFromAddress?: boolean | undefined;
203
209
  keepSniBlank?: boolean | undefined;
204
- allowInsecure?: boolean | undefined;
205
210
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
206
211
  };
207
212
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -41,7 +41,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
45
46
  shuffleHost: z.ZodBoolean;
46
47
  mihomoX25519: z.ZodBoolean;
47
48
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -40,7 +40,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
44
45
  shuffleHost: z.ZodBoolean;
45
46
  mihomoX25519: z.ZodBoolean;
46
47
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -106,7 +107,8 @@ export declare namespace UpdateHostCommand {
106
107
  overrideSniFromAddress: z.ZodOptional<z.ZodBoolean>;
107
108
  keepSniBlank: z.ZodOptional<z.ZodBoolean>;
108
109
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
109
- allowInsecure: z.ZodOptional<z.ZodBoolean>;
110
+ pinnedPeerCertSha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
+ verifyPeerCertByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
112
  shuffleHost: z.ZodOptional<z.ZodBoolean>;
111
113
  mihomoX25519: z.ZodOptional<z.ZodBoolean>;
112
114
  nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -147,7 +149,8 @@ export declare namespace UpdateHostCommand {
147
149
  overrideSniFromAddress?: boolean | undefined;
148
150
  keepSniBlank?: boolean | undefined;
149
151
  vlessRouteId?: number | null | undefined;
150
- allowInsecure?: boolean | undefined;
152
+ pinnedPeerCertSha256?: string | null | undefined;
153
+ verifyPeerCertByName?: string | null | undefined;
151
154
  shuffleHost?: boolean | undefined;
152
155
  mihomoX25519?: boolean | undefined;
153
156
  xrayJsonTemplateUuid?: string | null | undefined;
@@ -180,7 +183,8 @@ export declare namespace UpdateHostCommand {
180
183
  overrideSniFromAddress?: boolean | undefined;
181
184
  keepSniBlank?: boolean | undefined;
182
185
  vlessRouteId?: number | null | undefined;
183
- allowInsecure?: boolean | undefined;
186
+ pinnedPeerCertSha256?: string | null | undefined;
187
+ verifyPeerCertByName?: string | null | undefined;
184
188
  shuffleHost?: boolean | undefined;
185
189
  mihomoX25519?: boolean | undefined;
186
190
  xrayJsonTemplateUuid?: string | null | undefined;
@@ -226,7 +230,8 @@ export declare namespace UpdateHostCommand {
226
230
  overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
227
231
  keepSniBlank: z.ZodDefault<z.ZodBoolean>;
228
232
  vlessRouteId: z.ZodNullable<z.ZodNumber>;
229
- allowInsecure: z.ZodDefault<z.ZodBoolean>;
233
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
234
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
230
235
  shuffleHost: z.ZodBoolean;
231
236
  mihomoX25519: z.ZodBoolean;
232
237
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -264,7 +269,8 @@ export declare namespace UpdateHostCommand {
264
269
  overrideSniFromAddress: boolean;
265
270
  keepSniBlank: boolean;
266
271
  vlessRouteId: number | null;
267
- allowInsecure: boolean;
272
+ pinnedPeerCertSha256: string | null;
273
+ verifyPeerCertByName: string | null;
268
274
  shuffleHost: boolean;
269
275
  mihomoX25519: boolean;
270
276
  xrayJsonTemplateUuid: string | null;
@@ -293,6 +299,8 @@ export declare namespace UpdateHostCommand {
293
299
  };
294
300
  serverDescription: string | null;
295
301
  vlessRouteId: number | null;
302
+ pinnedPeerCertSha256: string | null;
303
+ verifyPeerCertByName: string | null;
296
304
  shuffleHost: boolean;
297
305
  mihomoX25519: boolean;
298
306
  xrayJsonTemplateUuid: string | null;
@@ -306,7 +314,6 @@ export declare namespace UpdateHostCommand {
306
314
  isHidden?: boolean | undefined;
307
315
  overrideSniFromAddress?: boolean | undefined;
308
316
  keepSniBlank?: boolean | undefined;
309
- allowInsecure?: boolean | undefined;
310
317
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
311
318
  }>;
312
319
  }, "strip", z.ZodTypeAny, {
@@ -334,7 +341,8 @@ export declare namespace UpdateHostCommand {
334
341
  overrideSniFromAddress: boolean;
335
342
  keepSniBlank: boolean;
336
343
  vlessRouteId: number | null;
337
- allowInsecure: boolean;
344
+ pinnedPeerCertSha256: string | null;
345
+ verifyPeerCertByName: string | null;
338
346
  shuffleHost: boolean;
339
347
  mihomoX25519: boolean;
340
348
  xrayJsonTemplateUuid: string | null;
@@ -365,6 +373,8 @@ export declare namespace UpdateHostCommand {
365
373
  };
366
374
  serverDescription: string | null;
367
375
  vlessRouteId: number | null;
376
+ pinnedPeerCertSha256: string | null;
377
+ verifyPeerCertByName: string | null;
368
378
  shuffleHost: boolean;
369
379
  mihomoX25519: boolean;
370
380
  xrayJsonTemplateUuid: string | null;
@@ -378,7 +388,6 @@ export declare namespace UpdateHostCommand {
378
388
  isHidden?: boolean | undefined;
379
389
  overrideSniFromAddress?: boolean | undefined;
380
390
  keepSniBlank?: boolean | undefined;
381
- allowInsecure?: boolean | undefined;
382
391
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
383
392
  };
384
393
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA4ExB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA6ExB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -66,7 +66,8 @@ 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
+ verifyPeerCertByName: zod_1.z.optional(zod_1.z.string().nullable()),
70
71
  shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
71
72
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
72
73
  nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
@@ -407,7 +407,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
411
412
  alpn: z.ZodNullable<z.ZodString>;
412
413
  enableSessionResumption: z.ZodBoolean;
413
414
  fingerprint: z.ZodNullable<z.ZodString>;
@@ -417,7 +418,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
417
418
  }, "strip", z.ZodTypeAny, {
418
419
  alpn: string | null;
419
420
  fingerprint: string | null;
420
- allowInsecure: boolean;
421
+ pinnedPeerCertSha256: string | null;
422
+ verifyPeerCertByName: string | null;
421
423
  enableSessionResumption: boolean;
422
424
  serverName: string | null;
423
425
  echConfigList: string | null;
@@ -425,7 +427,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
425
427
  }, {
426
428
  alpn: string | null;
427
429
  fingerprint: string | null;
428
- allowInsecure: boolean;
430
+ pinnedPeerCertSha256: string | null;
431
+ verifyPeerCertByName: string | null;
429
432
  enableSessionResumption: boolean;
430
433
  serverName: string | null;
431
434
  echConfigList: string | null;
@@ -618,7 +621,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
618
621
  securityOptions?: {
619
622
  alpn: string | null;
620
623
  fingerprint: string | null;
621
- allowInsecure: boolean;
624
+ pinnedPeerCertSha256: string | null;
625
+ verifyPeerCertByName: string | null;
622
626
  enableSessionResumption: boolean;
623
627
  serverName: string | null;
624
628
  echConfigList: string | null;
@@ -724,7 +728,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
724
728
  securityOptions?: {
725
729
  alpn: string | null;
726
730
  fingerprint: string | null;
727
- allowInsecure: boolean;
731
+ pinnedPeerCertSha256: string | null;
732
+ verifyPeerCertByName: string | null;
728
733
  enableSessionResumption: boolean;
729
734
  serverName: string | null;
730
735
  echConfigList: string | null;
@@ -876,7 +881,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
876
881
  securityOptions?: {
877
882
  alpn: string | null;
878
883
  fingerprint: string | null;
879
- allowInsecure: boolean;
884
+ pinnedPeerCertSha256: string | null;
885
+ verifyPeerCertByName: string | null;
880
886
  enableSessionResumption: boolean;
881
887
  serverName: string | null;
882
888
  echConfigList: string | null;
@@ -1028,7 +1034,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
1028
1034
  securityOptions?: {
1029
1035
  alpn: string | null;
1030
1036
  fingerprint: string | null;
1031
- allowInsecure: boolean;
1037
+ pinnedPeerCertSha256: string | null;
1038
+ verifyPeerCertByName: string | null;
1032
1039
  enableSessionResumption: boolean;
1033
1040
  serverName: string | null;
1034
1041
  echConfigList: string | null;
@@ -1182,7 +1189,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
1182
1189
  securityOptions?: {
1183
1190
  alpn: string | null;
1184
1191
  fingerprint: string | null;
1185
- allowInsecure: boolean;
1192
+ pinnedPeerCertSha256: string | null;
1193
+ verifyPeerCertByName: string | null;
1186
1194
  enableSessionResumption: boolean;
1187
1195
  serverName: string | null;
1188
1196
  echConfigList: string | null;
@@ -1336,7 +1344,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
1336
1344
  securityOptions?: {
1337
1345
  alpn: string | null;
1338
1346
  fingerprint: string | null;
1339
- allowInsecure: boolean;
1347
+ pinnedPeerCertSha256: string | null;
1348
+ verifyPeerCertByName: string | null;
1340
1349
  enableSessionResumption: boolean;
1341
1350
  serverName: string | null;
1342
1351
  echConfigList: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAazB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAazB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -36,7 +36,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
40
41
  shuffleHost: z.ZodBoolean;
41
42
  mihomoX25519: z.ZodBoolean;
42
43
  nodes: z.ZodArray<z.ZodString, "many">;
@@ -74,7 +75,8 @@ export declare const HostsSchema: z.ZodObject<{
74
75
  overrideSniFromAddress: boolean;
75
76
  keepSniBlank: boolean;
76
77
  vlessRouteId: number | null;
77
- allowInsecure: boolean;
78
+ pinnedPeerCertSha256: string | null;
79
+ verifyPeerCertByName: string | null;
78
80
  shuffleHost: boolean;
79
81
  mihomoX25519: boolean;
80
82
  xrayJsonTemplateUuid: string | null;
@@ -103,6 +105,8 @@ export declare const HostsSchema: z.ZodObject<{
103
105
  };
104
106
  serverDescription: string | null;
105
107
  vlessRouteId: number | null;
108
+ pinnedPeerCertSha256: string | null;
109
+ verifyPeerCertByName: string | null;
106
110
  shuffleHost: boolean;
107
111
  mihomoX25519: boolean;
108
112
  xrayJsonTemplateUuid: string | null;
@@ -116,7 +120,6 @@ export declare const HostsSchema: z.ZodObject<{
116
120
  isHidden?: boolean | undefined;
117
121
  overrideSniFromAddress?: boolean | undefined;
118
122
  keepSniBlank?: boolean | undefined;
119
- allowInsecure?: boolean | undefined;
120
123
  excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
121
124
  }>;
122
125
  //# sourceMappingURL=hosts.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCtB,CAAC"}
1
+ {"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCtB,CAAC"}
@@ -31,7 +31,8 @@ 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
+ verifyPeerCertByName: zod_1.z.string().nullable(),
35
36
  shuffleHost: zod_1.z.boolean(),
36
37
  mihomoX25519: zod_1.z.boolean(),
37
38
  nodes: zod_1.z.array(zod_1.z.string().uuid()),
@@ -231,7 +231,8 @@ 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
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
235
236
  alpn: z.ZodNullable<z.ZodString>;
236
237
  enableSessionResumption: z.ZodBoolean;
237
238
  fingerprint: z.ZodNullable<z.ZodString>;
@@ -241,7 +242,8 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
241
242
  }, "strip", z.ZodTypeAny, {
242
243
  alpn: string | null;
243
244
  fingerprint: string | null;
244
- allowInsecure: boolean;
245
+ pinnedPeerCertSha256: string | null;
246
+ verifyPeerCertByName: string | null;
245
247
  enableSessionResumption: boolean;
246
248
  serverName: string | null;
247
249
  echConfigList: string | null;
@@ -249,7 +251,8 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
249
251
  }, {
250
252
  alpn: string | null;
251
253
  fingerprint: string | null;
252
- allowInsecure: boolean;
254
+ pinnedPeerCertSha256: string | null;
255
+ verifyPeerCertByName: string | null;
253
256
  enableSessionResumption: boolean;
254
257
  serverName: string | null;
255
258
  echConfigList: string | null;
@@ -713,7 +716,8 @@ export declare const TransportVariantSchema: z.ZodDiscriminatedUnion<"transport"
713
716
  export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security", [z.ZodObject<{
714
717
  security: z.ZodLiteral<"tls">;
715
718
  securityOptions: z.ZodObject<{
716
- allowInsecure: z.ZodBoolean;
719
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
720
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
717
721
  alpn: z.ZodNullable<z.ZodString>;
718
722
  enableSessionResumption: z.ZodBoolean;
719
723
  fingerprint: z.ZodNullable<z.ZodString>;
@@ -723,7 +727,8 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
723
727
  }, "strip", z.ZodTypeAny, {
724
728
  alpn: string | null;
725
729
  fingerprint: string | null;
726
- allowInsecure: boolean;
730
+ pinnedPeerCertSha256: string | null;
731
+ verifyPeerCertByName: string | null;
727
732
  enableSessionResumption: boolean;
728
733
  serverName: string | null;
729
734
  echConfigList: string | null;
@@ -731,7 +736,8 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
731
736
  }, {
732
737
  alpn: string | null;
733
738
  fingerprint: string | null;
734
- allowInsecure: boolean;
739
+ pinnedPeerCertSha256: string | null;
740
+ verifyPeerCertByName: string | null;
735
741
  enableSessionResumption: boolean;
736
742
  serverName: string | null;
737
743
  echConfigList: string | null;
@@ -742,7 +748,8 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
742
748
  securityOptions: {
743
749
  alpn: string | null;
744
750
  fingerprint: string | null;
745
- allowInsecure: boolean;
751
+ pinnedPeerCertSha256: string | null;
752
+ verifyPeerCertByName: string | null;
746
753
  enableSessionResumption: boolean;
747
754
  serverName: string | null;
748
755
  echConfigList: string | null;
@@ -753,7 +760,8 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
753
760
  securityOptions: {
754
761
  alpn: string | null;
755
762
  fingerprint: string | null;
756
- allowInsecure: boolean;
763
+ pinnedPeerCertSha256: string | null;
764
+ verifyPeerCertByName: string | null;
757
765
  enableSessionResumption: boolean;
758
766
  serverName: string | null;
759
767
  echConfigList: string | null;
@@ -1087,7 +1095,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1087
1095
  }>]>;
1088
1096
  security: z.ZodEnum<["tls", "reality", "none"]>;
1089
1097
  securityOptions: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1090
- allowInsecure: z.ZodBoolean;
1098
+ pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
1099
+ verifyPeerCertByName: z.ZodNullable<z.ZodString>;
1091
1100
  alpn: z.ZodNullable<z.ZodString>;
1092
1101
  enableSessionResumption: z.ZodBoolean;
1093
1102
  fingerprint: z.ZodNullable<z.ZodString>;
@@ -1097,7 +1106,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1097
1106
  }, "strip", z.ZodTypeAny, {
1098
1107
  alpn: string | null;
1099
1108
  fingerprint: string | null;
1100
- allowInsecure: boolean;
1109
+ pinnedPeerCertSha256: string | null;
1110
+ verifyPeerCertByName: string | null;
1101
1111
  enableSessionResumption: boolean;
1102
1112
  serverName: string | null;
1103
1113
  echConfigList: string | null;
@@ -1105,7 +1115,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1105
1115
  }, {
1106
1116
  alpn: string | null;
1107
1117
  fingerprint: string | null;
1108
- allowInsecure: boolean;
1118
+ pinnedPeerCertSha256: string | null;
1119
+ verifyPeerCertByName: string | null;
1109
1120
  enableSessionResumption: boolean;
1110
1121
  serverName: string | null;
1111
1122
  echConfigList: string | null;
@@ -1298,7 +1309,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1298
1309
  securityOptions?: {
1299
1310
  alpn: string | null;
1300
1311
  fingerprint: string | null;
1301
- allowInsecure: boolean;
1312
+ pinnedPeerCertSha256: string | null;
1313
+ verifyPeerCertByName: string | null;
1302
1314
  enableSessionResumption: boolean;
1303
1315
  serverName: string | null;
1304
1316
  echConfigList: string | null;
@@ -1404,7 +1416,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
1404
1416
  securityOptions?: {
1405
1417
  alpn: string | null;
1406
1418
  fingerprint: string | null;
1407
- allowInsecure: boolean;
1419
+ pinnedPeerCertSha256: string | null;
1420
+ verifyPeerCertByName: string | null;
1408
1421
  enableSessionResumption: boolean;
1409
1422
  serverName: string | null;
1410
1423
  echConfigList: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"resolved-proxy-config.schema.d.ts","sourceRoot":"","sources":["../../../models/resolved-proxy-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAC;AA4BH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;EAI5C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CpC,CAAC"}
@@ -76,7 +76,8 @@ 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
+ verifyPeerCertByName: zod_1.z.string().nullable(),
80
81
  alpn: zod_1.z.string().nullable(),
81
82
  enableSessionResumption: zod_1.z.boolean(),
82
83
  fingerprint: zod_1.z.string().nullable(),
@@ -60,7 +60,8 @@ 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
+ verifyPeerCertByName: zod_1.z.optional(zod_1.z.string().nullable()),
64
65
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
65
66
  shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
66
67
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
@@ -66,7 +66,8 @@ 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
+ verifyPeerCertByName: zod_1.z.optional(zod_1.z.string().nullable()),
70
71
  shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
71
72
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
72
73
  nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
@@ -31,7 +31,8 @@ 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
+ verifyPeerCertByName: zod_1.z.string().nullable(),
35
36
  shuffleHost: zod_1.z.boolean(),
36
37
  mihomoX25519: zod_1.z.boolean(),
37
38
  nodes: zod_1.z.array(zod_1.z.string().uuid()),
@@ -76,7 +76,8 @@ 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
+ verifyPeerCertByName: zod_1.z.string().nullable(),
80
81
  alpn: zod_1.z.string().nullable(),
81
82
  enableSessionResumption: zod_1.z.boolean(),
82
83
  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.4",
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.",