@remnawave/backend-contract 2.3.16 → 2.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +80 -0
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +47 -0
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +47 -0
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +61 -0
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +80 -0
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts.map +1 -1
- package/build/backend/commands/external-squads/update-external-squad.command.js +1 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +47 -15
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +81 -25
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +2 -4
- package/build/backend/models/external-squad.schema.d.ts +33 -0
- package/build/backend/models/external-squad.schema.d.ts.map +1 -1
- package/build/backend/models/external-squad.schema.js +3 -2
- package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts +22 -0
- package/build/backend/models/subscription-settings/custom-remarks.schema.d.ts.map +1 -0
- package/build/backend/models/subscription-settings/custom-remarks.schema.js +14 -0
- package/build/backend/models/subscription-settings/index.d.ts +1 -0
- package/build/backend/models/subscription-settings/index.d.ts.map +1 -1
- package/build/backend/models/subscription-settings/index.js +1 -0
- package/build/backend/models/subscription-settings.schema.d.ts +33 -9
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.js +2 -3
- package/build/frontend/commands/external-squads/update-external-squad.command.js +1 -0
- package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +2 -4
- package/build/frontend/models/external-squad.schema.js +3 -2
- package/build/frontend/models/subscription-settings/custom-remarks.schema.js +14 -0
- package/build/frontend/models/subscription-settings/index.js +1 -0
- package/build/frontend/models/subscription-settings.schema.js +2 -3
- package/package.json +1 -1
|
@@ -90,6 +90,25 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
90
90
|
fallbackDeviceLimit: number;
|
|
91
91
|
maxDevicesAnnounce: string | null;
|
|
92
92
|
}>>;
|
|
93
|
+
customRemarks: z.ZodNullable<z.ZodObject<{
|
|
94
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
95
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
96
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
97
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
98
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
expiredUsers: string[];
|
|
101
|
+
limitedUsers: string[];
|
|
102
|
+
disabledUsers: string[];
|
|
103
|
+
emptyHosts: string[];
|
|
104
|
+
emptyInternalSquads: string[];
|
|
105
|
+
}, {
|
|
106
|
+
expiredUsers: string[];
|
|
107
|
+
limitedUsers: string[];
|
|
108
|
+
disabledUsers: string[];
|
|
109
|
+
emptyHosts: string[];
|
|
110
|
+
emptyInternalSquads: string[];
|
|
111
|
+
}>>;
|
|
93
112
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
94
113
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
95
114
|
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
|
@@ -200,6 +219,25 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
200
219
|
fallbackDeviceLimit: number;
|
|
201
220
|
maxDevicesAnnounce: string | null;
|
|
202
221
|
}>>;
|
|
222
|
+
customRemarks: z.ZodNullable<z.ZodObject<{
|
|
223
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
224
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
225
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
226
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
227
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
expiredUsers: string[];
|
|
230
|
+
limitedUsers: string[];
|
|
231
|
+
disabledUsers: string[];
|
|
232
|
+
emptyHosts: string[];
|
|
233
|
+
emptyInternalSquads: string[];
|
|
234
|
+
}, {
|
|
235
|
+
expiredUsers: string[];
|
|
236
|
+
limitedUsers: string[];
|
|
237
|
+
disabledUsers: string[];
|
|
238
|
+
emptyHosts: string[];
|
|
239
|
+
emptyInternalSquads: string[];
|
|
240
|
+
}>>;
|
|
203
241
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
204
242
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
205
243
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -208,6 +246,13 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
208
246
|
updatedAt: Date;
|
|
209
247
|
name: string;
|
|
210
248
|
viewPosition: number;
|
|
249
|
+
customRemarks: {
|
|
250
|
+
expiredUsers: string[];
|
|
251
|
+
limitedUsers: string[];
|
|
252
|
+
disabledUsers: string[];
|
|
253
|
+
emptyHosts: string[];
|
|
254
|
+
emptyInternalSquads: string[];
|
|
255
|
+
} | null;
|
|
211
256
|
hwidSettings: {
|
|
212
257
|
enabled: boolean;
|
|
213
258
|
fallbackDeviceLimit: number;
|
|
@@ -243,6 +288,13 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
243
288
|
updatedAt: string;
|
|
244
289
|
name: string;
|
|
245
290
|
viewPosition: number;
|
|
291
|
+
customRemarks: {
|
|
292
|
+
expiredUsers: string[];
|
|
293
|
+
limitedUsers: string[];
|
|
294
|
+
disabledUsers: string[];
|
|
295
|
+
emptyHosts: string[];
|
|
296
|
+
emptyInternalSquads: string[];
|
|
297
|
+
} | null;
|
|
246
298
|
hwidSettings: {
|
|
247
299
|
enabled: boolean;
|
|
248
300
|
fallbackDeviceLimit: number;
|
|
@@ -281,6 +333,13 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
281
333
|
updatedAt: Date;
|
|
282
334
|
name: string;
|
|
283
335
|
viewPosition: number;
|
|
336
|
+
customRemarks: {
|
|
337
|
+
expiredUsers: string[];
|
|
338
|
+
limitedUsers: string[];
|
|
339
|
+
disabledUsers: string[];
|
|
340
|
+
emptyHosts: string[];
|
|
341
|
+
emptyInternalSquads: string[];
|
|
342
|
+
} | null;
|
|
284
343
|
hwidSettings: {
|
|
285
344
|
enabled: boolean;
|
|
286
345
|
fallbackDeviceLimit: number;
|
|
@@ -319,6 +378,13 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
319
378
|
updatedAt: string;
|
|
320
379
|
name: string;
|
|
321
380
|
viewPosition: number;
|
|
381
|
+
customRemarks: {
|
|
382
|
+
expiredUsers: string[];
|
|
383
|
+
limitedUsers: string[];
|
|
384
|
+
disabledUsers: string[];
|
|
385
|
+
emptyHosts: string[];
|
|
386
|
+
emptyInternalSquads: string[];
|
|
387
|
+
} | null;
|
|
322
388
|
hwidSettings: {
|
|
323
389
|
enabled: boolean;
|
|
324
390
|
fallbackDeviceLimit: number;
|
|
@@ -359,6 +425,13 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
359
425
|
updatedAt: Date;
|
|
360
426
|
name: string;
|
|
361
427
|
viewPosition: number;
|
|
428
|
+
customRemarks: {
|
|
429
|
+
expiredUsers: string[];
|
|
430
|
+
limitedUsers: string[];
|
|
431
|
+
disabledUsers: string[];
|
|
432
|
+
emptyHosts: string[];
|
|
433
|
+
emptyInternalSquads: string[];
|
|
434
|
+
} | null;
|
|
362
435
|
hwidSettings: {
|
|
363
436
|
enabled: boolean;
|
|
364
437
|
fallbackDeviceLimit: number;
|
|
@@ -399,6 +472,13 @@ export declare namespace ReorderExternalSquadCommand {
|
|
|
399
472
|
updatedAt: string;
|
|
400
473
|
name: string;
|
|
401
474
|
viewPosition: number;
|
|
475
|
+
customRemarks: {
|
|
476
|
+
expiredUsers: string[];
|
|
477
|
+
limitedUsers: string[];
|
|
478
|
+
disabledUsers: string[];
|
|
479
|
+
emptyHosts: string[];
|
|
480
|
+
emptyInternalSquads: string[];
|
|
481
|
+
} | null;
|
|
402
482
|
hwidSettings: {
|
|
403
483
|
enabled: boolean;
|
|
404
484
|
fallbackDeviceLimit: number;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -98,6 +98,25 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
98
98
|
fallbackDeviceLimit: number;
|
|
99
99
|
maxDevicesAnnounce: string | null;
|
|
100
100
|
}>>;
|
|
101
|
+
customRemarks: z.ZodNullable<z.ZodObject<{
|
|
102
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
103
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
104
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
105
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
106
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
expiredUsers: string[];
|
|
109
|
+
limitedUsers: string[];
|
|
110
|
+
disabledUsers: string[];
|
|
111
|
+
emptyHosts: string[];
|
|
112
|
+
emptyInternalSquads: string[];
|
|
113
|
+
}, {
|
|
114
|
+
expiredUsers: string[];
|
|
115
|
+
limitedUsers: string[];
|
|
116
|
+
disabledUsers: string[];
|
|
117
|
+
emptyHosts: string[];
|
|
118
|
+
emptyInternalSquads: string[];
|
|
119
|
+
}>>;
|
|
101
120
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
102
121
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
103
122
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -106,6 +125,13 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
106
125
|
updatedAt: Date;
|
|
107
126
|
name: string;
|
|
108
127
|
viewPosition: number;
|
|
128
|
+
customRemarks: {
|
|
129
|
+
expiredUsers: string[];
|
|
130
|
+
limitedUsers: string[];
|
|
131
|
+
disabledUsers: string[];
|
|
132
|
+
emptyHosts: string[];
|
|
133
|
+
emptyInternalSquads: string[];
|
|
134
|
+
} | null;
|
|
109
135
|
hwidSettings: {
|
|
110
136
|
enabled: boolean;
|
|
111
137
|
fallbackDeviceLimit: number;
|
|
@@ -141,6 +167,13 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
141
167
|
updatedAt: string;
|
|
142
168
|
name: string;
|
|
143
169
|
viewPosition: number;
|
|
170
|
+
customRemarks: {
|
|
171
|
+
expiredUsers: string[];
|
|
172
|
+
limitedUsers: string[];
|
|
173
|
+
disabledUsers: string[];
|
|
174
|
+
emptyHosts: string[];
|
|
175
|
+
emptyInternalSquads: string[];
|
|
176
|
+
} | null;
|
|
144
177
|
hwidSettings: {
|
|
145
178
|
enabled: boolean;
|
|
146
179
|
fallbackDeviceLimit: number;
|
|
@@ -178,6 +211,13 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
178
211
|
updatedAt: Date;
|
|
179
212
|
name: string;
|
|
180
213
|
viewPosition: number;
|
|
214
|
+
customRemarks: {
|
|
215
|
+
expiredUsers: string[];
|
|
216
|
+
limitedUsers: string[];
|
|
217
|
+
disabledUsers: string[];
|
|
218
|
+
emptyHosts: string[];
|
|
219
|
+
emptyInternalSquads: string[];
|
|
220
|
+
} | null;
|
|
181
221
|
hwidSettings: {
|
|
182
222
|
enabled: boolean;
|
|
183
223
|
fallbackDeviceLimit: number;
|
|
@@ -215,6 +255,13 @@ export declare namespace CreateExternalSquadCommand {
|
|
|
215
255
|
updatedAt: string;
|
|
216
256
|
name: string;
|
|
217
257
|
viewPosition: number;
|
|
258
|
+
customRemarks: {
|
|
259
|
+
expiredUsers: string[];
|
|
260
|
+
limitedUsers: string[];
|
|
261
|
+
disabledUsers: string[];
|
|
262
|
+
emptyHosts: string[];
|
|
263
|
+
emptyInternalSquads: string[];
|
|
264
|
+
} | null;
|
|
218
265
|
hwidSettings: {
|
|
219
266
|
enabled: boolean;
|
|
220
267
|
fallbackDeviceLimit: number;
|
|
@@ -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
|
|
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"}
|
|
@@ -98,6 +98,25 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
98
98
|
fallbackDeviceLimit: number;
|
|
99
99
|
maxDevicesAnnounce: string | null;
|
|
100
100
|
}>>;
|
|
101
|
+
customRemarks: z.ZodNullable<z.ZodObject<{
|
|
102
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
103
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
104
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
105
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
106
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
expiredUsers: string[];
|
|
109
|
+
limitedUsers: string[];
|
|
110
|
+
disabledUsers: string[];
|
|
111
|
+
emptyHosts: string[];
|
|
112
|
+
emptyInternalSquads: string[];
|
|
113
|
+
}, {
|
|
114
|
+
expiredUsers: string[];
|
|
115
|
+
limitedUsers: string[];
|
|
116
|
+
disabledUsers: string[];
|
|
117
|
+
emptyHosts: string[];
|
|
118
|
+
emptyInternalSquads: string[];
|
|
119
|
+
}>>;
|
|
101
120
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
102
121
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
103
122
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -106,6 +125,13 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
106
125
|
updatedAt: Date;
|
|
107
126
|
name: string;
|
|
108
127
|
viewPosition: number;
|
|
128
|
+
customRemarks: {
|
|
129
|
+
expiredUsers: string[];
|
|
130
|
+
limitedUsers: string[];
|
|
131
|
+
disabledUsers: string[];
|
|
132
|
+
emptyHosts: string[];
|
|
133
|
+
emptyInternalSquads: string[];
|
|
134
|
+
} | null;
|
|
109
135
|
hwidSettings: {
|
|
110
136
|
enabled: boolean;
|
|
111
137
|
fallbackDeviceLimit: number;
|
|
@@ -141,6 +167,13 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
141
167
|
updatedAt: string;
|
|
142
168
|
name: string;
|
|
143
169
|
viewPosition: number;
|
|
170
|
+
customRemarks: {
|
|
171
|
+
expiredUsers: string[];
|
|
172
|
+
limitedUsers: string[];
|
|
173
|
+
disabledUsers: string[];
|
|
174
|
+
emptyHosts: string[];
|
|
175
|
+
emptyInternalSquads: string[];
|
|
176
|
+
} | null;
|
|
144
177
|
hwidSettings: {
|
|
145
178
|
enabled: boolean;
|
|
146
179
|
fallbackDeviceLimit: number;
|
|
@@ -178,6 +211,13 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
178
211
|
updatedAt: Date;
|
|
179
212
|
name: string;
|
|
180
213
|
viewPosition: number;
|
|
214
|
+
customRemarks: {
|
|
215
|
+
expiredUsers: string[];
|
|
216
|
+
limitedUsers: string[];
|
|
217
|
+
disabledUsers: string[];
|
|
218
|
+
emptyHosts: string[];
|
|
219
|
+
emptyInternalSquads: string[];
|
|
220
|
+
} | null;
|
|
181
221
|
hwidSettings: {
|
|
182
222
|
enabled: boolean;
|
|
183
223
|
fallbackDeviceLimit: number;
|
|
@@ -215,6 +255,13 @@ export declare namespace GetExternalSquadByUuidCommand {
|
|
|
215
255
|
updatedAt: string;
|
|
216
256
|
name: string;
|
|
217
257
|
viewPosition: number;
|
|
258
|
+
customRemarks: {
|
|
259
|
+
expiredUsers: string[];
|
|
260
|
+
limitedUsers: string[];
|
|
261
|
+
disabledUsers: string[];
|
|
262
|
+
emptyHosts: string[];
|
|
263
|
+
emptyInternalSquads: string[];
|
|
264
|
+
} | null;
|
|
218
265
|
hwidSettings: {
|
|
219
266
|
enabled: boolean;
|
|
220
267
|
fallbackDeviceLimit: number;
|
|
@@ -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
|
|
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"}
|
|
@@ -92,6 +92,25 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
92
92
|
fallbackDeviceLimit: number;
|
|
93
93
|
maxDevicesAnnounce: string | null;
|
|
94
94
|
}>>;
|
|
95
|
+
customRemarks: z.ZodNullable<z.ZodObject<{
|
|
96
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
97
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
98
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
99
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
100
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
expiredUsers: string[];
|
|
103
|
+
limitedUsers: string[];
|
|
104
|
+
disabledUsers: string[];
|
|
105
|
+
emptyHosts: string[];
|
|
106
|
+
emptyInternalSquads: string[];
|
|
107
|
+
}, {
|
|
108
|
+
expiredUsers: string[];
|
|
109
|
+
limitedUsers: string[];
|
|
110
|
+
disabledUsers: string[];
|
|
111
|
+
emptyHosts: string[];
|
|
112
|
+
emptyInternalSquads: string[];
|
|
113
|
+
}>>;
|
|
95
114
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
96
115
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
97
116
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -100,6 +119,13 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
100
119
|
updatedAt: Date;
|
|
101
120
|
name: string;
|
|
102
121
|
viewPosition: number;
|
|
122
|
+
customRemarks: {
|
|
123
|
+
expiredUsers: string[];
|
|
124
|
+
limitedUsers: string[];
|
|
125
|
+
disabledUsers: string[];
|
|
126
|
+
emptyHosts: string[];
|
|
127
|
+
emptyInternalSquads: string[];
|
|
128
|
+
} | null;
|
|
103
129
|
hwidSettings: {
|
|
104
130
|
enabled: boolean;
|
|
105
131
|
fallbackDeviceLimit: number;
|
|
@@ -135,6 +161,13 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
135
161
|
updatedAt: string;
|
|
136
162
|
name: string;
|
|
137
163
|
viewPosition: number;
|
|
164
|
+
customRemarks: {
|
|
165
|
+
expiredUsers: string[];
|
|
166
|
+
limitedUsers: string[];
|
|
167
|
+
disabledUsers: string[];
|
|
168
|
+
emptyHosts: string[];
|
|
169
|
+
emptyInternalSquads: string[];
|
|
170
|
+
} | null;
|
|
138
171
|
hwidSettings: {
|
|
139
172
|
enabled: boolean;
|
|
140
173
|
fallbackDeviceLimit: number;
|
|
@@ -173,6 +206,13 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
173
206
|
updatedAt: Date;
|
|
174
207
|
name: string;
|
|
175
208
|
viewPosition: number;
|
|
209
|
+
customRemarks: {
|
|
210
|
+
expiredUsers: string[];
|
|
211
|
+
limitedUsers: string[];
|
|
212
|
+
disabledUsers: string[];
|
|
213
|
+
emptyHosts: string[];
|
|
214
|
+
emptyInternalSquads: string[];
|
|
215
|
+
} | null;
|
|
176
216
|
hwidSettings: {
|
|
177
217
|
enabled: boolean;
|
|
178
218
|
fallbackDeviceLimit: number;
|
|
@@ -211,6 +251,13 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
211
251
|
updatedAt: string;
|
|
212
252
|
name: string;
|
|
213
253
|
viewPosition: number;
|
|
254
|
+
customRemarks: {
|
|
255
|
+
expiredUsers: string[];
|
|
256
|
+
limitedUsers: string[];
|
|
257
|
+
disabledUsers: string[];
|
|
258
|
+
emptyHosts: string[];
|
|
259
|
+
emptyInternalSquads: string[];
|
|
260
|
+
} | null;
|
|
214
261
|
hwidSettings: {
|
|
215
262
|
enabled: boolean;
|
|
216
263
|
fallbackDeviceLimit: number;
|
|
@@ -251,6 +298,13 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
251
298
|
updatedAt: Date;
|
|
252
299
|
name: string;
|
|
253
300
|
viewPosition: number;
|
|
301
|
+
customRemarks: {
|
|
302
|
+
expiredUsers: string[];
|
|
303
|
+
limitedUsers: string[];
|
|
304
|
+
disabledUsers: string[];
|
|
305
|
+
emptyHosts: string[];
|
|
306
|
+
emptyInternalSquads: string[];
|
|
307
|
+
} | null;
|
|
254
308
|
hwidSettings: {
|
|
255
309
|
enabled: boolean;
|
|
256
310
|
fallbackDeviceLimit: number;
|
|
@@ -291,6 +345,13 @@ export declare namespace GetExternalSquadsCommand {
|
|
|
291
345
|
updatedAt: string;
|
|
292
346
|
name: string;
|
|
293
347
|
viewPosition: number;
|
|
348
|
+
customRemarks: {
|
|
349
|
+
expiredUsers: string[];
|
|
350
|
+
limitedUsers: string[];
|
|
351
|
+
disabledUsers: string[];
|
|
352
|
+
emptyHosts: string[];
|
|
353
|
+
emptyInternalSquads: string[];
|
|
354
|
+
} | null;
|
|
294
355
|
hwidSettings: {
|
|
295
356
|
enabled: boolean;
|
|
296
357
|
fallbackDeviceLimit: number;
|
|
@@ -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
|
|
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"}
|
|
@@ -81,9 +81,35 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
81
81
|
fallbackDeviceLimit: number;
|
|
82
82
|
maxDevicesAnnounce: string | null;
|
|
83
83
|
}>>>;
|
|
84
|
+
customRemarks: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
85
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
86
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
87
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
88
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
89
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
expiredUsers: string[];
|
|
92
|
+
limitedUsers: string[];
|
|
93
|
+
disabledUsers: string[];
|
|
94
|
+
emptyHosts: string[];
|
|
95
|
+
emptyInternalSquads: string[];
|
|
96
|
+
}, {
|
|
97
|
+
expiredUsers: string[];
|
|
98
|
+
limitedUsers: string[];
|
|
99
|
+
disabledUsers: string[];
|
|
100
|
+
emptyHosts: string[];
|
|
101
|
+
emptyInternalSquads: string[];
|
|
102
|
+
}>>>;
|
|
84
103
|
}, "strip", z.ZodTypeAny, {
|
|
85
104
|
uuid: string;
|
|
86
105
|
name?: string | undefined;
|
|
106
|
+
customRemarks?: {
|
|
107
|
+
expiredUsers: string[];
|
|
108
|
+
limitedUsers: string[];
|
|
109
|
+
disabledUsers: string[];
|
|
110
|
+
emptyHosts: string[];
|
|
111
|
+
emptyInternalSquads: string[];
|
|
112
|
+
} | null | undefined;
|
|
87
113
|
hwidSettings?: {
|
|
88
114
|
enabled: boolean;
|
|
89
115
|
fallbackDeviceLimit: number;
|
|
@@ -113,6 +139,13 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
113
139
|
}, {
|
|
114
140
|
uuid: string;
|
|
115
141
|
name?: string | undefined;
|
|
142
|
+
customRemarks?: {
|
|
143
|
+
expiredUsers: string[];
|
|
144
|
+
limitedUsers: string[];
|
|
145
|
+
disabledUsers: string[];
|
|
146
|
+
emptyHosts: string[];
|
|
147
|
+
emptyInternalSquads: string[];
|
|
148
|
+
} | null | undefined;
|
|
116
149
|
hwidSettings?: {
|
|
117
150
|
enabled: boolean;
|
|
118
151
|
fallbackDeviceLimit: number;
|
|
@@ -228,6 +261,25 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
228
261
|
fallbackDeviceLimit: number;
|
|
229
262
|
maxDevicesAnnounce: string | null;
|
|
230
263
|
}>>;
|
|
264
|
+
customRemarks: z.ZodNullable<z.ZodObject<{
|
|
265
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
266
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
267
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
268
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
269
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
270
|
+
}, "strip", z.ZodTypeAny, {
|
|
271
|
+
expiredUsers: string[];
|
|
272
|
+
limitedUsers: string[];
|
|
273
|
+
disabledUsers: string[];
|
|
274
|
+
emptyHosts: string[];
|
|
275
|
+
emptyInternalSquads: string[];
|
|
276
|
+
}, {
|
|
277
|
+
expiredUsers: string[];
|
|
278
|
+
limitedUsers: string[];
|
|
279
|
+
disabledUsers: string[];
|
|
280
|
+
emptyHosts: string[];
|
|
281
|
+
emptyInternalSquads: string[];
|
|
282
|
+
}>>;
|
|
231
283
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
232
284
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
233
285
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -236,6 +288,13 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
236
288
|
updatedAt: Date;
|
|
237
289
|
name: string;
|
|
238
290
|
viewPosition: number;
|
|
291
|
+
customRemarks: {
|
|
292
|
+
expiredUsers: string[];
|
|
293
|
+
limitedUsers: string[];
|
|
294
|
+
disabledUsers: string[];
|
|
295
|
+
emptyHosts: string[];
|
|
296
|
+
emptyInternalSquads: string[];
|
|
297
|
+
} | null;
|
|
239
298
|
hwidSettings: {
|
|
240
299
|
enabled: boolean;
|
|
241
300
|
fallbackDeviceLimit: number;
|
|
@@ -271,6 +330,13 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
271
330
|
updatedAt: string;
|
|
272
331
|
name: string;
|
|
273
332
|
viewPosition: number;
|
|
333
|
+
customRemarks: {
|
|
334
|
+
expiredUsers: string[];
|
|
335
|
+
limitedUsers: string[];
|
|
336
|
+
disabledUsers: string[];
|
|
337
|
+
emptyHosts: string[];
|
|
338
|
+
emptyInternalSquads: string[];
|
|
339
|
+
} | null;
|
|
274
340
|
hwidSettings: {
|
|
275
341
|
enabled: boolean;
|
|
276
342
|
fallbackDeviceLimit: number;
|
|
@@ -308,6 +374,13 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
308
374
|
updatedAt: Date;
|
|
309
375
|
name: string;
|
|
310
376
|
viewPosition: number;
|
|
377
|
+
customRemarks: {
|
|
378
|
+
expiredUsers: string[];
|
|
379
|
+
limitedUsers: string[];
|
|
380
|
+
disabledUsers: string[];
|
|
381
|
+
emptyHosts: string[];
|
|
382
|
+
emptyInternalSquads: string[];
|
|
383
|
+
} | null;
|
|
311
384
|
hwidSettings: {
|
|
312
385
|
enabled: boolean;
|
|
313
386
|
fallbackDeviceLimit: number;
|
|
@@ -345,6 +418,13 @@ export declare namespace UpdateExternalSquadCommand {
|
|
|
345
418
|
updatedAt: string;
|
|
346
419
|
name: string;
|
|
347
420
|
viewPosition: number;
|
|
421
|
+
customRemarks: {
|
|
422
|
+
expiredUsers: string[];
|
|
423
|
+
limitedUsers: string[];
|
|
424
|
+
disabledUsers: string[];
|
|
425
|
+
emptyHosts: string[];
|
|
426
|
+
emptyInternalSquads: string[];
|
|
427
|
+
} | null;
|
|
348
428
|
hwidSettings: {
|
|
349
429
|
enabled: boolean;
|
|
350
430
|
fallbackDeviceLimit: number;
|
|
@@ -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;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwBxB,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"}
|
|
@@ -28,6 +28,7 @@ var UpdateExternalSquadCommand;
|
|
|
28
28
|
hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
|
|
29
29
|
responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
|
|
30
30
|
hwidSettings: zod_1.z.optional(zod_1.z.nullable(models_1.HwidSettingsSchema)),
|
|
31
|
+
customRemarks: zod_1.z.optional(zod_1.z.nullable(models_1.CustomRemarksSchema)),
|
|
31
32
|
});
|
|
32
33
|
UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
33
34
|
response: models_1.ExternalSquadSchema,
|
|
@@ -13,11 +13,27 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
13
13
|
serveJsonAtBaseSubscription: z.ZodBoolean;
|
|
14
14
|
addUsernameToBaseSubscription: z.ZodBoolean;
|
|
15
15
|
isShowCustomRemarks: z.ZodBoolean;
|
|
16
|
+
customRemarks: z.ZodObject<{
|
|
17
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
18
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
19
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
20
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
21
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
expiredUsers: string[];
|
|
24
|
+
limitedUsers: string[];
|
|
25
|
+
disabledUsers: string[];
|
|
26
|
+
emptyHosts: string[];
|
|
27
|
+
emptyInternalSquads: string[];
|
|
28
|
+
}, {
|
|
29
|
+
expiredUsers: string[];
|
|
30
|
+
limitedUsers: string[];
|
|
31
|
+
disabledUsers: string[];
|
|
32
|
+
emptyHosts: string[];
|
|
33
|
+
emptyInternalSquads: string[];
|
|
34
|
+
}>;
|
|
16
35
|
happAnnounce: z.ZodNullable<z.ZodString>;
|
|
17
36
|
happRouting: z.ZodNullable<z.ZodString>;
|
|
18
|
-
expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
19
|
-
limitedUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
20
|
-
disabledUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
21
37
|
customResponseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
22
38
|
randomizeHosts: z.ZodBoolean;
|
|
23
39
|
responseRules: z.ZodNullable<z.ZodObject<{
|
|
@@ -207,11 +223,15 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
207
223
|
serveJsonAtBaseSubscription: boolean;
|
|
208
224
|
addUsernameToBaseSubscription: boolean;
|
|
209
225
|
isShowCustomRemarks: boolean;
|
|
226
|
+
customRemarks: {
|
|
227
|
+
expiredUsers: string[];
|
|
228
|
+
limitedUsers: string[];
|
|
229
|
+
disabledUsers: string[];
|
|
230
|
+
emptyHosts: string[];
|
|
231
|
+
emptyInternalSquads: string[];
|
|
232
|
+
};
|
|
210
233
|
happAnnounce: string | null;
|
|
211
234
|
happRouting: string | null;
|
|
212
|
-
expiredUsersRemarks: string[];
|
|
213
|
-
limitedUsersRemarks: string[];
|
|
214
|
-
disabledUsersRemarks: string[];
|
|
215
235
|
customResponseHeaders: Record<string, string> | null;
|
|
216
236
|
randomizeHosts: boolean;
|
|
217
237
|
responseRules: {
|
|
@@ -253,11 +273,15 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
253
273
|
serveJsonAtBaseSubscription: boolean;
|
|
254
274
|
addUsernameToBaseSubscription: boolean;
|
|
255
275
|
isShowCustomRemarks: boolean;
|
|
276
|
+
customRemarks: {
|
|
277
|
+
expiredUsers: string[];
|
|
278
|
+
limitedUsers: string[];
|
|
279
|
+
disabledUsers: string[];
|
|
280
|
+
emptyHosts: string[];
|
|
281
|
+
emptyInternalSquads: string[];
|
|
282
|
+
};
|
|
256
283
|
happAnnounce: string | null;
|
|
257
284
|
happRouting: string | null;
|
|
258
|
-
expiredUsersRemarks: string[];
|
|
259
|
-
limitedUsersRemarks: string[];
|
|
260
|
-
disabledUsersRemarks: string[];
|
|
261
285
|
customResponseHeaders: Record<string, string> | null;
|
|
262
286
|
randomizeHosts: boolean;
|
|
263
287
|
responseRules: {
|
|
@@ -301,11 +325,15 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
301
325
|
serveJsonAtBaseSubscription: boolean;
|
|
302
326
|
addUsernameToBaseSubscription: boolean;
|
|
303
327
|
isShowCustomRemarks: boolean;
|
|
328
|
+
customRemarks: {
|
|
329
|
+
expiredUsers: string[];
|
|
330
|
+
limitedUsers: string[];
|
|
331
|
+
disabledUsers: string[];
|
|
332
|
+
emptyHosts: string[];
|
|
333
|
+
emptyInternalSquads: string[];
|
|
334
|
+
};
|
|
304
335
|
happAnnounce: string | null;
|
|
305
336
|
happRouting: string | null;
|
|
306
|
-
expiredUsersRemarks: string[];
|
|
307
|
-
limitedUsersRemarks: string[];
|
|
308
|
-
disabledUsersRemarks: string[];
|
|
309
337
|
customResponseHeaders: Record<string, string> | null;
|
|
310
338
|
randomizeHosts: boolean;
|
|
311
339
|
responseRules: {
|
|
@@ -349,11 +377,15 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
349
377
|
serveJsonAtBaseSubscription: boolean;
|
|
350
378
|
addUsernameToBaseSubscription: boolean;
|
|
351
379
|
isShowCustomRemarks: boolean;
|
|
380
|
+
customRemarks: {
|
|
381
|
+
expiredUsers: string[];
|
|
382
|
+
limitedUsers: string[];
|
|
383
|
+
disabledUsers: string[];
|
|
384
|
+
emptyHosts: string[];
|
|
385
|
+
emptyInternalSquads: string[];
|
|
386
|
+
};
|
|
352
387
|
happAnnounce: string | null;
|
|
353
388
|
happRouting: string | null;
|
|
354
|
-
expiredUsersRemarks: string[];
|
|
355
|
-
limitedUsersRemarks: string[];
|
|
356
|
-
disabledUsersRemarks: string[];
|
|
357
389
|
customResponseHeaders: Record<string, string> | null;
|
|
358
390
|
randomizeHosts: boolean;
|
|
359
391
|
responseRules: {
|
package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map
CHANGED
|
@@ -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
|
|
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"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts
CHANGED
|
@@ -11,12 +11,28 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
11
11
|
isProfileWebpageUrlEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
12
12
|
serveJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
13
13
|
addUsernameToBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
isShowCustomRemarks: z.ZodOptional<z.ZodBoolean>;
|
|
15
14
|
happAnnounce: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
15
|
happRouting: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
isShowCustomRemarks: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
customRemarks: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
19
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
20
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
21
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
22
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
expiredUsers: string[];
|
|
25
|
+
limitedUsers: string[];
|
|
26
|
+
disabledUsers: string[];
|
|
27
|
+
emptyHosts: string[];
|
|
28
|
+
emptyInternalSquads: string[];
|
|
29
|
+
}, {
|
|
30
|
+
expiredUsers: string[];
|
|
31
|
+
limitedUsers: string[];
|
|
32
|
+
disabledUsers: string[];
|
|
33
|
+
emptyHosts: string[];
|
|
34
|
+
emptyInternalSquads: string[];
|
|
35
|
+
}>>;
|
|
20
36
|
customResponseHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
21
37
|
randomizeHosts: z.ZodOptional<z.ZodBoolean>;
|
|
22
38
|
responseRules: z.ZodOptional<z.ZodObject<{
|
|
@@ -202,11 +218,15 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
202
218
|
serveJsonAtBaseSubscription?: boolean | undefined;
|
|
203
219
|
addUsernameToBaseSubscription?: boolean | undefined;
|
|
204
220
|
isShowCustomRemarks?: boolean | undefined;
|
|
221
|
+
customRemarks?: {
|
|
222
|
+
expiredUsers: string[];
|
|
223
|
+
limitedUsers: string[];
|
|
224
|
+
disabledUsers: string[];
|
|
225
|
+
emptyHosts: string[];
|
|
226
|
+
emptyInternalSquads: string[];
|
|
227
|
+
} | undefined;
|
|
205
228
|
happAnnounce?: string | null | undefined;
|
|
206
229
|
happRouting?: string | null | undefined;
|
|
207
|
-
expiredUsersRemarks?: string[] | undefined;
|
|
208
|
-
limitedUsersRemarks?: string[] | undefined;
|
|
209
|
-
disabledUsersRemarks?: string[] | undefined;
|
|
210
230
|
customResponseHeaders?: Record<string, string> | undefined;
|
|
211
231
|
randomizeHosts?: boolean | undefined;
|
|
212
232
|
responseRules?: {
|
|
@@ -246,11 +266,15 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
246
266
|
serveJsonAtBaseSubscription?: boolean | undefined;
|
|
247
267
|
addUsernameToBaseSubscription?: boolean | undefined;
|
|
248
268
|
isShowCustomRemarks?: boolean | undefined;
|
|
269
|
+
customRemarks?: {
|
|
270
|
+
expiredUsers: string[];
|
|
271
|
+
limitedUsers: string[];
|
|
272
|
+
disabledUsers: string[];
|
|
273
|
+
emptyHosts: string[];
|
|
274
|
+
emptyInternalSquads: string[];
|
|
275
|
+
} | undefined;
|
|
249
276
|
happAnnounce?: string | null | undefined;
|
|
250
277
|
happRouting?: string | null | undefined;
|
|
251
|
-
expiredUsersRemarks?: string[] | undefined;
|
|
252
|
-
limitedUsersRemarks?: string[] | undefined;
|
|
253
|
-
disabledUsersRemarks?: string[] | undefined;
|
|
254
278
|
customResponseHeaders?: Record<string, string> | undefined;
|
|
255
279
|
randomizeHosts?: boolean | undefined;
|
|
256
280
|
responseRules?: {
|
|
@@ -293,11 +317,27 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
293
317
|
serveJsonAtBaseSubscription: z.ZodBoolean;
|
|
294
318
|
addUsernameToBaseSubscription: z.ZodBoolean;
|
|
295
319
|
isShowCustomRemarks: z.ZodBoolean;
|
|
320
|
+
customRemarks: z.ZodObject<{
|
|
321
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
322
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
323
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
324
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
325
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
326
|
+
}, "strip", z.ZodTypeAny, {
|
|
327
|
+
expiredUsers: string[];
|
|
328
|
+
limitedUsers: string[];
|
|
329
|
+
disabledUsers: string[];
|
|
330
|
+
emptyHosts: string[];
|
|
331
|
+
emptyInternalSquads: string[];
|
|
332
|
+
}, {
|
|
333
|
+
expiredUsers: string[];
|
|
334
|
+
limitedUsers: string[];
|
|
335
|
+
disabledUsers: string[];
|
|
336
|
+
emptyHosts: string[];
|
|
337
|
+
emptyInternalSquads: string[];
|
|
338
|
+
}>;
|
|
296
339
|
happAnnounce: z.ZodNullable<z.ZodString>;
|
|
297
340
|
happRouting: z.ZodNullable<z.ZodString>;
|
|
298
|
-
expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
299
|
-
limitedUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
300
|
-
disabledUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
301
341
|
customResponseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
302
342
|
randomizeHosts: z.ZodBoolean;
|
|
303
343
|
responseRules: z.ZodNullable<z.ZodObject<{
|
|
@@ -487,11 +527,15 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
487
527
|
serveJsonAtBaseSubscription: boolean;
|
|
488
528
|
addUsernameToBaseSubscription: boolean;
|
|
489
529
|
isShowCustomRemarks: boolean;
|
|
530
|
+
customRemarks: {
|
|
531
|
+
expiredUsers: string[];
|
|
532
|
+
limitedUsers: string[];
|
|
533
|
+
disabledUsers: string[];
|
|
534
|
+
emptyHosts: string[];
|
|
535
|
+
emptyInternalSquads: string[];
|
|
536
|
+
};
|
|
490
537
|
happAnnounce: string | null;
|
|
491
538
|
happRouting: string | null;
|
|
492
|
-
expiredUsersRemarks: string[];
|
|
493
|
-
limitedUsersRemarks: string[];
|
|
494
|
-
disabledUsersRemarks: string[];
|
|
495
539
|
customResponseHeaders: Record<string, string> | null;
|
|
496
540
|
randomizeHosts: boolean;
|
|
497
541
|
responseRules: {
|
|
@@ -533,11 +577,15 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
533
577
|
serveJsonAtBaseSubscription: boolean;
|
|
534
578
|
addUsernameToBaseSubscription: boolean;
|
|
535
579
|
isShowCustomRemarks: boolean;
|
|
580
|
+
customRemarks: {
|
|
581
|
+
expiredUsers: string[];
|
|
582
|
+
limitedUsers: string[];
|
|
583
|
+
disabledUsers: string[];
|
|
584
|
+
emptyHosts: string[];
|
|
585
|
+
emptyInternalSquads: string[];
|
|
586
|
+
};
|
|
536
587
|
happAnnounce: string | null;
|
|
537
588
|
happRouting: string | null;
|
|
538
|
-
expiredUsersRemarks: string[];
|
|
539
|
-
limitedUsersRemarks: string[];
|
|
540
|
-
disabledUsersRemarks: string[];
|
|
541
589
|
customResponseHeaders: Record<string, string> | null;
|
|
542
590
|
randomizeHosts: boolean;
|
|
543
591
|
responseRules: {
|
|
@@ -581,11 +629,15 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
581
629
|
serveJsonAtBaseSubscription: boolean;
|
|
582
630
|
addUsernameToBaseSubscription: boolean;
|
|
583
631
|
isShowCustomRemarks: boolean;
|
|
632
|
+
customRemarks: {
|
|
633
|
+
expiredUsers: string[];
|
|
634
|
+
limitedUsers: string[];
|
|
635
|
+
disabledUsers: string[];
|
|
636
|
+
emptyHosts: string[];
|
|
637
|
+
emptyInternalSquads: string[];
|
|
638
|
+
};
|
|
584
639
|
happAnnounce: string | null;
|
|
585
640
|
happRouting: string | null;
|
|
586
|
-
expiredUsersRemarks: string[];
|
|
587
|
-
limitedUsersRemarks: string[];
|
|
588
|
-
disabledUsersRemarks: string[];
|
|
589
641
|
customResponseHeaders: Record<string, string> | null;
|
|
590
642
|
randomizeHosts: boolean;
|
|
591
643
|
responseRules: {
|
|
@@ -629,11 +681,15 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
629
681
|
serveJsonAtBaseSubscription: boolean;
|
|
630
682
|
addUsernameToBaseSubscription: boolean;
|
|
631
683
|
isShowCustomRemarks: boolean;
|
|
684
|
+
customRemarks: {
|
|
685
|
+
expiredUsers: string[];
|
|
686
|
+
limitedUsers: string[];
|
|
687
|
+
disabledUsers: string[];
|
|
688
|
+
emptyHosts: string[];
|
|
689
|
+
emptyInternalSquads: string[];
|
|
690
|
+
};
|
|
632
691
|
happAnnounce: string | null;
|
|
633
692
|
happRouting: string | null;
|
|
634
|
-
expiredUsersRemarks: string[];
|
|
635
|
-
limitedUsersRemarks: string[];
|
|
636
|
-
disabledUsersRemarks: string[];
|
|
637
693
|
customResponseHeaders: Record<string, string> | null;
|
|
638
694
|
randomizeHosts: boolean;
|
|
639
695
|
responseRules: {
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map
CHANGED
|
@@ -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;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqCxB,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"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.js
CHANGED
|
@@ -18,15 +18,13 @@ var UpdateSubscriptionSettingsCommand;
|
|
|
18
18
|
isProfileWebpageUrlEnabled: zod_1.z.optional(zod_1.z.boolean()),
|
|
19
19
|
serveJsonAtBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
|
|
20
20
|
addUsernameToBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
|
|
21
|
-
isShowCustomRemarks: zod_1.z.optional(zod_1.z.boolean()),
|
|
22
21
|
happAnnounce: zod_1.z.optional(zod_1.z
|
|
23
22
|
.string()
|
|
24
23
|
.max(200, { message: 'Announce must be less than 200 characters' })
|
|
25
24
|
.nullable()),
|
|
26
25
|
happRouting: zod_1.z.optional(zod_1.z.string().nullable()),
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
disabledUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
|
26
|
+
isShowCustomRemarks: zod_1.z.optional(zod_1.z.boolean()),
|
|
27
|
+
customRemarks: zod_1.z.optional(models_1.CustomRemarksSchema),
|
|
30
28
|
customResponseHeaders: zod_1.z.optional(zod_1.z.record(zod_1.z
|
|
31
29
|
.string()
|
|
32
30
|
.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())),
|
|
@@ -85,6 +85,25 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
85
85
|
fallbackDeviceLimit: number;
|
|
86
86
|
maxDevicesAnnounce: string | null;
|
|
87
87
|
}>>;
|
|
88
|
+
customRemarks: z.ZodNullable<z.ZodObject<{
|
|
89
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
90
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
91
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
92
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
93
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
expiredUsers: string[];
|
|
96
|
+
limitedUsers: string[];
|
|
97
|
+
disabledUsers: string[];
|
|
98
|
+
emptyHosts: string[];
|
|
99
|
+
emptyInternalSquads: string[];
|
|
100
|
+
}, {
|
|
101
|
+
expiredUsers: string[];
|
|
102
|
+
limitedUsers: string[];
|
|
103
|
+
disabledUsers: string[];
|
|
104
|
+
emptyHosts: string[];
|
|
105
|
+
emptyInternalSquads: string[];
|
|
106
|
+
}>>;
|
|
88
107
|
createdAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
89
108
|
updatedAt: z.ZodEffects<z.ZodString, Date, string>;
|
|
90
109
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -93,6 +112,13 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
93
112
|
updatedAt: Date;
|
|
94
113
|
name: string;
|
|
95
114
|
viewPosition: number;
|
|
115
|
+
customRemarks: {
|
|
116
|
+
expiredUsers: string[];
|
|
117
|
+
limitedUsers: string[];
|
|
118
|
+
disabledUsers: string[];
|
|
119
|
+
emptyHosts: string[];
|
|
120
|
+
emptyInternalSquads: string[];
|
|
121
|
+
} | null;
|
|
96
122
|
hwidSettings: {
|
|
97
123
|
enabled: boolean;
|
|
98
124
|
fallbackDeviceLimit: number;
|
|
@@ -128,6 +154,13 @@ export declare const ExternalSquadSchema: z.ZodObject<{
|
|
|
128
154
|
updatedAt: string;
|
|
129
155
|
name: string;
|
|
130
156
|
viewPosition: number;
|
|
157
|
+
customRemarks: {
|
|
158
|
+
expiredUsers: string[];
|
|
159
|
+
limitedUsers: string[];
|
|
160
|
+
disabledUsers: string[];
|
|
161
|
+
emptyHosts: string[];
|
|
162
|
+
emptyInternalSquads: string[];
|
|
163
|
+
} | null;
|
|
131
164
|
hwidSettings: {
|
|
132
165
|
enabled: boolean;
|
|
133
166
|
fallbackDeviceLimit: number;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6B9B,CAAC"}
|
|
@@ -3,7 +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
|
|
6
|
+
const subscription_settings_1 = require("./subscription-settings");
|
|
7
7
|
const constants_1 = require("../constants");
|
|
8
8
|
exports.ExternalSquadSchema = zod_1.z.object({
|
|
9
9
|
uuid: zod_1.z.string().uuid(),
|
|
@@ -19,7 +19,8 @@ exports.ExternalSquadSchema = zod_1.z.object({
|
|
|
19
19
|
subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
|
|
20
20
|
hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
|
|
21
21
|
responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
|
|
22
|
-
hwidSettings: zod_1.z.nullable(
|
|
22
|
+
hwidSettings: zod_1.z.nullable(subscription_settings_1.HwidSettingsSchema),
|
|
23
|
+
customRemarks: zod_1.z.nullable(subscription_settings_1.CustomRemarksSchema),
|
|
23
24
|
createdAt: zod_1.z
|
|
24
25
|
.string()
|
|
25
26
|
.datetime()
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const CustomRemarksSchema: z.ZodObject<{
|
|
3
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
4
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
5
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
6
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
7
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
expiredUsers: string[];
|
|
10
|
+
limitedUsers: string[];
|
|
11
|
+
disabledUsers: string[];
|
|
12
|
+
emptyHosts: string[];
|
|
13
|
+
emptyInternalSquads: string[];
|
|
14
|
+
}, {
|
|
15
|
+
expiredUsers: string[];
|
|
16
|
+
limitedUsers: string[];
|
|
17
|
+
disabledUsers: string[];
|
|
18
|
+
emptyHosts: string[];
|
|
19
|
+
emptyInternalSquads: string[];
|
|
20
|
+
}>;
|
|
21
|
+
export type TCustomRemarks = z.infer<typeof CustomRemarksSchema>;
|
|
22
|
+
//# sourceMappingURL=custom-remarks.schema.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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.CustomRemarksSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.CustomRemarksSchema = zod_1.default.object({
|
|
9
|
+
expiredUsers: zod_1.default.array(zod_1.default.string()).min(1),
|
|
10
|
+
limitedUsers: zod_1.default.array(zod_1.default.string()).min(1),
|
|
11
|
+
disabledUsers: zod_1.default.array(zod_1.default.string()).min(1),
|
|
12
|
+
emptyHosts: zod_1.default.array(zod_1.default.string()).min(1),
|
|
13
|
+
emptyInternalSquads: zod_1.default.array(zod_1.default.string()).min(1),
|
|
14
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../models/subscription-settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../models/subscription-settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC"}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./custom-remarks.schema"), exports);
|
|
17
18
|
__exportStar(require("./hwid-settings.schema"), exports);
|
|
@@ -8,11 +8,27 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
8
8
|
serveJsonAtBaseSubscription: z.ZodBoolean;
|
|
9
9
|
addUsernameToBaseSubscription: z.ZodBoolean;
|
|
10
10
|
isShowCustomRemarks: z.ZodBoolean;
|
|
11
|
+
customRemarks: z.ZodObject<{
|
|
12
|
+
expiredUsers: z.ZodArray<z.ZodString, "many">;
|
|
13
|
+
limitedUsers: z.ZodArray<z.ZodString, "many">;
|
|
14
|
+
disabledUsers: z.ZodArray<z.ZodString, "many">;
|
|
15
|
+
emptyHosts: z.ZodArray<z.ZodString, "many">;
|
|
16
|
+
emptyInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
expiredUsers: string[];
|
|
19
|
+
limitedUsers: string[];
|
|
20
|
+
disabledUsers: string[];
|
|
21
|
+
emptyHosts: string[];
|
|
22
|
+
emptyInternalSquads: string[];
|
|
23
|
+
}, {
|
|
24
|
+
expiredUsers: string[];
|
|
25
|
+
limitedUsers: string[];
|
|
26
|
+
disabledUsers: string[];
|
|
27
|
+
emptyHosts: string[];
|
|
28
|
+
emptyInternalSquads: string[];
|
|
29
|
+
}>;
|
|
11
30
|
happAnnounce: z.ZodNullable<z.ZodString>;
|
|
12
31
|
happRouting: z.ZodNullable<z.ZodString>;
|
|
13
|
-
expiredUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
14
|
-
limitedUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
15
|
-
disabledUsersRemarks: z.ZodArray<z.ZodString, "many">;
|
|
16
32
|
customResponseHeaders: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
17
33
|
randomizeHosts: z.ZodBoolean;
|
|
18
34
|
responseRules: z.ZodNullable<z.ZodObject<{
|
|
@@ -202,11 +218,15 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
202
218
|
serveJsonAtBaseSubscription: boolean;
|
|
203
219
|
addUsernameToBaseSubscription: boolean;
|
|
204
220
|
isShowCustomRemarks: boolean;
|
|
221
|
+
customRemarks: {
|
|
222
|
+
expiredUsers: string[];
|
|
223
|
+
limitedUsers: string[];
|
|
224
|
+
disabledUsers: string[];
|
|
225
|
+
emptyHosts: string[];
|
|
226
|
+
emptyInternalSquads: string[];
|
|
227
|
+
};
|
|
205
228
|
happAnnounce: string | null;
|
|
206
229
|
happRouting: string | null;
|
|
207
|
-
expiredUsersRemarks: string[];
|
|
208
|
-
limitedUsersRemarks: string[];
|
|
209
|
-
disabledUsersRemarks: string[];
|
|
210
230
|
customResponseHeaders: Record<string, string> | null;
|
|
211
231
|
randomizeHosts: boolean;
|
|
212
232
|
responseRules: {
|
|
@@ -248,11 +268,15 @@ export declare const SubscriptionSettingsSchema: z.ZodObject<{
|
|
|
248
268
|
serveJsonAtBaseSubscription: boolean;
|
|
249
269
|
addUsernameToBaseSubscription: boolean;
|
|
250
270
|
isShowCustomRemarks: boolean;
|
|
271
|
+
customRemarks: {
|
|
272
|
+
expiredUsers: string[];
|
|
273
|
+
limitedUsers: string[];
|
|
274
|
+
disabledUsers: string[];
|
|
275
|
+
emptyHosts: string[];
|
|
276
|
+
emptyInternalSquads: string[];
|
|
277
|
+
};
|
|
251
278
|
happAnnounce: string | null;
|
|
252
279
|
happRouting: string | null;
|
|
253
|
-
expiredUsersRemarks: string[];
|
|
254
|
-
limitedUsersRemarks: string[];
|
|
255
|
-
disabledUsersRemarks: string[];
|
|
256
280
|
customResponseHeaders: Record<string, string> | null;
|
|
257
281
|
randomizeHosts: boolean;
|
|
258
282
|
responseRules: {
|
|
@@ -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;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCrC,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 custom_remarks_schema_1 = require("./subscription-settings/custom-remarks.schema");
|
|
5
6
|
const hwid_settings_schema_1 = require("./subscription-settings/hwid-settings.schema");
|
|
6
7
|
const response_rules_1 = require("./response-rules");
|
|
7
8
|
exports.SubscriptionSettingsSchema = zod_1.z.object({
|
|
@@ -16,11 +17,9 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
|
|
|
16
17
|
serveJsonAtBaseSubscription: zod_1.z.boolean(),
|
|
17
18
|
addUsernameToBaseSubscription: zod_1.z.boolean(),
|
|
18
19
|
isShowCustomRemarks: zod_1.z.boolean(),
|
|
20
|
+
customRemarks: custom_remarks_schema_1.CustomRemarksSchema,
|
|
19
21
|
happAnnounce: zod_1.z.string().nullable(),
|
|
20
22
|
happRouting: zod_1.z.string().nullable(),
|
|
21
|
-
expiredUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
|
22
|
-
limitedUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
|
23
|
-
disabledUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
|
24
23
|
customResponseHeaders: zod_1.z.nullable(zod_1.z.record(zod_1.z.string(), zod_1.z.string())),
|
|
25
24
|
randomizeHosts: zod_1.z.boolean(),
|
|
26
25
|
responseRules: zod_1.z.nullable(response_rules_1.ResponseRulesConfigSchema),
|
|
@@ -28,6 +28,7 @@ var UpdateExternalSquadCommand;
|
|
|
28
28
|
hostOverrides: models_1.ExternalSquadHostOverridesSchema.optional(),
|
|
29
29
|
responseHeaders: models_1.ExternalSquadResponseHeadersSchema.optional(),
|
|
30
30
|
hwidSettings: zod_1.z.optional(zod_1.z.nullable(models_1.HwidSettingsSchema)),
|
|
31
|
+
customRemarks: zod_1.z.optional(zod_1.z.nullable(models_1.CustomRemarksSchema)),
|
|
31
32
|
});
|
|
32
33
|
UpdateExternalSquadCommand.ResponseSchema = zod_1.z.object({
|
|
33
34
|
response: models_1.ExternalSquadSchema,
|
package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js
CHANGED
|
@@ -18,15 +18,13 @@ var UpdateSubscriptionSettingsCommand;
|
|
|
18
18
|
isProfileWebpageUrlEnabled: zod_1.z.optional(zod_1.z.boolean()),
|
|
19
19
|
serveJsonAtBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
|
|
20
20
|
addUsernameToBaseSubscription: zod_1.z.optional(zod_1.z.boolean()),
|
|
21
|
-
isShowCustomRemarks: zod_1.z.optional(zod_1.z.boolean()),
|
|
22
21
|
happAnnounce: zod_1.z.optional(zod_1.z
|
|
23
22
|
.string()
|
|
24
23
|
.max(200, { message: 'Announce must be less than 200 characters' })
|
|
25
24
|
.nullable()),
|
|
26
25
|
happRouting: zod_1.z.optional(zod_1.z.string().nullable()),
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
disabledUsersRemarks: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
|
26
|
+
isShowCustomRemarks: zod_1.z.optional(zod_1.z.boolean()),
|
|
27
|
+
customRemarks: zod_1.z.optional(models_1.CustomRemarksSchema),
|
|
30
28
|
customResponseHeaders: zod_1.z.optional(zod_1.z.record(zod_1.z
|
|
31
29
|
.string()
|
|
32
30
|
.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())),
|
|
@@ -3,7 +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
|
|
6
|
+
const subscription_settings_1 = require("./subscription-settings");
|
|
7
7
|
const constants_1 = require("../constants");
|
|
8
8
|
exports.ExternalSquadSchema = zod_1.z.object({
|
|
9
9
|
uuid: zod_1.z.string().uuid(),
|
|
@@ -19,7 +19,8 @@ exports.ExternalSquadSchema = zod_1.z.object({
|
|
|
19
19
|
subscriptionSettings: zod_1.z.nullable(external_squads_1.ExternalSquadSubscriptionSettingsSchema),
|
|
20
20
|
hostOverrides: zod_1.z.nullable(external_squads_1.ExternalSquadHostOverridesSchema),
|
|
21
21
|
responseHeaders: external_squads_1.ExternalSquadResponseHeadersSchema,
|
|
22
|
-
hwidSettings: zod_1.z.nullable(
|
|
22
|
+
hwidSettings: zod_1.z.nullable(subscription_settings_1.HwidSettingsSchema),
|
|
23
|
+
customRemarks: zod_1.z.nullable(subscription_settings_1.CustomRemarksSchema),
|
|
23
24
|
createdAt: zod_1.z
|
|
24
25
|
.string()
|
|
25
26
|
.datetime()
|
|
@@ -0,0 +1,14 @@
|
|
|
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.CustomRemarksSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.CustomRemarksSchema = zod_1.default.object({
|
|
9
|
+
expiredUsers: zod_1.default.array(zod_1.default.string()).min(1),
|
|
10
|
+
limitedUsers: zod_1.default.array(zod_1.default.string()).min(1),
|
|
11
|
+
disabledUsers: zod_1.default.array(zod_1.default.string()).min(1),
|
|
12
|
+
emptyHosts: zod_1.default.array(zod_1.default.string()).min(1),
|
|
13
|
+
emptyInternalSquads: zod_1.default.array(zod_1.default.string()).min(1),
|
|
14
|
+
});
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./custom-remarks.schema"), exports);
|
|
17
18
|
__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 custom_remarks_schema_1 = require("./subscription-settings/custom-remarks.schema");
|
|
5
6
|
const hwid_settings_schema_1 = require("./subscription-settings/hwid-settings.schema");
|
|
6
7
|
const response_rules_1 = require("./response-rules");
|
|
7
8
|
exports.SubscriptionSettingsSchema = zod_1.z.object({
|
|
@@ -16,11 +17,9 @@ exports.SubscriptionSettingsSchema = zod_1.z.object({
|
|
|
16
17
|
serveJsonAtBaseSubscription: zod_1.z.boolean(),
|
|
17
18
|
addUsernameToBaseSubscription: zod_1.z.boolean(),
|
|
18
19
|
isShowCustomRemarks: zod_1.z.boolean(),
|
|
20
|
+
customRemarks: custom_remarks_schema_1.CustomRemarksSchema,
|
|
19
21
|
happAnnounce: zod_1.z.string().nullable(),
|
|
20
22
|
happRouting: zod_1.z.string().nullable(),
|
|
21
|
-
expiredUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
|
22
|
-
limitedUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
|
23
|
-
disabledUsersRemarks: zod_1.z.array(zod_1.z.string()),
|
|
24
23
|
customResponseHeaders: zod_1.z.nullable(zod_1.z.record(zod_1.z.string(), zod_1.z.string())),
|
|
25
24
|
randomizeHosts: zod_1.z.boolean(),
|
|
26
25
|
responseRules: zod_1.z.nullable(response_rules_1.ResponseRulesConfigSchema),
|