@remnawave/backend-contract 2.5.2 → 2.5.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 (31) hide show
  1. package/build/backend/commands/external-squads/actions/reorder.command.d.ts +24 -0
  2. package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
  3. package/build/backend/commands/external-squads/create-external-squad.command.d.ts +14 -0
  4. package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
  5. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +14 -0
  6. package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
  7. package/build/backend/commands/external-squads/get-external-squads.command.d.ts +18 -0
  8. package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
  9. package/build/backend/commands/external-squads/update-external-squad.command.d.ts +24 -0
  10. package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
  11. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +14 -0
  12. package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
  13. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +24 -0
  14. package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
  15. package/build/backend/constants/events/events.d.ts +4 -0
  16. package/build/backend/constants/events/events.d.ts.map +1 -1
  17. package/build/backend/constants/events/events.js +3 -1
  18. package/build/backend/models/external-squad.schema.d.ts +10 -0
  19. package/build/backend/models/external-squad.schema.d.ts.map +1 -1
  20. package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts +6 -0
  21. package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts.map +1 -1
  22. package/build/backend/models/subscription-settings/custom-remarks.schema.js +2 -0
  23. package/build/backend/models/subscription-settings.schema.d.ts +10 -0
  24. package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
  25. package/build/backend/models/webhook/webhook.schema.d.ts +10 -10
  26. package/build/backend/models/webhook/webhook.schema.d.ts.map +1 -1
  27. package/build/backend/models/webhook/webhook.schema.js +7 -10
  28. package/build/frontend/constants/events/events.js +3 -1
  29. package/build/frontend/models/subscription-settings/custom-remarks.schema.js +2 -0
  30. package/build/frontend/models/webhook/webhook.schema.js +7 -10
  31. package/package.json +1 -1
@@ -93,18 +93,24 @@ export declare namespace ReorderExternalSquadCommand {
93
93
  disabledUsers: z.ZodArray<z.ZodString, "many">;
94
94
  emptyHosts: z.ZodArray<z.ZodString, "many">;
95
95
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
96
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
97
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
96
98
  }, "strip", z.ZodTypeAny, {
97
99
  expiredUsers: string[];
98
100
  limitedUsers: string[];
99
101
  disabledUsers: string[];
100
102
  emptyHosts: string[];
101
103
  emptyInternalSquads: string[];
104
+ HWIDMaxDevicesExceeded: string[];
105
+ HWIDNotSupported: string[];
102
106
  }, {
103
107
  expiredUsers: string[];
104
108
  limitedUsers: string[];
105
109
  disabledUsers: string[];
106
110
  emptyHosts: string[];
107
111
  emptyInternalSquads: string[];
112
+ HWIDMaxDevicesExceeded: string[];
113
+ HWIDNotSupported: string[];
108
114
  }>>;
109
115
  subpageConfigUuid: z.ZodNullable<z.ZodString>;
110
116
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -220,18 +226,24 @@ export declare namespace ReorderExternalSquadCommand {
220
226
  disabledUsers: z.ZodArray<z.ZodString, "many">;
221
227
  emptyHosts: z.ZodArray<z.ZodString, "many">;
222
228
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
229
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
230
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
223
231
  }, "strip", z.ZodTypeAny, {
224
232
  expiredUsers: string[];
225
233
  limitedUsers: string[];
226
234
  disabledUsers: string[];
227
235
  emptyHosts: string[];
228
236
  emptyInternalSquads: string[];
237
+ HWIDMaxDevicesExceeded: string[];
238
+ HWIDNotSupported: string[];
229
239
  }, {
230
240
  expiredUsers: string[];
231
241
  limitedUsers: string[];
232
242
  disabledUsers: string[];
233
243
  emptyHosts: string[];
234
244
  emptyInternalSquads: string[];
245
+ HWIDMaxDevicesExceeded: string[];
246
+ HWIDNotSupported: string[];
235
247
  }>>;
236
248
  subpageConfigUuid: z.ZodNullable<z.ZodString>;
237
249
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -248,6 +260,8 @@ export declare namespace ReorderExternalSquadCommand {
248
260
  disabledUsers: string[];
249
261
  emptyHosts: string[];
250
262
  emptyInternalSquads: string[];
263
+ HWIDMaxDevicesExceeded: string[];
264
+ HWIDNotSupported: string[];
251
265
  } | null;
