@remnawave/backend-contract 2.2.36 → 2.2.38

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 (41) hide show
  1. package/build/backend/commands/external-squads/create-external-squad.command.d.ts +33 -0
  2. package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
  3. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +33 -0
  4. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
  5. package/build/backend/commands/external-squads/get-external-squads.command.d.ts +43 -0
  6. package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
  7. package/build/backend/commands/external-squads/update-external-squad.command.d.ts +56 -0
  8. package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
  9. package/build/backend/commands/external-squads/update-external-squad.command.js +1 -0
  10. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +33 -0
  11. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
  12. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +56 -0
  13. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
  14. package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +1 -0
  15. package/build/backend/constants/cache-keys/cache-keys.constants.d.ts +3 -0
  16. package/build/backend/constants/cache-keys/cache-keys.constants.d.ts.map +1 -1
  17. package/build/backend/constants/cache-keys/cache-keys.constants.js +3 -0
  18. package/build/backend/models/external-squad.schema.d.ts +23 -0
  19. package/build/backend/models/external-squad.schema.d.ts.map +1 -1
  20. package/build/backend/models/external-squad.schema.js +2 -0
  21. package/build/backend/models/index.d.ts +1 -0
  22. package/build/backend/models/index.d.ts.map +1 -1
  23. package/build/backend/models/index.js +1 -0
  24. package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts +16 -0
  25. package/build/backend/models/subscription-settings/hwid-settings.schema.d.ts.map +1 -0
  26. package/build/backend/models/subscription-settings/hwid-settings.schema.js +12 -0
  27. package/build/backend/models/subscription-settings/index.d.ts +2 -0
  28. package/build/backend/models/subscription-settings/index.d.ts.map +1 -0
  29. package/build/backend/models/subscription-settings/index.js +17 -0
  30. package/build/backend/models/subscription-settings.schema.d.ts +23 -0
  31. package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
  32. package/build/backend/models/subscription-settings.schema.js +2 -0
  33. package/build/frontend/commands/external-squads/update-external-squad.command.js +1 -0
  34. package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +1 -0
  35. package/build/frontend/constants/cache-keys/cache-keys.constants.js +3 -0
  36. package/build/frontend/models/external-squad.schema.js +2 -0
  37. package/build/frontend/models/index.js +1 -0
  38. package/build/frontend/models/subscription-settings/hwid-settings.schema.js +12 -0
  39. package/build/frontend/models/subscription-settings/index.js +17 -0
  40. package/build/frontend/models/subscription-settings.schema.js +2 -0
  41. package/package.json +1 -1
@@ -84,6 +84,19 @@ export declare namespace CreateExternalSquadCommand {
84
84
  vlessRouteId?: number | null | undefined;
85
85
  }>>;
86
86
  responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
87
+ hwidSettings: z.ZodNullable<z.ZodObject<{
88
+ enabled: z.ZodBoolean;
89
+ fallbackDeviceLimit: z.ZodNumber;
90
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ enabled: boolean;
93
+ fallbackDeviceLimit: number;
94
+ maxDevicesAnnounce: string | null;
95
+ }, {
96
+ enabled: boolean;
97
+ fallbackDeviceLimit: number;
98
+ maxDevicesAnnounce: string | null;
99
+ }>>;
87
100
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
88
101
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
89
102
  }, "strip", z.ZodTypeAny, {
@@ -91,6 +104,11 @@ export declare namespace CreateExternalSquadCommand {
91
104
  createdAt: Date;
92
105
  updatedAt: Date;
93
106
  name: string;
107
+ hwidSettings: {
108
+ enabled: boolean;
109
+ fallbackDeviceLimit: number;
110
+ maxDevicesAnnounce: string | null;
111
+ } | null;
94
112
  info: {
95
113
  membersCount: number;
96
114
  };
@@ -120,6 +138,11 @@ export declare namespace CreateExternalSquadCommand {
120
138
  createdAt: string;
121
139
  updatedAt: string;
122
140
  name: string;
141
+ hwidSettings: {
142
+ enabled: boolean;
143
+ fallbackDeviceLimit: number;
144
+ maxDevicesAnnounce: string | null;
145
+ } | null;
123
146
  info: {
124
147
  membersCount: number;
125
148
  };
@@ -151,6 +174,11 @@ export declare namespace CreateExternalSquadCommand {
151
174
  createdAt: Date;
152
175
  updatedAt: Date;
153
176
  name: string;
177
+ hwidSettings: {
178
+ enabled: boolean;
179
+ fallbackDeviceLimit: number;
180
+ maxDevicesAnnounce: string | null;
181
+ } | null;
154
182
  info: {
155
183
  membersCount: number;
156
184
  };
@@ -182,6 +210,11 @@ export declare namespace CreateExternalSquadCommand {
182
210
  createdAt: string;
183
211
  updatedAt: string;
184
212
  name: string;
213
+ hwidSettings: {
214
+ enabled: boolean;
215
+ fallbackDeviceLimit: number;
216
+ maxDevicesAnnounce: string | null;
217
+ } | null;
185
218
  info: {
186
219
  membersCount: number;
187
220
  };
@@ -1 +1 @@
1
- {"version":3,"file":"create-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/create-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MASxB,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-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/create-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MASxB,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"}
@@ -84,6 +84,19 @@ export declare namespace GetExternalSquadByUuidCommand {
84
84
  vlessRouteId?: number | null | undefined;
85
85
  }>>;
86
86
  responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
87
+ hwidSettings: z.ZodNullable<z.ZodObject<{
88
+ enabled: z.ZodBoolean;
89
+ fallbackDeviceLimit: z.ZodNumber;
90
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ enabled: boolean;
93
+ fallbackDeviceLimit: number;
94
+ maxDevicesAnnounce: string | null;
95
+ }, {
96
+ enabled: boolean;
97
+ fallbackDeviceLimit: number;
98
+ maxDevicesAnnounce: string | null;
99
+ }>>;
87
100
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
88
101
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
89
102
  }, "strip", z.ZodTypeAny, {
@@ -91,6 +104,11 @@ export declare namespace GetExternalSquadByUuidCommand {
91
104
  createdAt: Date;
92
105
  updatedAt: Date;
93
106
  name: string;
107
+ hwidSettings: {
108
+ enabled: boolean;
109
+ fallbackDeviceLimit: number;
110
+ maxDevicesAnnounce: string | null;
111
+ } | null;
94
112
  info: {
95
113
  membersCount: number;
96
114
  };
@@ -120,6 +138,11 @@ export declare namespace GetExternalSquadByUuidCommand {
120
138
  createdAt: string;
121
139
  updatedAt: string;
122
140
  name: string;
141
+ hwidSettings: {
142
+ enabled: boolean;
143
+ fallbackDeviceLimit: number;
144
+ maxDevicesAnnounce: string | null;
145
+ } | null;
123
146
  info: {
124
147
  membersCount: number;
125
148
  };
@@ -151,6 +174,11 @@ export declare namespace GetExternalSquadByUuidCommand {
151
174
  createdAt: Date;
152
175
  updatedAt: Date;
153
176
  name: string;
177
+ hwidSettings: {
178
+ enabled: boolean;
179
+ fallbackDeviceLimit: number;
180
+ maxDevicesAnnounce: string | null;
181
+ } | null;
154
182
  info: {
155
183
  membersCount: number;
156
184
  };
@@ -182,6 +210,11 @@ export declare namespace GetExternalSquadByUuidCommand {
182
210
  createdAt: string;
183
211
  updatedAt: string;
184
212
  name: string;
213
+ hwidSettings: {
214
+ enabled: boolean;
215
+ fallbackDeviceLimit: number;
216
+ maxDevicesAnnounce: string | null;
217
+ } | null;
185
218
  info: {
186
219
  membersCount: number;
187
220
  };
@@ -1 +1 @@
1
- {"version":3,"file":"get-external-squad-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squad-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAuC,CAAC;IACjD,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-external-squad-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squad-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,GAAG,0BAAuC,CAAC;IACjD,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"}
@@ -78,6 +78,19 @@ export declare namespace GetExternalSquadsCommand {
78
78
  vlessRouteId?: number | null | undefined;
79
79
  }>>;
80
80
  responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
81
+ hwidSettings: z.ZodNullable<z.ZodObject<{
82
+ enabled: z.ZodBoolean;
83
+ fallbackDeviceLimit: z.ZodNumber;
84
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
85
+ }, "strip", z.ZodTypeAny, {
86
+ enabled: boolean;
87
+ fallbackDeviceLimit: number;
88
+ maxDevicesAnnounce: string | null;
89
+ }, {
90
+ enabled: boolean;
91
+ fallbackDeviceLimit: number;
92
+ maxDevicesAnnounce: string | null;
93
+ }>>;
81
94
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
82
95
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
83
96
  }, "strip", z.ZodTypeAny, {
@@ -85,6 +98,11 @@ export declare namespace GetExternalSquadsCommand {
85
98
  createdAt: Date;
86
99
  updatedAt: Date;
87
100
  name: string;
101
+ hwidSettings: {
102
+ enabled: boolean;
103
+ fallbackDeviceLimit: number;
104
+ maxDevicesAnnounce: string | null;
105
+ } | null;
88
106
  info: {
89
107
  membersCount: number;
90
108
  };
@@ -114,6 +132,11 @@ export declare namespace GetExternalSquadsCommand {
114
132
  createdAt: string;
115
133
  updatedAt: string;
116
134
  name: string;
135
+ hwidSettings: {
136
+ enabled: boolean;
137
+ fallbackDeviceLimit: number;
138
+ maxDevicesAnnounce: string | null;
139
+ } | null;
117
140
  info: {
118
141
  membersCount: number;
119
142
  };
@@ -146,6 +169,11 @@ export declare namespace GetExternalSquadsCommand {
146
169
  createdAt: Date;
147
170
  updatedAt: Date;
148
171
  name: string;
172
+ hwidSettings: {
173
+ enabled: boolean;
174
+ fallbackDeviceLimit: number;
175
+ maxDevicesAnnounce: string | null;
176
+ } | null;
149
177
  info: {
150
178
  membersCount: number;
151
179
  };
@@ -178,6 +206,11 @@ export declare namespace GetExternalSquadsCommand {
178
206
  createdAt: string;
179
207
  updatedAt: string;
180
208
  name: string;
209
+ hwidSettings: {
210
+ enabled: boolean;
211
+ fallbackDeviceLimit: number;
212
+ maxDevicesAnnounce: string | null;
213
+ } | null;
181
214
  info: {
182
215
  membersCount: number;
183
216
  };
@@ -212,6 +245,11 @@ export declare namespace GetExternalSquadsCommand {
212
245
  createdAt: Date;
213
246
  updatedAt: Date;
214
247
  name: string;
248
+ hwidSettings: {
249
+ enabled: boolean;
250
+ fallbackDeviceLimit: number;
251
+ maxDevicesAnnounce: string | null;
252
+ } | null;
215
253
  info: {
216
254
  membersCount: number;
217
255
  };
@@ -246,6 +284,11 @@ export declare namespace GetExternalSquadsCommand {
246
284
  createdAt: string;
247
285
  updatedAt: string;
248
286
  name: string;
287
+ hwidSettings: {
288
+ enabled: boolean;
289
+ fallbackDeviceLimit: number;
290
+ maxDevicesAnnounce: string | null;
291
+ } | null;
249
292
  info: {
250
293
  membersCount: number;
251
294
  };
@@ -1 +1 @@
1
- {"version":3,"file":"get-external-squads.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squads.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-external-squads.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/get-external-squads.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,wBAAwB,CAAC;IAC/B,MAAM,GAAG,yBAA+B,CAAC;IACzC,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -68,9 +68,27 @@ export declare namespace UpdateExternalSquadCommand {
68
68
  vlessRouteId?: number | null | undefined;
69
69
  }>>;
70
70
  responseHeaders: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
71
+ hwidSettings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
72
+ enabled: z.ZodBoolean;
73
+ fallbackDeviceLimit: z.ZodNumber;
74
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ enabled: boolean;
77
+ fallbackDeviceLimit: number;
78
+ maxDevicesAnnounce: string | null;
79
+ }, {
80
+ enabled: boolean;
81
+ fallbackDeviceLimit: number;
82
+ maxDevicesAnnounce: string | null;
83
+ }>>>;
71
84
  }, "strip", z.ZodTypeAny, {
72
85
  uuid: string;
73
86
  name?: string | undefined;
87
+ hwidSettings?: {
88
+ enabled: boolean;
89
+ fallbackDeviceLimit: number;
90
+ maxDevicesAnnounce: string | null;
91
+ } | null | undefined;
74
92
  templates?: {
75
93
  templateUuid: string;
76
94
  templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
@@ -95,6 +113,11 @@ export declare namespace UpdateExternalSquadCommand {
95
113
  }, {
96
114
  uuid: string;
97
115
  name?: string | undefined;
116
+ hwidSettings?: {
117
+ enabled: boolean;
118
+ fallbackDeviceLimit: number;
119
+ maxDevicesAnnounce: string | null;
120
+ } | null | undefined;
98
121
  templates?: {
99
122
  templateUuid: string;
100
123
  templateType: "STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64";
@@ -191,6 +214,19 @@ export declare namespace UpdateExternalSquadCommand {
191
214
  vlessRouteId?: number | null | undefined;
192
215
  }>>;
193
216
  responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
217
+ hwidSettings: z.ZodNullable<z.ZodObject<{
218
+ enabled: z.ZodBoolean;
219
+ fallbackDeviceLimit: z.ZodNumber;
220
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ enabled: boolean;
223
+ fallbackDeviceLimit: number;
224
+ maxDevicesAnnounce: string | null;
225
+ }, {
226
+ enabled: boolean;
227
+ fallbackDeviceLimit: number;
228
+ maxDevicesAnnounce: string | null;
229
+ }>>;
194
230
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
195
231
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
196
232
  }, "strip", z.ZodTypeAny, {
@@ -198,6 +234,11 @@ export declare namespace UpdateExternalSquadCommand {
198
234
  createdAt: Date;
199
235
  updatedAt: Date;
200
236
  name: string;
237
+ hwidSettings: {
238
+ enabled: boolean;
239
+ fallbackDeviceLimit: number;
240
+ maxDevicesAnnounce: string | null;
241
+ } | null;
201
242
  info: {
202
243
  membersCount: number;
203
244
  };
@@ -227,6 +268,11 @@ export declare namespace UpdateExternalSquadCommand {
227
268
  createdAt: string;
228
269
  updatedAt: string;
229
270
  name: string;
271
+ hwidSettings: {
272
+ enabled: boolean;
273
+ fallbackDeviceLimit: number;
274
+ maxDevicesAnnounce: string | null;
275
+ } | null;
230
276
  info: {
231
277
  membersCount: number;
232
278
  };
@@ -258,6 +304,11 @@ export declare namespace UpdateExternalSquadCommand {
258
304
  createdAt: Date;
259
305
  updatedAt: Date;
260
306
  name: string;
307
+ hwidSettings: {
308
+ enabled: boolean;
309
+ fallbackDeviceLimit: number;
310
+ maxDevicesAnnounce: string | null;
311
+ } | null;
261
312
  info: {
262
313
  membersCount: number;
263
314
  };
@@ -289,6 +340,11 @@ export declare namespace UpdateExternalSquadCommand {
289
340
  createdAt: string;
290
341
  updatedAt: string;
291
342
  name: string;
343
+ hwidSettings: {
344
+ enabled: boolean;
345
+ fallbackDeviceLimit: number;
346
+ maxDevicesAnnounce: string | null;
347
+ } | null;
292
348
  info: {
293
349
  membersCount: number;
294
350
  };
@@ -1 +1 @@
1
- {"version":3,"file":"update-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/update-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsBxB,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":"update-external-squad.command.d.ts","sourceRoot":"","sources":["../../../../commands/external-squads/update-external-squad.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuBxB,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"}
@@ -27,6 +27,7 @@ var UpdateExternalSquadCommand;
27
27
  subscriptionSettings: models_1.ExternalSquadSubscriptionSettingsSchema.optional(),
28
28
  hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
29
29
  responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
30
+ hwidSettings: zod_1.z.optional(zod_1.z.nullable(models_1.HwidSettingsSchema)),
30
31
  });
31
32
  UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
32
33
  response: models_1.ExternalSquadSchema,
@@ -181,6 +181,19 @@ export declare namespace GetSubscriptionSettingsCommand {
181
181
  } | undefined;
182
182
  }[];
183
183
  }>>;
184
+ hwidSettings: z.ZodNullable<z.ZodObject<{
185
+ enabled: z.ZodBoolean;
186
+ fallbackDeviceLimit: z.ZodNumber;
187
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ enabled: boolean;
190
+ fallbackDeviceLimit: number;
191
+ maxDevicesAnnounce: string | null;
192
+ }, {
193
+ enabled: boolean;
194
+ fallbackDeviceLimit: number;
195
+ maxDevicesAnnounce: string | null;
196
+ }>>;
184
197
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
185
198
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
186
199
  }, "strip", z.ZodTypeAny, {
@@ -224,6 +237,11 @@ export declare namespace GetSubscriptionSettingsCommand {
224
237
  } | undefined;
225
238
  }[];
226
239
  } | null;
240
+ hwidSettings: {
241
+ enabled: boolean;
242
+ fallbackDeviceLimit: number;
243
+ maxDevicesAnnounce: string | null;
244
+ } | null;
227
245
  }, {
228
246
  uuid: string;
229
247
  createdAt: string;
@@ -265,6 +283,11 @@ export declare namespace GetSubscriptionSettingsCommand {
265
283
  } | undefined;
266
284
  }[];
267
285
  } | null;
286
+ hwidSettings: {
287
+ enabled: boolean;
288
+ fallbackDeviceLimit: number;
289
+ maxDevicesAnnounce: string | null;
290
+ } | null;
268
291
  }>;
269
292
  }, "strip", z.ZodTypeAny, {
270
293
  response: {
@@ -308,6 +331,11 @@ export declare namespace GetSubscriptionSettingsCommand {
308
331
  } | undefined;
309
332
  }[];
310
333
  } | null;
334
+ hwidSettings: {
335
+ enabled: boolean;
336
+ fallbackDeviceLimit: number;
337
+ maxDevicesAnnounce: string | null;
338
+ } | null;
311
339
  };
312
340
  }, {
313
341
  response: {
@@ -351,6 +379,11 @@ export declare namespace GetSubscriptionSettingsCommand {
351
379
  } | undefined;
352
380
  }[];
353
381
  } | null;
382
+ hwidSettings: {
383
+ enabled: boolean;
384
+ fallbackDeviceLimit: number;
385
+ maxDevicesAnnounce: string | null;
386
+ } | null;
354
387
  };
355
388
  }>;
356
389
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
1
+ {"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -180,6 +180,19 @@ export declare namespace UpdateSubscriptionSettingsCommand {
180
180
  } | undefined;
181
181
  }[];
182
182
  }>>;
183
+ hwidSettings: z.ZodOptional<z.ZodObject<{
184
+ enabled: z.ZodBoolean;
185
+ fallbackDeviceLimit: z.ZodNumber;
186
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ enabled: boolean;
189
+ fallbackDeviceLimit: number;
190
+ maxDevicesAnnounce: string | null;
191
+ }, {
192
+ enabled: boolean;
193
+ fallbackDeviceLimit: number;
194
+ maxDevicesAnnounce: string | null;
195
+ }>>;
183
196
  }, "strip", z.ZodTypeAny, {
184
197
  uuid: string;
185
198
  profileTitle?: string | undefined;
@@ -219,6 +232,11 @@ export declare namespace UpdateSubscriptionSettingsCommand {
219
232
  } | undefined;
220
233
  }[];
221
234
  } | undefined;
235
+ hwidSettings?: {
236
+ enabled: boolean;
237
+ fallbackDeviceLimit: number;
238
+ maxDevicesAnnounce: string | null;
239
+ } | undefined;
222
240
  }, {
223
241
  uuid: string;
224
242
  profileTitle?: string | undefined;
@@ -258,6 +276,11 @@ export declare namespace UpdateSubscriptionSettingsCommand {
258
276
  } | undefined;
259
277
  }[];
260
278
  } | undefined;
279
+ hwidSettings?: {
280
+ enabled: boolean;
281
+ fallbackDeviceLimit: number;
282
+ maxDevicesAnnounce: string | null;
283
+ } | undefined;
261
284
  }>;
262
285
  type Request = z.infer<typeof RequestSchema>;
263
286
  const ResponseSchema: z.ZodObject<{
@@ -438,6 +461,19 @@ export declare namespace UpdateSubscriptionSettingsCommand {
438
461
  } | undefined;
439
462
  }[];
440
463
  }>>;