252
266
  hwidSettings: {
253
267
  enabled: boolean;
@@ -290,6 +304,8 @@ export declare namespace ReorderExternalSquadCommand {
290
304
  disabledUsers: string[];
291
305
  emptyHosts: string[];
292
306
  emptyInternalSquads: string[];
307
+ HWIDMaxDevicesExceeded: string[];
308
+ HWIDNotSupported: string[];
293
309
  } | null;
294
310
  hwidSettings: {
295
311
  enabled: boolean;
@@ -335,6 +351,8 @@ export declare namespace ReorderExternalSquadCommand {
335
351
  disabledUsers: string[];
336
352
  emptyHosts: string[];
337
353
  emptyInternalSquads: string[];
354
+ HWIDMaxDevicesExceeded: string[];
355
+ HWIDNotSupported: string[];
338
356
  } | null;
339
357
  hwidSettings: {
340
358
  enabled: boolean;
@@ -380,6 +398,8 @@ export declare namespace ReorderExternalSquadCommand {
380
398
  disabledUsers: string[];
381
399
  emptyHosts: string[];
382
400
  emptyInternalSquads: string[];
401
+ HWIDMaxDevicesExceeded: string[];
402
+ HWIDNotSupported: string[];
383
403
  } | null;
384
404
  hwidSettings: {
385
405
  enabled: boolean;
@@ -427,6 +447,8 @@ export declare namespace ReorderExternalSquadCommand {
427
447
  disabledUsers: string[];
428
448
  emptyHosts: string[];
429
449
  emptyInternalSquads: string[];
450
+ HWIDMaxDevicesExceeded: string[];
451
+ HWIDNotSupported: string[];
430
452
  } | null;
431
453
  hwidSettings: {
432
454
  enabled: boolean;
@@ -474,6 +496,8 @@ export declare namespace ReorderExternalSquadCommand {
474
496
  disabledUsers: string[];
475
497
  emptyHosts: string[];
476
498
  emptyInternalSquads: string[];
499
+ HWIDMaxDevicesExceeded: string[];
500
+ HWIDNotSupported: string[];
477
501
  } | null;
478
502
  hwidSettings: {
479
503
  enabled: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../../commands/external-squads/actions/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,wCAA2C,CAAC;IACrD,MAAM,OAAO,wCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
@@ -101,18 +101,24 @@ export declare namespace CreateExternalSquadCommand {
101
101
  disabledUsers: z.ZodArray<z.ZodString, "many">;
102
102
  emptyHosts: z.ZodArray<z.ZodString, "many">;
103
103
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
104
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
105
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
104
106
  }, "strip", z.ZodTypeAny, {
105
107
  expiredUsers: string[];
106
108
  limitedUsers: string[];
107
109
  disabledUsers: string[];
108
110
  emptyHosts: string[];
109
111
  emptyInternalSquads: string[];
112
+ HWIDMaxDevicesExceeded: string[];
113
+ HWIDNotSupported: string[];
110
114
  }, {
111
115
  expiredUsers: string[];
112
116
  limitedUsers: string[];
113
117
  disabledUsers: string[];
114
118
  emptyHosts: string[];
115
119
  emptyInternalSquads: string[];
120
+ HWIDMaxDevicesExceeded: string[];
121
+ HWIDNotSupported: string[];
116
122
  }>>;
117
123
  subpageConfigUuid: z.ZodNullable<z.ZodString>;
118
124
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -129,6 +135,8 @@ export declare namespace CreateExternalSquadCommand {
129
135
  disabledUsers: string[];
130
136
  emptyHosts: string[];
131
137
  emptyInternalSquads: string[];
138
+ HWIDMaxDevicesExceeded: string[];
139
+ HWIDNotSupported: string[];
132
140
  } | null;
133
141
  hwidSettings: {
134
142
  enabled: boolean;
@@ -171,6 +179,8 @@ export declare namespace CreateExternalSquadCommand {
171
179
  disabledUsers: string[];
172
180
  emptyHosts: string[];
173
181
  emptyInternalSquads: string[];
182
+ HWIDMaxDevicesExceeded: string[];
183
+ HWIDNotSupported: string[];
174
184
  } | null;
175
185
  hwidSettings: {
176
186
  enabled: boolean;
@@ -215,6 +225,8 @@ export declare namespace CreateExternalSquadCommand {
215
225
  disabledUsers: string[];
216
226
  emptyHosts: string[];
217
227
  emptyInternalSquads: string[];
228
+ HWIDMaxDevicesExceeded: string[];
229
+ HWIDNotSupported: string[];
218
230
  } | null;
219
231
  hwidSettings: {
220
232
  enabled: boolean;
@@ -259,6 +271,8 @@ export declare namespace CreateExternalSquadCommand {
259
271
  disabledUsers: string[];
260
272
  emptyHosts: string[];
261
273
  emptyInternalSquads: string[];
274
+ HWIDMaxDevicesExceeded: string[];
275
+ HWIDNotSupported: string[];
262
276
  } | null;
263
277
  hwidSettings: {
264
278
  enabled: boolean;
@@ -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"}
@@ -101,18 +101,24 @@ export declare namespace GetExternalSquadByUuidCommand {
101
101
  disabledUsers: z.ZodArray<z.ZodString, "many">;
102
102
  emptyHosts: z.ZodArray<z.ZodString, "many">;
103
103
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
104
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
105
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
104
106
  }, "strip", z.ZodTypeAny, {
105
107
  expiredUsers: string[];
106
108
  limitedUsers: string[];
107
109
  disabledUsers: string[];
108
110
  emptyHosts: string[];
109
111
  emptyInternalSquads: string[];
112
+ HWIDMaxDevicesExceeded: string[];
113
+ HWIDNotSupported: string[];
110
114
  }, {
111
115
  expiredUsers: string[];
112
116
  limitedUsers: string[];
113
117
  disabledUsers: string[];
114
118
  emptyHosts: string[];
115
119
  emptyInternalSquads: string[];
120
+ HWIDMaxDevicesExceeded: string[];
121
+ HWIDNotSupported: string[];
116
122
  }>>;
117
123
  subpageConfigUuid: z.ZodNullable<z.ZodString>;
118
124
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -129,6 +135,8 @@ export declare namespace GetExternalSquadByUuidCommand {
129
135
  disabledUsers: string[];
130
136
  emptyHosts: string[];
131
137
  emptyInternalSquads: string[];
138
+ HWIDMaxDevicesExceeded: string[];
139
+ HWIDNotSupported: string[];
132
140
  } | null;
133
141
  hwidSettings: {
134
142
  enabled: boolean;
@@ -171,6 +179,8 @@ export declare namespace GetExternalSquadByUuidCommand {
171
179
  disabledUsers: string[];
172
180
  emptyHosts: string[];
173
181
  emptyInternalSquads: string[];
182
+ HWIDMaxDevicesExceeded: string[];
183
+ HWIDNotSupported: string[];
174
184
  } | null;
175
185
  hwidSettings: {
176
186
  enabled: boolean;
@@ -215,6 +225,8 @@ export declare namespace GetExternalSquadByUuidCommand {
215
225
  disabledUsers: string[];
216
226
  emptyHosts: string[];
217
227
  emptyInternalSquads: string[];
228
+ HWIDMaxDevicesExceeded: string[];
229
+ HWIDNotSupported: string[];
218
230
  } | null;
219
231
  hwidSettings: {
220
232
  enabled: boolean;
@@ -259,6 +271,8 @@ export declare namespace GetExternalSquadByUuidCommand {
259
271
  disabledUsers: string[];
260
272
  emptyHosts: string[];
261
273
  emptyInternalSquads: string[];
274
+ HWIDMaxDevicesExceeded: string[];
275
+ HWIDNotSupported: string[];
262
276
  } | null;
263
277
  hwidSettings: {
264
278
  enabled: boolean;
@@ -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"}
@@ -95,18 +95,24 @@ export declare namespace GetExternalSquadsCommand {
95
95
  disabledUsers: z.ZodArray<z.ZodString, "many">;
96
96
  emptyHosts: z.ZodArray<z.ZodString, "many">;
97
97
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
98
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
99
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
98
100
  }, "strip", z.ZodTypeAny, {
99
101
  expiredUsers: string[];
100
102
  limitedUsers: string[];
101
103
  disabledUsers: string[];
102
104
  emptyHosts: string[];
103
105
  emptyInternalSquads: string[];
106
+ HWIDMaxDevicesExceeded: string[];
107
+ HWIDNotSupported: string[];
104
108
  }, {
105
109
  expiredUsers: string[];
106
110
  limitedUsers: string[];
107
111
  disabledUsers: string[];
108
112
  emptyHosts: string[];
109
113
  emptyInternalSquads: string[];
114
+ HWIDMaxDevicesExceeded: string[];
115
+ HWIDNotSupported: string[];
110
116
  }>>;
111
117
  subpageConfigUuid: z.ZodNullable<z.ZodString>;
112
118
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -123,6 +129,8 @@ export declare namespace GetExternalSquadsCommand {
123
129
  disabledUsers: string[];
124
130
  emptyHosts: string[];
125
131
  emptyInternalSquads: string[];
132
+ HWIDMaxDevicesExceeded: string[];
133
+ HWIDNotSupported: string[];
126
134
  } | null;
127
135
  hwidSettings: {
128
136
  enabled: boolean;
@@ -165,6 +173,8 @@ export declare namespace GetExternalSquadsCommand {
165
173
  disabledUsers: string[];
166
174
  emptyHosts: string[];
167
175
  emptyInternalSquads: string[];
176
+ HWIDMaxDevicesExceeded: string[];
177
+ HWIDNotSupported: string[];
168
178
  } | null;
169
179
  hwidSettings: {
170
180
  enabled: boolean;
@@ -210,6 +220,8 @@ export declare namespace GetExternalSquadsCommand {
210
220
  disabledUsers: string[];
211
221
  emptyHosts: string[];
212
222
  emptyInternalSquads: string[];
223
+ HWIDMaxDevicesExceeded: string[];
224
+ HWIDNotSupported: string[];
213
225
  } | null;
214
226
  hwidSettings: {
215
227
  enabled: boolean;
@@ -255,6 +267,8 @@ export declare namespace GetExternalSquadsCommand {
255
267
  disabledUsers: string[];
256
268
  emptyHosts: string[];
257
269
  emptyInternalSquads: string[];
270
+ HWIDMaxDevicesExceeded: string[];
271
+ HWIDNotSupported: string[];
258
272
  } | null;
259
273
  hwidSettings: {
260
274
  enabled: boolean;
@@ -302,6 +316,8 @@ export declare namespace GetExternalSquadsCommand {
302
316
  disabledUsers: string[];
303
317
  emptyHosts: string[];
304
318
  emptyInternalSquads: string[];
319
+ HWIDMaxDevicesExceeded: string[];
320
+ HWIDNotSupported: string[];
305
321
  } | null;
306
322
  hwidSettings: {
307
323
  enabled: boolean;
@@ -349,6 +365,8 @@ export declare namespace GetExternalSquadsCommand {
349
365
  disabledUsers: string[];
350
366
  emptyHosts: string[];
351
367
  emptyInternalSquads: string[];
368
+ HWIDMaxDevicesExceeded: string[];
369
+ HWIDNotSupported: string[];
352
370
  } | null;
353
371
  hwidSettings: {
354
372
  enabled: boolean;
@@ -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"}
@@ -84,18 +84,24 @@ export declare namespace UpdateExternalSquadCommand {
84
84
  disabledUsers: z.ZodArray<z.ZodString, "many">;
85
85
  emptyHosts: z.ZodArray<z.ZodString, "many">;
86
86
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
87
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
88
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
87
89
  }, "strip", z.ZodTypeAny, {
88
90
  expiredUsers: string[];
89
91
  limitedUsers: string[];
90
92
  disabledUsers: string[];
91
93
  emptyHosts: string[];
92
94
  emptyInternalSquads: string[];
95
+ HWIDMaxDevicesExceeded: string[];
96
+ HWIDNotSupported: string[];
93
97
  }, {
94
98
  expiredUsers: string[];
95
99
  limitedUsers: string[];
96
100
  disabledUsers: string[];
97
101
  emptyHosts: string[];
98
102
  emptyInternalSquads: string[];
103
+ HWIDMaxDevicesExceeded: string[];
104
+ HWIDNotSupported: string[];
99
105
  }>>>;
100
106
  subpageConfigUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
107
  }, "strip", z.ZodTypeAny, {
@@ -107,6 +113,8 @@ export declare namespace UpdateExternalSquadCommand {
107
113
  disabledUsers: string[];
108
114
  emptyHosts: string[];
109
115
  emptyInternalSquads: string[];
116
+ HWIDMaxDevicesExceeded: string[];
117
+ HWIDNotSupported: string[];
110
118
  } | null | undefined;
111
119
  hwidSettings?: {
112
120
  enabled: boolean;
@@ -143,6 +151,8 @@ export declare namespace UpdateExternalSquadCommand {
143
151
  disabledUsers: string[];
144
152
  emptyHosts: string[];
145
153
  emptyInternalSquads: string[];
154
+ HWIDMaxDevicesExceeded: string[];
155
+ HWIDNotSupported: string[];
146
156
  } | null | undefined;
147
157
  hwidSettings?: {
148
158
  enabled: boolean;
@@ -262,18 +272,24 @@ export declare namespace UpdateExternalSquadCommand {
262
272
  disabledUsers: z.ZodArray<z.ZodString, "many">;
263
273
  emptyHosts: z.ZodArray<z.ZodString, "many">;
264
274
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
275
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
276
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
265
277
  }, "strip", z.ZodTypeAny, {
266
278
  expiredUsers: string[];
267
279
  limitedUsers: string[];
268
280
  disabledUsers: string[];
269
281
  emptyHosts: string[];
270
282
  emptyInternalSquads: string[];
283
+ HWIDMaxDevicesExceeded: string[];
284
+ HWIDNotSupported: string[];
271
285
  }, {
272
286
  expiredUsers: string[];
273
287
  limitedUsers: string[];
274
288
  disabledUsers: string[];
275
289
  emptyHosts: string[];
276
290
  emptyInternalSquads: string[];
291
+ HWIDMaxDevicesExceeded: string[];
292
+ HWIDNotSupported: string[];
277
293
  }>>;
278
294
  subpageConfigUuid: z.ZodNullable<z.ZodString>;
279
295
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -290,6 +306,8 @@ export declare namespace UpdateExternalSquadCommand {
290
306
  disabledUsers: string[];
291
307
  emptyHosts: string[];
292
308
  emptyInternalSquads: string[];
309
+ HWIDMaxDevicesExceeded: string[];
310
+ HWIDNotSupported: string[];
293
311
  } | null;
294
312
  hwidSettings: {
295
313
  enabled: boolean;
@@ -332,6 +350,8 @@ export declare namespace UpdateExternalSquadCommand {
332
350
  disabledUsers: string[];
333
351
  emptyHosts: string[];
334
352
  emptyInternalSquads: string[];
353
+ HWIDMaxDevicesExceeded: string[];
354
+ HWIDNotSupported: string[];
335
355
  } | null;
336
356
  hwidSettings: {
337
357
  enabled: boolean;
@@ -376,6 +396,8 @@ export declare namespace UpdateExternalSquadCommand {
376
396
  disabledUsers: string[];
377
397
  emptyHosts: string[];
378
398
  emptyInternalSquads: string[];
399
+ HWIDMaxDevicesExceeded: string[];
400
+ HWIDNotSupported: string[];
379
401
  } | null;
380
402
  hwidSettings: {
381
403
  enabled: boolean;
@@ -420,6 +442,8 @@ export declare namespace UpdateExternalSquadCommand {
420
442
  disabledUsers: string[];
421
443
  emptyHosts: string[];
422
444
  emptyInternalSquads: string[];
445
+ HWIDMaxDevicesExceeded: string[];
446
+ HWIDNotSupported: string[];
423
447
  } | null;
424
448
  hwidSettings: {
425
449
  enabled: boolean;
@@ -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;AAaxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBxB,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;AAaxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,GAAG,yBAAkC,CAAC;IAC5C,MAAM,OAAO,yBAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyBxB,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"}
@@ -18,18 +18,24 @@ export declare namespace GetSubscriptionSettingsCommand {
18
18
  disabledUsers: z.ZodArray<z.ZodString, "many">;
19
19
  emptyHosts: z.ZodArray<z.ZodString, "many">;
20
20
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
21
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
22
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
21
23
  }, "strip", z.ZodTypeAny, {
22
24
  expiredUsers: string[];
23
25
  limitedUsers: string[];
24
26
  disabledUsers: string[];
25
27
  emptyHosts: string[];
26
28
  emptyInternalSquads: string[];
29
+ HWIDMaxDevicesExceeded: string[];
30
+ HWIDNotSupported: string[];
27
31
  }, {
28
32
  expiredUsers: string[];
29
33
  limitedUsers: string[];
30
34
  disabledUsers: string[];
31
35
  emptyHosts: string[];
32
36
  emptyInternalSquads: string[];
37
+ HWIDMaxDevicesExceeded: string[];
38
+ HWIDNotSupported: string[];
33
39
  }>;
34
40
  happAnnounce: z.ZodNullable<z.ZodString>;
35
41
  happRouting: z.ZodNullable<z.ZodString>;
@@ -227,6 +233,8 @@ export declare namespace GetSubscriptionSettingsCommand {
227
233
  disabledUsers: string[];
228
234
  emptyHosts: string[];
229
235
  emptyInternalSquads: string[];
236
+ HWIDMaxDevicesExceeded: string[];
237
+ HWIDNotSupported: string[];
230
238
  };
231
239
  happAnnounce: string | null;
232
240
  happRouting: string | null;
@@ -276,6 +284,8 @@ export declare namespace GetSubscriptionSettingsCommand {
276
284
  disabledUsers: string[];
277
285
  emptyHosts: string[];
278
286
  emptyInternalSquads: string[];
287
+ HWIDMaxDevicesExceeded: string[];
288
+ HWIDNotSupported: string[];
279
289
  };
280
290
  happAnnounce: string | null;
281
291
  happRouting: string | null;
@@ -327,6 +337,8 @@ export declare namespace GetSubscriptionSettingsCommand {
327
337
  disabledUsers: string[];
328
338
  emptyHosts: string[];
329
339
  emptyInternalSquads: string[];
340
+ HWIDMaxDevicesExceeded: string[];
341
+ HWIDNotSupported: string[];
330
342
  };
331
343
  happAnnounce: string | null;
332
344
  happRouting: string | null;
@@ -378,6 +390,8 @@ export declare namespace GetSubscriptionSettingsCommand {
378
390
  disabledUsers: string[];
379
391
  emptyHosts: string[];
380
392
  emptyInternalSquads: string[];
393
+ HWIDMaxDevicesExceeded: string[];
394
+ HWIDNotSupported: string[];
381
395
  };
382
396
  happAnnounce: string | null;
383
397
  happRouting: string | null;
@@ -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"}
@@ -19,18 +19,24 @@ export declare namespace UpdateSubscriptionSettingsCommand {
19
19
  disabledUsers: z.ZodArray<z.ZodString, "many">;
20
20
  emptyHosts: z.ZodArray<z.ZodString, "many">;
21
21
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
22
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
23
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
22
24
  }, "strip", z.ZodTypeAny, {
23
25
  expiredUsers: string[];
24
26
  limitedUsers: string[];
25
27
  disabledUsers: string[];
26
28
  emptyHosts: string[];
27
29
  emptyInternalSquads: string[];
30
+ HWIDMaxDevicesExceeded: string[];
31
+ HWIDNotSupported: string[];
28
32
  }, {
29
33
  expiredUsers: string[];
30
34
  limitedUsers: string[];
31
35
  disabledUsers: string[];
32
36
  emptyHosts: string[];
33
37
  emptyInternalSquads: string[];
38
+ HWIDMaxDevicesExceeded: string[];
39
+ HWIDNotSupported: string[];
34
40
  }>>;
35
41
  customResponseHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36
42
  randomizeHosts: z.ZodOptional<z.ZodBoolean>;
@@ -222,6 +228,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
222
228
  disabledUsers: string[];
223
229
  emptyHosts: string[];
224
230
  emptyInternalSquads: string[];
231
+ HWIDMaxDevicesExceeded: string[];
232
+ HWIDNotSupported: string[];
225
233
  } | undefined;
226
234
  happAnnounce?: string | null | undefined;
227
235
  happRouting?: string | null | undefined;
@@ -269,6 +277,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
269
277
  disabledUsers: string[];
270
278
  emptyHosts: string[];
271
279
  emptyInternalSquads: string[];
280
+ HWIDMaxDevicesExceeded: string[];
281
+ HWIDNotSupported: string[];
272
282
  } | undefined;
273
283
  happAnnounce?: string | null | undefined;
274
284
  happRouting?: string | null | undefined;
@@ -319,18 +329,24 @@ export declare namespace UpdateSubscriptionSettingsCommand {
319
329
  disabledUsers: z.ZodArray<z.ZodString, "many">;
320
330
  emptyHosts: z.ZodArray<z.ZodString, "many">;
321
331
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
332
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
333
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
322
334
  }, "strip", z.ZodTypeAny, {
323
335
  expiredUsers: string[];
324
336
  limitedUsers: string[];
325
337
  disabledUsers: string[];
326
338
  emptyHosts: string[];
327
339
  emptyInternalSquads: string[];
340
+ HWIDMaxDevicesExceeded: string[];
341
+ HWIDNotSupported: string[];
328
342
  }, {
329
343
  expiredUsers: string[];
330
344
  limitedUsers: string[];
331
345
  disabledUsers: string[];
332
346
  emptyHosts: string[];
333
347
  emptyInternalSquads: string[];
348
+ HWIDMaxDevicesExceeded: string[];
349
+ HWIDNotSupported: string[];
334
350
  }>;
335
351
  happAnnounce: z.ZodNullable<z.ZodString>;
336
352
  happRouting: z.ZodNullable<z.ZodString>;
@@ -528,6 +544,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
528
544
  disabledUsers: string[];
529
545
  emptyHosts: string[];
530
546
  emptyInternalSquads: string[];
547
+ HWIDMaxDevicesExceeded: string[];
548
+ HWIDNotSupported: string[];
531
549
  };
532
550
  happAnnounce: string | null;
533
551
  happRouting: string | null;
@@ -577,6 +595,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
577
595
  disabledUsers: string[];
578
596
  emptyHosts: string[];
579
597
  emptyInternalSquads: string[];
598
+ HWIDMaxDevicesExceeded: string[];
599
+ HWIDNotSupported: string[];
580
600
  };
581
601
  happAnnounce: string | null;
582
602
  happRouting: string | null;
@@ -628,6 +648,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
628
648
  disabledUsers: string[];
629
649
  emptyHosts: string[];
630
650
  emptyInternalSquads: string[];
651
+ HWIDMaxDevicesExceeded: string[];
652
+ HWIDNotSupported: string[];
631
653
  };
632
654
  happAnnounce: string | null;
633
655
  happRouting: string | null;
@@ -679,6 +701,8 @@ export declare namespace UpdateSubscriptionSettingsCommand {
679
701
  disabledUsers: string[];
680
702
  emptyHosts: string[];
681
703
  emptyInternalSquads: string[];
704
+ HWIDMaxDevicesExceeded: string[];
705
+ HWIDNotSupported: string[];
682
706
  };
683
707
  happAnnounce: string | null;
684
708
  happRouting: string | null;
@@ -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;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCxB,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,E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,CAAC;CACzD"}
@@ -85,4 +85,8 @@ export declare const EVENTS_SCOPES: {
85
85
  readonly CRM: "crm";
86
86
  };
87
87
  export type TEventsScope = (typeof EVENTS_SCOPES)[keyof typeof EVENTS_SCOPES];
88
+ type ObjectValues<T> = T[keyof T];
89
+ type NonEmptyArray<T> = [T, ...T[]];
90
+ export declare const toZodEnum: <T extends Record<string, string>>(obj: T) => NonEmptyArray<ObjectValues<T>>;
91
+ export {};
88
92
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../constants/events/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;QAmBX;;;;;WAKG;;;IAGP;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCG,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACzE,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;AACzE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;AAClF,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/E,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACtE,MAAM,MAAM,sBAAsB,GAC9B,CAAC,OAAO,MAAM,CAAC,iBAAiB,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,iBAAiB,CAAC,CAAC;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B,WAAW,GACX,WAAW,GACX,cAAc,GACd,aAAa,GACb,UAAU,GACV,sBAAsB,CAAC;AAC7B,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,CAAC;AAEvD,eAAO,MAAM,aAAa;;;;;;;CAOhB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE9E,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAClC,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;AAEpC,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,KACxC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EVENTS_SCOPES = exports.EVENTS = void 0;
3
+ exports.toZodEnum = exports.EVENTS_SCOPES = exports.EVENTS = void 0;
4
4
  exports.EVENTS = {
5
5
  USER: {
6
6
  CREATED: 'user.created',
@@ -79,3 +79,5 @@ exports.EVENTS_SCOPES = {
79
79
  ERRORS: 'errors',
80
80
  CRM: 'crm',
81
81
  };
82
+ const toZodEnum = (obj) => Object.values(obj);
83
+ exports.toZodEnum = toZodEnum;
@@ -88,18 +88,24 @@ export declare const ExternalSquadSchema: z.ZodObject<{
88
88
  disabledUsers: z.ZodArray<z.ZodString, "many">;
89
89
  emptyHosts: z.ZodArray<z.ZodString, "many">;
90
90
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
91
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
92
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
91
93
  }, "strip", z.ZodTypeAny, {
92
94
  expiredUsers: string[];
93
95
  limitedUsers: string[];
94
96
  disabledUsers: string[];
95
97
  emptyHosts: string[];
96
98
  emptyInternalSquads: string[];
99
+ HWIDMaxDevicesExceeded: string[];
100
+ HWIDNotSupported: string[];
97
101
  }, {
98
102
  expiredUsers: string[];
99
103
  limitedUsers: string[];
100
104
  disabledUsers: string[];
101
105
  emptyHosts: string[];
102
106
  emptyInternalSquads: string[];
107
+ HWIDMaxDevicesExceeded: string[];
108
+ HWIDNotSupported: string[];
103
109
  }>>;
104
110
  subpageConfigUuid: z.ZodNullable<z.ZodString>;
105
111
  createdAt: z.ZodEffects<z.ZodString, Date, string>;
@@ -116,6 +122,8 @@ export declare const ExternalSquadSchema: z.ZodObject<{
116
122
  disabledUsers: string[];
117
123
  emptyHosts: string[];
118
124
  emptyInternalSquads: string[];
125
+ HWIDMaxDevicesExceeded: string[];
126
+ HWIDNotSupported: string[];
119
127
  } | null;
120
128
  hwidSettings: {
121
129
  enabled: boolean;
@@ -158,6 +166,8 @@ export declare const ExternalSquadSchema: z.ZodObject<{
158
166
  disabledUsers: string[];
159
167
  emptyHosts: string[];
160
168
  emptyInternalSquads: string[];
169
+ HWIDMaxDevicesExceeded: string[];
170
+ HWIDNotSupported: string[];
161
171
  } | null;
162
172
  hwidSettings: {
163
173
  enabled: boolean;
@@ -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;AAUxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B9B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B9B,CAAC"}
@@ -5,18 +5,24 @@ export declare const CustomRemarksSchema: z.ZodObject<{
5
5
  disabledUsers: z.ZodArray<z.ZodString, "many">;
6
6
  emptyHosts: z.ZodArray<z.ZodString, "many">;
7
7
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
8
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
9
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
8
10
  }, "strip", z.ZodTypeAny, {
9
11
  expiredUsers: string[];
10
12
  limitedUsers: string[];
11
13
  disabledUsers: string[];
12
14
  emptyHosts: string[];
13
15
  emptyInternalSquads: string[];
16
+ HWIDMaxDevicesExceeded: string[];
17
+ HWIDNotSupported: string[];
14
18
  }, {
15
19
  expiredUsers: string[];
16
20
  limitedUsers: string[];
17
21
  disabledUsers: string[];
18
22
  emptyHosts: string[];
19
23
  emptyInternalSquads: string[];
24
+ HWIDMaxDevicesExceeded: string[];
25
+ HWIDNotSupported: string[];
20
26
  }>;
21
27
  export type TCustomRemarks = z.infer<typeof CustomRemarksSchema>;
22
28
  //# sourceMappingURL=custom-remarks.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-remarks.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-settings/custom-remarks.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"custom-remarks.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-settings/custom-remarks.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -11,4 +11,6 @@ exports.CustomRemarksSchema = zod_1.default.object({
11
11
  disabledUsers: zod_1.default.array(zod_1.default.string()).min(1),
12
12
  emptyHosts: zod_1.default.array(zod_1.default.string()).min(1),
13
13
  emptyInternalSquads: zod_1.default.array(zod_1.default.string()).min(1),
14
+ HWIDMaxDevicesExceeded: zod_1.default.array(zod_1.default.string()).min(1),
15
+ HWIDNotSupported: zod_1.default.array(zod_1.default.string()).min(1),
14
16
  });
@@ -13,18 +13,24 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
13
13
  disabledUsers: z.ZodArray<z.ZodString, "many">;
14
14
  emptyHosts: z.ZodArray<z.ZodString, "many">;
15
15
  emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
16
+ HWIDMaxDevicesExceeded: z.ZodArray<z.ZodString, "many">;
17
+ HWIDNotSupported: z.ZodArray<z.ZodString, "many">;
16
18
  }, "strip", z.ZodTypeAny, {
17
19
  expiredUsers: string[];
18
20
  limitedUsers: string[];
19
21
  disabledUsers: string[];
20
22
  emptyHosts: string[];
21
23
  emptyInternalSquads: string[];
24
+ HWIDMaxDevicesExceeded: string[];
25
+ HWIDNotSupported: string[];
22
26
  }, {
23
27
  expiredUsers: string[];
24
28
  limitedUsers: string[];
25
29
  disabledUsers: string[];
26
30
  emptyHosts: string[];
27
31
  emptyInternalSquads: string[];
32
+ HWIDMaxDevicesExceeded: string[];
33
+ HWIDNotSupported: string[];
28
34
  }>;
29
35
  happAnnounce: z.ZodNullable<z.ZodString>;
30
36
  happRouting: z.ZodNullable<z.ZodString>;
@@ -222,6 +228,8 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
222
228
  disabledUsers: string[];
223
229
  emptyHosts: string[];
224
230
  emptyInternalSquads: string[];
231
+ HWIDMaxDevicesExceeded: string[];
232
+ HWIDNotSupported: string[];
225
233
  };
226
234
  happAnnounce: string | null;
227
235
  happRouting: string | null;
@@ -271,6 +279,8 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
271
279
  disabledUsers: string[];
272
280
  emptyHosts: string[];
273
281
  emptyInternalSquads: string[];
282
+ HWIDMaxDevicesExceeded: string[];
283
+ HWIDNotSupported: string[];
274
284
  };
275
285
  happAnnounce: string | null;
276
286
  happRouting: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-settings.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCrC,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;AAMxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCrC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import z from 'zod';
2
2
  export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
3
3
  scope: z.ZodLiteral<"user">;
4
- event: z.ZodEnum<["user.created", ...("user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected")[]]>;
4
+ event: z.ZodEnum<["user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected", ...("user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected")[]]>;
5
5
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
6
6
  data: z.ZodObject<{
7
7
  uuid: z.ZodString;
@@ -244,7 +244,7 @@ export declare const RemnawaveWebhookUserEvents: z.ZodObject<{
244
244
  }>;
245
245
  export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
246
246
  scope: z.ZodLiteral<"user_hwid_devices">;
247
- event: z.ZodEnum<["user_hwid_devices.added", ...("user_hwid_devices.added" | "user_hwid_devices.deleted")[]]>;
247
+ event: z.ZodEnum<["user_hwid_devices.added" | "user_hwid_devices.deleted", ...("user_hwid_devices.added" | "user_hwid_devices.deleted")[]]>;
248
248
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
249
249
  data: z.ZodObject<{
250
250
  user: z.ZodObject<{
@@ -626,7 +626,7 @@ export declare const RemnawaveWebhookUserHwidDevicesEvents: z.ZodObject<{
626
626
  }>;
627
627
  export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
628
628
  scope: z.ZodLiteral<"node">;
629
- event: z.ZodEnum<["node.created", ...("node.created" | "node.modified" | "node.disabled" | "node.enabled" | "node.deleted" | "node.connection_lost" | "node.connection_restored" | "node.traffic_notify")[]]>;
629
+ event: z.ZodEnum<["node.created" | "node.modified" | "node.disabled" | "node.enabled" | "node.deleted" | "node.connection_lost" | "node.connection_restored" | "node.traffic_notify", ...("node.created" | "node.modified" | "node.disabled" | "node.enabled" | "node.deleted" | "node.connection_lost" | "node.connection_restored" | "node.traffic_notify")[]]>;
630
630
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
631
631
  data: z.ZodObject<{
632
632
  uuid: z.ZodString;
@@ -948,7 +948,7 @@ export declare const RemnawaveWebhookNodeEvents: z.ZodObject<{
948
948
  }>;
949
949
  export declare const RemnawaveWebhookServiceEvents: z.ZodObject<{
950
950
  scope: z.ZodLiteral<"service">;
951
- event: z.ZodEnum<["service.panel_started", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success")[]]>;
951
+ event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success")[]]>;
952
952
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
953
953
  data: z.ZodObject<{
954
954
  loginAttempt: z.ZodOptional<z.ZodObject<{
@@ -1047,7 +1047,7 @@ export declare const RemnawaveWebhookErrorsEvents: z.ZodObject<{
1047
1047
  }>;
1048
1048
  export declare const RemnawaveWebhookCrmEvents: z.ZodObject<{
1049
1049
  scope: z.ZodLiteral<"crm">;
1050
- event: z.ZodEnum<["crm.infra_billing_node_payment_in_7_days", ...("crm.infra_billing_node_payment_in_7_days" | "crm.infra_billing_node_payment_in_48hrs" | "crm.infra_billing_node_payment_in_24hrs" | "crm.infra_billing_node_payment_due_today" | "crm.infra_billing_node_payment_overdue_24hrs" | "crm.infra_billing_node_payment_overdue_48hrs" | "crm.infra_billing_node_payment_overdue_7_days")[]]>;
1050
+ event: z.ZodEnum<["crm.infra_billing_node_payment_in_7_days" | "crm.infra_billing_node_payment_in_48hrs" | "crm.infra_billing_node_payment_in_24hrs" | "crm.infra_billing_node_payment_due_today" | "crm.infra_billing_node_payment_overdue_24hrs" | "crm.infra_billing_node_payment_overdue_48hrs" | "crm.infra_billing_node_payment_overdue_7_days", ...("crm.infra_billing_node_payment_in_7_days" | "crm.infra_billing_node_payment_in_48hrs" | "crm.infra_billing_node_payment_in_24hrs" | "crm.infra_billing_node_payment_due_today" | "crm.infra_billing_node_payment_overdue_24hrs" | "crm.infra_billing_node_payment_overdue_48hrs" | "crm.infra_billing_node_payment_overdue_7_days")[]]>;
1051
1051
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
1052
1052
  data: z.ZodObject<{
1053
1053
  providerName: z.ZodString;
@@ -1088,7 +1088,7 @@ export declare const RemnawaveWebhookCrmEvents: z.ZodObject<{
1088
1088
  }>;
1089
1089
  export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope", [z.ZodObject<{
1090
1090
  scope: z.ZodLiteral<"user">;
1091
- event: z.ZodEnum<["user.created", ...("user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected")[]]>;
1091
+ event: z.ZodEnum<["user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected", ...("user.created" | "user.modified" | "user.deleted" | "user.revoked" | "user.disabled" | "user.enabled" | "user.limited" | "user.expired" | "user.traffic_reset" | "user.expires_in_72_hours" | "user.expires_in_48_hours" | "user.expires_in_24_hours" | "user.expired_24_hours_ago" | "user.first_connected" | "user.bandwidth_usage_threshold_reached" | "user.not_connected")[]]>;
1092
1092
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
1093
1093
  data: z.ZodObject<{
1094
1094
  uuid: z.ZodString;
@@ -1330,7 +1330,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
1330
1330
  } | null;
1331
1331
  }>, z.ZodObject<{
1332
1332
  scope: z.ZodLiteral<"user_hwid_devices">;
1333
- event: z.ZodEnum<["user_hwid_devices.added", ...("user_hwid_devices.added" | "user_hwid_devices.deleted")[]]>;
1333
+ event: z.ZodEnum<["user_hwid_devices.added" | "user_hwid_devices.deleted", ...("user_hwid_devices.added" | "user_hwid_devices.deleted")[]]>;
1334
1334
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
1335
1335
  data: z.ZodObject<{
1336
1336
  user: z.ZodObject<{
@@ -1711,7 +1711,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
1711
1711
  timestamp: string;
1712
1712
  }>, z.ZodObject<{
1713
1713
  scope: z.ZodLiteral<"node">;
1714
- event: z.ZodEnum<["node.created", ...("node.created" | "node.modified" | "node.disabled" | "node.enabled" | "node.deleted" | "node.connection_lost" | "node.connection_restored" | "node.traffic_notify")[]]>;
1714
+ event: z.ZodEnum<["node.created" | "node.modified" | "node.disabled" | "node.enabled" | "node.deleted" | "node.connection_lost" | "node.connection_restored" | "node.traffic_notify", ...("node.created" | "node.modified" | "node.disabled" | "node.enabled" | "node.deleted" | "node.connection_lost" | "node.connection_restored" | "node.traffic_notify")[]]>;
1715
1715
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
1716
1716
  data: z.ZodObject<{
1717
1717
  uuid: z.ZodString;
@@ -2032,7 +2032,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
2032
2032
  timestamp: string;
2033
2033
  }>, z.ZodObject<{
2034
2034
  scope: z.ZodLiteral<"service">;
2035
- event: z.ZodEnum<["service.panel_started", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success")[]]>;
2035
+ event: z.ZodEnum<["service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success", ...("service.panel_started" | "service.login_attempt_failed" | "service.login_attempt_success")[]]>;
2036
2036
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
2037
2037
  data: z.ZodObject<{
2038
2038
  loginAttempt: z.ZodOptional<z.ZodObject<{
@@ -2129,7 +2129,7 @@ export declare const RemnawaveWebhookEventSchema: z.ZodDiscriminatedUnion<"scope
2129
2129
  timestamp: string;
2130
2130
  }>, z.ZodObject<{
2131
2131
  scope: z.ZodLiteral<"crm">;
2132
- event: z.ZodEnum<["crm.infra_billing_node_payment_in_7_days", ...("crm.infra_billing_node_payment_in_7_days" | "crm.infra_billing_node_payment_in_48hrs" | "crm.infra_billing_node_payment_in_24hrs" | "crm.infra_billing_node_payment_due_today" | "crm.infra_billing_node_payment_overdue_24hrs" | "crm.infra_billing_node_payment_overdue_48hrs" | "crm.infra_billing_node_payment_overdue_7_days")[]]>;
2132
+ event: z.ZodEnum<["crm.infra_billing_node_payment_in_7_days" | "crm.infra_billing_node_payment_in_48hrs" | "crm.infra_billing_node_payment_in_24hrs" | "crm.infra_billing_node_payment_due_today" | "crm.infra_billing_node_payment_overdue_24hrs" | "crm.infra_billing_node_payment_overdue_48hrs" | "crm.infra_billing_node_payment_overdue_7_days", ...("crm.infra_billing_node_payment_in_7_days" | "crm.infra_billing_node_payment_in_48hrs" | "crm.infra_billing_node_payment_in_24hrs" | "crm.infra_billing_node_payment_due_today" | "crm.infra_billing_node_payment_overdue_24hrs" | "crm.infra_billing_node_payment_overdue_48hrs" | "crm.infra_billing_node_payment_overdue_7_days")[]]>;
2133
2133
  timestamp: z.ZodEffects<z.ZodString, Date, string>;
2134
2134
  data: z.ZodObject<{
2135
2135
  providerName: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"webhook.schema.d.ts","sourceRoot":"","sources":["../../../../models/webhook/webhook.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAarC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,OAAO,0BAA0B,CAAC,CAAC;AACpF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAC1F,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACxF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAClF,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,qCAAqC,CAC/C,CAAC"}
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.RemnawaveWebhookEventSchema = exports.RemnawaveWebhookCrmEvents = exports.RemnawaveWebhookErrorsEvents = exports.RemnawaveWebhookServiceEvents = exports.RemnawaveWebhookNodeEvents = exports.RemnawaveWebhookUserHwidDevicesEvents = exports.RemnawaveWebhookUserEvents = void 0;
7
7
  const zod_1 = __importDefault(require("zod"));
8
+ const constants_1 = require("../../constants");
8
9
  const hwid_user_device_schema_1 = require("../hwid-user-device.schema");
9
10
  const extended_users_schema_1 = require("../extended-users.schema");
10
- const constants_1 = require("../../constants");
11
11
  const nodes_schema_1 = require("../nodes.schema");
12
12
  exports.RemnawaveWebhookUserEvents = zod_1.default.object({
13
13
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.USER),
14
- event: zod_1.default.enum([constants_1.EVENTS.USER.CREATED, ...Object.values(constants_1.EVENTS.USER)]),
14
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.USER)),
15
15
  timestamp: zod_1.default
16
16
  .string()
17
17
  .datetime()
@@ -25,7 +25,7 @@ exports.RemnawaveWebhookUserEvents = zod_1.default.object({
25
25
  });
26
26
  exports.RemnawaveWebhookUserHwidDevicesEvents = zod_1.default.object({
27
27
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.USER_HWID_DEVICES),
28
- event: zod_1.default.enum([constants_1.EVENTS.USER_HWID_DEVICES.ADDED, ...Object.values(constants_1.EVENTS.USER_HWID_DEVICES)]),
28
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.USER_HWID_DEVICES)),
29
29
  timestamp: zod_1.default
30
30
  .string()
31
31
  .datetime()
@@ -37,7 +37,7 @@ exports.RemnawaveWebhookUserHwidDevicesEvents = zod_1.default.object({
37
37
  });
38
38
  exports.RemnawaveWebhookNodeEvents = zod_1.default.object({
39
39
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.NODE),
40
- event: zod_1.default.enum([constants_1.EVENTS.NODE.CREATED, ...Object.values(constants_1.EVENTS.NODE)]),
40
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.NODE)),
41
41
  timestamp: zod_1.default
42
42
  .string()
43
43
  .datetime()
@@ -46,7 +46,7 @@ exports.RemnawaveWebhookNodeEvents = zod_1.default.object({
46
46
  });
47
47
  exports.RemnawaveWebhookServiceEvents = zod_1.default.object({
48
48
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.SERVICE),
49
- event: zod_1.default.enum([constants_1.EVENTS.SERVICE.PANEL_STARTED, ...Object.values(constants_1.EVENTS.SERVICE)]),
49
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.SERVICE)),
50
50
  timestamp: zod_1.default
51
51
  .string()
52
52
  .datetime()
@@ -66,10 +66,7 @@ exports.RemnawaveWebhookServiceEvents = zod_1.default.object({
66
66
  });
67
67
  exports.RemnawaveWebhookErrorsEvents = zod_1.default.object({
68
68
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.ERRORS),
69
- event: zod_1.default.enum([
70
- constants_1.EVENTS.ERRORS.BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS,
71
- ...Object.values(constants_1.EVENTS.ERRORS),
72
- ]),
69
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.ERRORS)),
73
70
  timestamp: zod_1.default
74
71
  .string()
75
72
  .datetime()
@@ -80,7 +77,7 @@ exports.RemnawaveWebhookErrorsEvents = zod_1.default.object({
80
77
  });
81
78
  exports.RemnawaveWebhookCrmEvents = zod_1.default.object({
82
79
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.CRM),
83
- event: zod_1.default.enum([constants_1.EVENTS.CRM.INFRA_BILLING_NODE_PAYMENT_IN_7_DAYS, ...Object.values(constants_1.EVENTS.CRM)]),
80
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.CRM)),
84
81
  timestamp: zod_1.default
85
82
  .string()
86
83
  .datetime()
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EVENTS_SCOPES = exports.EVENTS = void 0;
3
+ exports.toZodEnum = exports.EVENTS_SCOPES = exports.EVENTS = void 0;
4
4
  exports.EVENTS = {
5
5
  USER: {
6
6
  CREATED: 'user.created',
@@ -79,3 +79,5 @@ exports.EVENTS_SCOPES = {
79
79
  ERRORS: 'errors',
80
80
  CRM: 'crm',
81
81
  };
82
+ const toZodEnum = (obj) => Object.values(obj);
83
+ exports.toZodEnum = toZodEnum;
@@ -11,4 +11,6 @@ exports.CustomRemarksSchema = zod_1.default.object({
11
11
  disabledUsers: zod_1.default.array(zod_1.default.string()).min(1),
12
12
  emptyHosts: zod_1.default.array(zod_1.default.string()).min(1),
13
13
  emptyInternalSquads: zod_1.default.array(zod_1.default.string()).min(1),
14
+ HWIDMaxDevicesExceeded: zod_1.default.array(zod_1.default.string()).min(1),
15
+ HWIDNotSupported: zod_1.default.array(zod_1.default.string()).min(1),
14
16
  });
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.RemnawaveWebhookEventSchema = exports.RemnawaveWebhookCrmEvents = exports.RemnawaveWebhookErrorsEvents = exports.RemnawaveWebhookServiceEvents = exports.RemnawaveWebhookNodeEvents = exports.RemnawaveWebhookUserHwidDevicesEvents = exports.RemnawaveWebhookUserEvents = void 0;
7
7
  const zod_1 = __importDefault(require("zod"));
8
+ const constants_1 = require("../../constants");
8
9
  const hwid_user_device_schema_1 = require("../hwid-user-device.schema");
9
10
  const extended_users_schema_1 = require("../extended-users.schema");
10
- const constants_1 = require("../../constants");
11
11
  const nodes_schema_1 = require("../nodes.schema");
12
12
  exports.RemnawaveWebhookUserEvents = zod_1.default.object({
13
13
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.USER),
14
- event: zod_1.default.enum([constants_1.EVENTS.USER.CREATED, ...Object.values(constants_1.EVENTS.USER)]),
14
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.USER)),
15
15
  timestamp: zod_1.default
16
16
  .string()
17
17
  .datetime()
@@ -25,7 +25,7 @@ exports.RemnawaveWebhookUserEvents = zod_1.default.object({
25
25
  });
26
26
  exports.RemnawaveWebhookUserHwidDevicesEvents = zod_1.default.object({
27
27
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.USER_HWID_DEVICES),
28
- event: zod_1.default.enum([constants_1.EVENTS.USER_HWID_DEVICES.ADDED, ...Object.values(constants_1.EVENTS.USER_HWID_DEVICES)]),
28
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.USER_HWID_DEVICES)),
29
29
  timestamp: zod_1.default
30
30
  .string()
31
31
  .datetime()
@@ -37,7 +37,7 @@ exports.RemnawaveWebhookUserHwidDevicesEvents = zod_1.default.object({
37
37
  });
38
38
  exports.RemnawaveWebhookNodeEvents = zod_1.default.object({
39
39
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.NODE),
40
- event: zod_1.default.enum([constants_1.EVENTS.NODE.CREATED, ...Object.values(constants_1.EVENTS.NODE)]),
40
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.NODE)),
41
41
  timestamp: zod_1.default
42
42
  .string()
43
43
  .datetime()
@@ -46,7 +46,7 @@ exports.RemnawaveWebhookNodeEvents = zod_1.default.object({
46
46
  });
47
47
  exports.RemnawaveWebhookServiceEvents = zod_1.default.object({
48
48
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.SERVICE),
49
- event: zod_1.default.enum([constants_1.EVENTS.SERVICE.PANEL_STARTED, ...Object.values(constants_1.EVENTS.SERVICE)]),
49
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.SERVICE)),
50
50
  timestamp: zod_1.default
51
51
  .string()
52
52
  .datetime()
@@ -66,10 +66,7 @@ exports.RemnawaveWebhookServiceEvents = zod_1.default.object({
66
66
  });
67
67
  exports.RemnawaveWebhookErrorsEvents = zod_1.default.object({
68
68
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.ERRORS),
69
- event: zod_1.default.enum([
70
- constants_1.EVENTS.ERRORS.BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS,
71
- ...Object.values(constants_1.EVENTS.ERRORS),
72
- ]),
69
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.ERRORS)),
73
70
  timestamp: zod_1.default
74
71
  .string()
75
72
  .datetime()
@@ -80,7 +77,7 @@ exports.RemnawaveWebhookErrorsEvents = zod_1.default.object({
80
77
  });
81
78
  exports.RemnawaveWebhookCrmEvents = zod_1.default.object({
82
79
  scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.CRM),
83
- event: zod_1.default.enum([constants_1.EVENTS.CRM.INFRA_BILLING_NODE_PAYMENT_IN_7_DAYS, ...Object.values(constants_1.EVENTS.CRM)]),
80
+ event: zod_1.default.enum((0, constants_1.toZodEnum)(constants_1.EVENTS.CRM)),
84
81
  timestamp: zod_1.default
85
82
  .string()
86
83
  .datetime()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.5.2",
3
+ "version": "2.5.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.",