464
+ hwidSettings: z.ZodNullable<z.ZodObject<{
465
+ enabled: z.ZodBoolean;
466
+ fallbackDeviceLimit: z.ZodNumber;
467
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
468
+ }, "strip", z.ZodTypeAny, {
469
+ enabled: boolean;
470
+ fallbackDeviceLimit: number;
471
+ maxDevicesAnnounce: string | null;
472
+ }, {
473
+ enabled: boolean;
474
+ fallbackDeviceLimit: number;
475
+ maxDevicesAnnounce: string | null;
476
+ }>>;
441
477
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
442
478
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
443
479
  }, "strip", z.ZodTypeAny, {
@@ -481,6 +517,11 @@ export declare namespace UpdateSubscriptionSettingsCommand {
481
517
  } | undefined;
482
518
  }[];
483
519
  } | null;
520
+ hwidSettings: {
521
+ enabled: boolean;
522
+ fallbackDeviceLimit: number;
523
+ maxDevicesAnnounce: string | null;
524
+ } | null;
484
525
  }, {
485
526
  uuid: string;
486
527
  createdAt: string;
@@ -522,6 +563,11 @@ export declare namespace UpdateSubscriptionSettingsCommand {
522
563
  } | undefined;
523
564
  }[];
524
565
  } | null;
566
+ hwidSettings: {
567
+ enabled: boolean;
568
+ fallbackDeviceLimit: number;
569
+ maxDevicesAnnounce: string | null;
570
+ } | null;
525
571
  }>;
526
572
  }, "strip", z.ZodTypeAny, {
527
573
  response: {
@@ -565,6 +611,11 @@ export declare namespace UpdateSubscriptionSettingsCommand {
565
611
  } | undefined;
566
612
  }[];
567
613
  } | null;
614
+ hwidSettings: {
615
+ enabled: boolean;
616
+ fallbackDeviceLimit: number;
617
+ maxDevicesAnnounce: string | null;
618
+ } | null;
568
619
  };
569
620
  }, {
570
621
  response: {
@@ -608,6 +659,11 @@ export declare namespace UpdateSubscriptionSettingsCommand {
608
659
  } | undefined;
609
660
  }[];
610
661
  } | null;
662
+ hwidSettings: {
663
+ enabled: boolean;
664
+ fallbackDeviceLimit: number;
665
+ maxDevicesAnnounce: string | null;
666
+ } | null;
611
667
  };
612
668
  }>;
613
669
  type Response = z.infer<typeof ResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsCxB,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":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuCxB,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"}
@@ -32,6 +32,7 @@ var UpdateSubscriptionSettingsCommand;
32
32
  .regex(/^[a-zA-Z0-9_-]+$/, 'Invalid header name. Only letters(a-z, A-Z), numbers(0-9), underscores(_) and hyphens(-) are allowed.'), zod_1.z.string())),
33
33
  randomizeHosts: zod_1.z.optional(zod_1.z.boolean()),
34
34
  responseRules: zod_1.z.optional(models_1.ResponseRulesConfigSchema),
35
+ hwidSettings: zod_1.z.optional(models_1.HwidSettingsSchema),
35
36
  });
36
37
  UpdateSubscriptionSettingsCommand.ResponseSchema = zod_1.z.object({
37
38
  response: models_1.SubscriptionSettingsSchema,
@@ -1,6 +1,7 @@
1
1
  import { TSubscriptionTemplateType } from '../subscription-template';
2
2
  export declare const CACHE_KEYS: {
3
3
  readonly SUBSCRIPTION_SETTINGS: "subscription_settings";
4
+ readonly EXTERNAL_SQUAD_SETTINGS: (uuid: string) => string;
4
5
  readonly SUBSCRIPTION_TEMPLATE: (name: string, type: TSubscriptionTemplateType) => string;
5
6
  readonly PASSKEY_REGISTRATION_OPTIONS: (uuid: string) => string;
6
7
  readonly PASSKEY_AUTHENTICATION_OPTIONS: (uuid: string) => string;
@@ -8,5 +9,7 @@ export declare const CACHE_KEYS: {
8
9
  };
9
10
  export declare const CACHE_KEYS_TTL: {
10
11
  readonly REMNAWAVE_SETTINGS: 86400000;
12
+ readonly EXTERNAL_SQUAD_SETTINGS: 3600000;
13
+ readonly SUBSCRIPTION_SETTINGS: 3600000;
11
14
  };
12
15
  //# sourceMappingURL=cache-keys.constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;2CAEW,MAAM,QAAQ,yBAAyB;kDAEhC,MAAM;oDACJ,MAAM;;CAEvC,CAAC;AAEX,eAAO,MAAM,cAAc;;CAEjB,CAAC"}
1
+ {"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;6CAEa,MAAM;2CACR,MAAM,QAAQ,yBAAyB;kDAEhC,MAAM;oDACJ,MAAM;;CAEvC,CAAC;AAEX,eAAO,MAAM,cAAc;;;;CAIjB,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CACHE_KEYS_TTL = exports.CACHE_KEYS = void 0;
4
4
  exports.CACHE_KEYS = {
5
5
  SUBSCRIPTION_SETTINGS: 'subscription_settings',
6
+ EXTERNAL_SQUAD_SETTINGS: (uuid) => `external_squad_settings:${uuid}`,
6
7
  SUBSCRIPTION_TEMPLATE: (name, type) => `subscription_template:${name}:${type}`,
7
8
  PASSKEY_REGISTRATION_OPTIONS: (uuid) => `passkey_registration_options:${uuid}`,
8
9
  PASSKEY_AUTHENTICATION_OPTIONS: (uuid) => `passkey_authentication_options:${uuid}`,
@@ -10,4 +11,6 @@ exports.CACHE_KEYS = {
10
11
  };
11
12
  exports.CACHE_KEYS_TTL = {
12
13
  REMNAWAVE_SETTINGS: 86400000, // 1 day
14
+ EXTERNAL_SQUAD_SETTINGS: 3600000, // 1 hour
15
+ SUBSCRIPTION_SETTINGS: 3600000, // 1 hour
13
16
  };
@@ -71,6 +71,19 @@ export declare const ExternalSquadSchema: z.ZodObject<{
71
71
  vlessRouteId?: number | null | undefined;
72
72
  }>>;
73
73
  responseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
74
+ hwidSettings: z.ZodNullable<z.ZodObject<{
75
+ enabled: z.ZodBoolean;
76
+ fallbackDeviceLimit: z.ZodNumber;
77
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ enabled: boolean;
80
+ fallbackDeviceLimit: number;
81
+ maxDevicesAnnounce: string | null;
82
+ }, {
83
+ enabled: boolean;
84
+ fallbackDeviceLimit: number;
85
+ maxDevicesAnnounce: string | null;
86
+ }>>;
74
87
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
75
88
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
76
89
  }, "strip", z.ZodTypeAny, {
@@ -78,6 +91,11 @@ export declare const ExternalSquadSchema: z.ZodObject<{
78
91
  createdAt: Date;
79
92
  updatedAt: Date;
80
93
  name: string;
94
+ hwidSettings: {
95
+ enabled: boolean;
96
+ fallbackDeviceLimit: number;
97
+ maxDevicesAnnounce: string | null;
98
+ } | null;
81
99
  info: {
82
100
  membersCount: number;
83
101
  };
@@ -107,6 +125,11 @@ export declare const ExternalSquadSchema: z.ZodObject<{
107
125
  createdAt: string;
108
126
  updatedAt: string;
109
127
  name: string;
128
+ hwidSettings: {
129
+ enabled: boolean;
130
+ fallbackDeviceLimit: number;
131
+ maxDevicesAnnounce: string | null;
132
+ } | null;
110
133
  info: {
111
134
  membersCount: number;
112
135
  };
@@ -1 +1 @@
1
- {"version":3,"file":"external-squad.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0B9B,CAAC"}
1
+ {"version":3,"file":"external-squad.schema.d.ts","sourceRoot":"","sources":["../../../models/external-squad.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2B9B,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExternalSquadSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const external_squads_1 = require("./external-squads");
6
+ const hwid_settings_schema_1 = require("./subscription-settings/hwid-settings.schema");
6
7
  const constants_1 = require("../constants");
7
8
  exports.ExternalSquadSchema = zod_1.z.object({
8
9
  uuid: zod_1.z.string().uuid(),
@@ -17,6 +18,7 @@ exports.ExternalSquadSchema = zod_1.z.object({
17
18
  subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
18
19
  hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
19
20
  responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
21
+ hwidSettings: zod_1.z.nullable(hwid_settings_schema_1.HwidSettingsSchema),
20
22
  createdAt: zod_1.z
21
23
  .string()
22
24
  .datetime()
@@ -22,6 +22,7 @@ export * from './response-rules';
22
22
  export * from './snippets.schema';
23
23
  export * from './subscription-info.schema';
24
24
  export * from './subscription-request-history.schema';
25
+ export * from './subscription-settings';
25
26
  export * from './subscription-settings.schema';
26
27
  export * from './tanstack-query';
27
28
  export * from './users.schema';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
@@ -38,6 +38,7 @@ __exportStar(require("./response-rules"), exports);
38
38
  __exportStar(require("./snippets.schema"), exports);
39
39
  __exportStar(require("./subscription-info.schema"), exports);
40
40
  __exportStar(require("./subscription-request-history.schema"), exports);
41
+ __exportStar(require("./subscription-settings"), exports);
41
42
  __exportStar(require("./subscription-settings.schema"), exports);
42
43
  __exportStar(require("./tanstack-query"), exports);
43
44
  __exportStar(require("./users.schema"), exports);
@@ -0,0 +1,16 @@
1
+ import z from 'zod';
2
+ export declare const HwidSettingsSchema: z.ZodObject<{
3
+ enabled: z.ZodBoolean;
4
+ fallbackDeviceLimit: z.ZodNumber;
5
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ enabled: boolean;
8
+ fallbackDeviceLimit: number;
9
+ maxDevicesAnnounce: string | null;
10
+ }, {
11
+ enabled: boolean;
12
+ fallbackDeviceLimit: number;
13
+ maxDevicesAnnounce: string | null;
14
+ }>;
15
+ export type THwidSettings = z.infer<typeof HwidSettingsSchema>;
16
+ //# sourceMappingURL=hwid-settings.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hwid-settings.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-settings/hwid-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.HwidSettingsSchema = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ exports.HwidSettingsSchema = zod_1.default.object({
9
+ enabled: zod_1.default.boolean(),
10
+ fallbackDeviceLimit: zod_1.default.number(),
11
+ maxDevicesAnnounce: zod_1.default.string().nullable(),
12
+ });
@@ -0,0 +1,2 @@
1
+ export * from './hwid-settings.schema';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../models/subscription-settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./hwid-settings.schema"), exports);
@@ -176,6 +176,19 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
176
176
  } | undefined;
177
177
  }[];
178
178
  }>>;
179
+ hwidSettings: z.ZodNullable<z.ZodObject<{
180
+ enabled: z.ZodBoolean;
181
+ fallbackDeviceLimit: z.ZodNumber;
182
+ maxDevicesAnnounce: z.ZodNullable<z.ZodString>;
183
+ }, "strip", z.ZodTypeAny, {
184
+ enabled: boolean;
185
+ fallbackDeviceLimit: number;
186
+ maxDevicesAnnounce: string | null;
187
+ }, {
188
+ enabled: boolean;
189
+ fallbackDeviceLimit: number;
190
+ maxDevicesAnnounce: string | null;
191
+ }>>;
179
192
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
180
193
  updatedAt: z.ZodEffects<z.ZodString, Date, string>;
181
194
  }, "strip", z.ZodTypeAny, {
@@ -219,6 +232,11 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
219
232
  } | undefined;
220
233
  }[];
221
234
  } | null;
235
+ hwidSettings: {
236
+ enabled: boolean;
237
+ fallbackDeviceLimit: number;
238
+ maxDevicesAnnounce: string | null;
239
+ } | null;
222
240
  }, {
223
241
  uuid: string;
224
242
  createdAt: string;
@@ -260,5 +278,10 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
260
278
  } | undefined;
261
279
  }[];
262
280
  } | null;
281
+ hwidSettings: {
282
+ enabled: boolean;
283
+ fallbackDeviceLimit: number;
284
+ maxDevicesAnnounce: string | null;
285
+ } | null;
263
286
  }>;
264
287
  //# sourceMappingURL=subscription-settings.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCrC,CAAC"}
1
+ {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCrC,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionSettingsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const hwid_settings_schema_1 = require("./subscription-settings/hwid-settings.schema");
5
6
  const response_rules_1 = require("./response-rules");
6
7
  exports.SubscriptionSettingsSchema = zod_1.z.object({
7
8
  uuid: zod_1.z.string().uuid(),
@@ -23,6 +24,7 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
23
24
  customResponseHeaders: zod_1.z.nullable(zod_1.z.record(zod_1.z.string(), zod_1.z.string())),
24
25
  randomizeHosts: zod_1.z.boolean(),
25
26
  responseRules: zod_1.z.nullable(response_rules_1.ResponseRulesConfigSchema),
27
+ hwidSettings: zod_1.z.nullable(hwid_settings_schema_1.HwidSettingsSchema),
26
28
  createdAt: zod_1.z
27
29
  .string()
28
30
  .datetime()
@@ -27,6 +27,7 @@ var UpdateExternalSquadCommand;
27
27
  subscriptionSettings: models_1.ExternalSquadSubscriptionSettingsSchema.optional(),
28
28
  hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
29
29
  responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
30
+ hwidSettings: zod_1.z.optional(zod_1.z.nullable(models_1.HwidSettingsSchema)),
30
31
  });
31
32
  UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
32
33
  response: models_1.ExternalSquadSchema,
@@ -32,6 +32,7 @@ var UpdateSubscriptionSettingsCommand;
32
32
  .regex(/^[a-zA-Z0-9_-]+$/, 'Invalid header name. Only letters(a-z, A-Z), numbers(0-9), underscores(_) and hyphens(-) are allowed.'), zod_1.z.string())),
33
33
  randomizeHosts: zod_1.z.optional(zod_1.z.boolean()),
34
34
  responseRules: zod_1.z.optional(models_1.ResponseRulesConfigSchema),
35
+ hwidSettings: zod_1.z.optional(models_1.HwidSettingsSchema),
35
36
  });
36
37
  UpdateSubscriptionSettingsCommand.ResponseSchema = zod_1.z.object({
37
38
  response: models_1.SubscriptionSettingsSchema,
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CACHE_KEYS_TTL = exports.CACHE_KEYS = void 0;
4
4
  exports.CACHE_KEYS = {
5
5
  SUBSCRIPTION_SETTINGS: 'subscription_settings',
6
+ EXTERNAL_SQUAD_SETTINGS: (uuid) => `external_squad_settings:${uuid}`,
6
7
  SUBSCRIPTION_TEMPLATE: (name, type) => `subscription_template:${name}:${type}`,
7
8
  PASSKEY_REGISTRATION_OPTIONS: (uuid) => `passkey_registration_options:${uuid}`,
8
9
  PASSKEY_AUTHENTICATION_OPTIONS: (uuid) => `passkey_authentication_options:${uuid}`,
@@ -10,4 +11,6 @@ exports.CACHE_KEYS = {
10
11
  };
11
12
  exports.CACHE_KEYS_TTL = {
12
13
  REMNAWAVE_SETTINGS: 86400000, // 1 day
14
+ EXTERNAL_SQUAD_SETTINGS: 3600000, // 1 hour
15
+ SUBSCRIPTION_SETTINGS: 3600000, // 1 hour
13
16
  };
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExternalSquadSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const external_squads_1 = require("./external-squads");
6
+ const hwid_settings_schema_1 = require("./subscription-settings/hwid-settings.schema");
6
7
  const constants_1 = require("../constants");
7
8
  exports.ExternalSquadSchema = zod_1.z.object({
8
9
  uuid: zod_1.z.string().uuid(),
@@ -17,6 +18,7 @@ exports.ExternalSquadSchema = zod_1.z.object({
17
18
  subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
18
19
  hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
19
20
  responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
21
+ hwidSettings: zod_1.z.nullable(hwid_settings_schema_1.HwidSettingsSchema),
20
22
  createdAt: zod_1.z
21
23
  .string()
22
24
  .datetime()
@@ -38,6 +38,7 @@ __exportStar(require("./response-rules"), exports);
38
38
  __exportStar(require("./snippets.schema"), exports);
39
39
  __exportStar(require("./subscription-info.schema"), exports);
40
40
  __exportStar(require("./subscription-request-history.schema"), exports);
41
+ __exportStar(require("./subscription-settings"), exports);
41
42
  __exportStar(require("./subscription-settings.schema"), exports);
42
43
  __exportStar(require("./tanstack-query"), exports);
43
44
  __exportStar(require("./users.schema"), exports);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.HwidSettingsSchema = void 0;
7
+ const zod_1 = __importDefault(require("zod"));
8
+ exports.HwidSettingsSchema = zod_1.default.object({
9
+ enabled: zod_1.default.boolean(),
10
+ fallbackDeviceLimit: zod_1.default.number(),
11
+ maxDevicesAnnounce: zod_1.default.string().nullable(),
12
+ });
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./hwid-settings.schema"), exports);
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SubscriptionSettingsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const hwid_settings_schema_1 = require("./subscription-settings/hwid-settings.schema");
5
6
  const response_rules_1 = require("./response-rules");
6
7
  exports.SubscriptionSettingsSchema = zod_1.z.object({
7
8
  uuid: zod_1.z.string().uuid(),
@@ -23,6 +24,7 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
23
24
  customResponseHeaders: zod_1.z.nullable(zod_1.z.record(zod_1.z.string(), zod_1.z.string())),
24
25
  randomizeHosts: zod_1.z.boolean(),
25
26
  responseRules: zod_1.z.nullable(response_rules_1.ResponseRulesConfigSchema),
27
+ hwidSettings: zod_1.z.nullable(hwid_settings_schema_1.HwidSettingsSchema),
26
28
  createdAt: zod_1.z
27
29
  .string()
28
30
  .datetime()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.2.36",
3
+ "version": "2.2.38",
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.",